Revision 3b955bea
Von Jan Büren vor mehr als 3 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
397 | 397 |
action => [ t8('Print and Post'), |
398 | 398 |
call => [ 'kivi.SalesPurchase.show_print_dialog', $form->{id} ? 'print' : 'print_and_post' ], |
399 | 399 |
checks => [ 'kivi.validate_form' ], |
400 |
disabled => !$may_edit_create ? t8('You must not print this invoice.') |
|
401 |
: $form->{id} ? t8('This invoice has already been posted.') |
|
402 |
: undef,, |
|
400 |
disabled => !$may_edit_create ? t8('You must not change this invoice.') |
|
401 |
: $form->{locked} ? t8('The billing period has already been locked.') |
|
402 |
: $form->{storno} ? t8('A canceled invoice cannot be posted.') |
|
403 |
: ($form->{id} && $change_never) ? t8('Changing invoices has been disabled in the configuration.') |
|
404 |
: ($form->{id} && $change_on_same_day_only) ? t8('Invoices can only be changed on the day they are posted.') |
|
405 |
: $is_linked_bank_transaction ? t8('This transaction is linked with a bank transaction. Please undo and redo the bank transaction booking if needed.') |
|
406 |
: undef, |
|
403 | 407 |
], |
404 | 408 |
action => [ t8('E Mail'), |
405 | 409 |
call => [ 'kivi.SalesPurchase.show_email_dialog' ], |
Auch abrufbar als: Unified diff
Rechnungen: Drucken und Buchen muss dieselbe Restriktion wie Buchen haben
Ansonsten kommt der Anwender auf die Idee eine Gutschrift aus einer
Storno-Rechnung zu erzeugen, doch noch Belege in abgeschlossenen Perioden zu ändern usw