Revision 0af1d584
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
|
||
my $is_storno = IS->is_storno(\%::myconfig, $::form, 'ap', $::form->{id});
|
||
my $has_storno = IS->has_storno(\%::myconfig, $::form, 'ap');
|
||
my $has_hard_links = IS->has_hard_links(\%::myconfig, $::form, 'ap');
|
||
|
||
my $may_edit_create = $::auth->assert('ap_transactions', 1);
|
||
|
||
... | ... | |
: $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.')
|
||
: $has_storno ? t8('This invoice has been canceled already.')
|
||
: $has_hard_links ? t8('This invoice has hard links. Please delete them first.')
|
||
: undef,
|
||
],
|
||
], # end of combobox "Storno"
|
Auch abrufbar als: Unified diff
Deaktiviere Löschen-Button bei festen Verknüpfungen (order, ap)