]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Controller/EmailJournal.pm
GDPDU: Steuerdaten konsistent halten, Zahlenformatierung
[kivitendo-erp.git] / SL / Controller / EmailJournal.pm
index 69a155802e254aa082f8d39537978664682406e1..551214e2519b0299075ad4932367c7eadcb0bf45 100644 (file)
@@ -28,7 +28,7 @@ sub action_list {
   my ($self) = @_;
 
   if ( $::instance_conf->get_email_journal == 0 ) {
-      flash('info',  $::locale->text('In client config the mail saving into the journal is actual disabled.'));
+    flash('info',  $::locale->text('Storing the emails in the journal is currently disabled in the client configuration.'));
   }
   $self->render('email_journal/list',
                 title   => $::locale->text('Email journal'),
@@ -43,7 +43,7 @@ sub action_show {
 
   $self->entry(SL::DB::EmailJournal->new(id => $::form->{id})->load);
 
-  if (!$self->can_view_all && ($self->entry->sender_id != SL::DB::Manager::Emplyee->current->id)) {
+  if (!$self->can_view_all && ($self->entry->sender_id != SL::DB::Manager::Employee->current->id)) {
     $::form->error(t8('You do not have permission to access this entry.'));
   }
 
@@ -57,7 +57,7 @@ sub action_download_attachment {
 
   my $attachment = SL::DB::EmailJournalAttachment->new(id => $::form->{id})->load;
 
-  if (!$self->can_view_all && ($attachment->email_journal->sender_id != SL::DB::Manager::Emplyee->current->id)) {
+  if (!$self->can_view_all && ($attachment->email_journal->sender_id != SL::DB::Manager::Employee->current->id)) {
     $::form->error(t8('You do not have permission to access this entry.'));
   }