From 66e56cbefec339d0d239c66adf8a42daea01c912 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 2 Apr 2019 11:32:13 +0200 Subject: [PATCH] =?utf8?q?Dialogbuchung:=20Mehrfach-Stornos=20oder=20L?= =?utf8?q?=C3=B6schen=20von=20Stornos=20verbieten?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/gl.pl | 5 ++++- locale/de/all | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 5f65720b9..be52827d8 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -994,7 +994,9 @@ sub setup_gl_action_bar { action => [ t8('Storno'), submit => [ '#form', { action => 'storno' } ], confirm => t8('Do you really want to cancel this general ledger transaction?'), - disabled => !$form->{id} ? t8('This general ledger transaction has not been posted yet.') : undef, + disabled => !$form->{id} ? t8('This general ledger transaction has not been posted yet.') + : $form->{storno} ? t8('A canceled general ledger transaction cannot be canceled again.') + : undef, ], action => [ t8('Delete'), submit => [ '#form', { action => 'delete' } ], @@ -1004,6 +1006,7 @@ sub setup_gl_action_bar { : $change_never ? t8('Changing invoices has been disabled in the configuration.') : $change_on_same_day_only ? t8('Invoices can only be changed on the day they are posted.') : $is_linked_bank_transaction ? t8('This transaction is linked with a bank transaction. Please undo and redo the bank transaction booking if needed.') + : $form->{storno} ? t8('A canceled general ledger transaction cannot be deleted.') : undef, ], ], # end of combobox "Storno" diff --git a/locale/de/all b/locale/de/all index 4aa7b9aab..bb3b44558 100755 --- a/locale/de/all +++ b/locale/de/all @@ -52,6 +52,8 @@ $self->{texts} = { 'Automatically create new bins in the following warehouse if not selected in the list above' => 'Automatisches Zuweisen der Lagerplätze im folgenden Lager, falls keine andere Zuweisung oben ausgewählt ist. ', 'Default Bins Migration !READ CAREFULLY!' => 'Standardlagerplatz Migration !AUFMERKSAM LESEN!', 'What do you want to look for?' => 'Wonach wollen Sie suchen?', + 'A canceled general ledger transaction cannot be canceled again.' => 'Eine stornierte Dialogbuchung kann nicht erneut storniert werden.', + 'A canceled general ledger transaction cannot be deleted.' => 'Eine stornierte Dialogbuchung kann nicht gelöscht werden.', 'A canceled general ledger transaction cannot be posted.' => 'Eine stornierte Dialogbuchung kann nicht mehr gebucht werden.', 'A canceled invoice cannot be posted.' => 'Eine stornierte Rechnung kann nicht mehr gebucht werden.', 'A digit is required.' => 'Eine Ziffer ist vorgeschrieben.', -- 2.20.1