Revision 0af1d584
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1388 | 1388 |
|
1389 | 1389 |
my $is_storno = IS->is_storno(\%::myconfig, $::form, 'ap', $::form->{id}); |
1390 | 1390 |
my $has_storno = IS->has_storno(\%::myconfig, $::form, 'ap'); |
1391 |
my $has_hard_links = IS->has_hard_links(\%::myconfig, $::form, 'ap'); |
|
1391 | 1392 |
|
1392 | 1393 |
my $may_edit_create = $::auth->assert('ap_transactions', 1); |
1393 | 1394 |
|
... | ... | |
1515 | 1516 |
: $change_never ? t8('Changing invoices has been disabled in the configuration.') |
1516 | 1517 |
: $change_on_same_day_only ? t8('Invoices can only be changed on the day they are posted.') |
1517 | 1518 |
: $has_storno ? t8('This invoice has been canceled already.') |
1519 |
: $has_hard_links ? t8('This invoice has hard links. Please delete them first.') |
|
1518 | 1520 |
: undef, |
1519 | 1521 |
], |
1520 | 1522 |
], # end of combobox "Storno" |
Auch abrufbar als: Unified diff
Deaktiviere Löschen-Button bei festen Verknüpfungen (order, ap)