Revision a8209e39
Von Jan Büren vor etwa 3 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
338 | 338 |
checks => [ 'kivi.validate_form' ], |
339 | 339 |
disabled => !$may_edit_create ? t8('You must not change this invoice.') |
340 | 340 |
: !$form->{id} ? t8('This invoice has not been posted yet.') |
341 |
: $form->{storno} ? t8('Cannot storno storno invoice!') |
|
342 |
: $form->{locked} ? t8('The billing period has already been locked.') |
|
341 | 343 |
: !$payments_balanced ? t8('Cancelling is disallowed. Either undo or balance the current payments until the open amount matches the invoice amount') |
342 | 344 |
: undef, |
343 | 345 |
], |
... | ... | |
374 | 376 |
disabled => !$may_edit_create ? t8('You must not change this invoice.') |
375 | 377 |
: $form->{type} eq "credit_note" ? t8('Credit notes cannot be converted into other credit notes.') |
376 | 378 |
: !$form->{id} ? t8('This invoice has not been posted yet.') |
379 |
: $form->{storno} ? t8('A canceled invoice cannot be used. Please undo the cancellation first.') |
|
377 | 380 |
: undef, |
378 | 381 |
], |
379 | 382 |
action => [ |
Auch abrufbar als: Unified diff
VK-Rechnung: ActionButtons direkt ausgrauen, falls die Aktion nicht erlaubt ist