Revision 5d7a7cb5
Von Bernd Bleßmann vor 11 Monaten hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
1661 | 1661 |
my $errors = []; |
1662 | 1662 |
my $db = $self->order->db; |
1663 | 1663 |
|
1664 |
if (scalar @{$self->order->items} == 0) { |
|
1664 |
if (scalar @{$self->order->items} == 0 && !grep { $self->type eq $_ } @{$::instance_conf->get_allowed_documents_with_no_positions() || []}) {
|
|
1665 | 1665 |
return [t8('The action you\'ve chosen has not been executed because the document does not contain any item yet.')]; |
1666 | 1666 |
} |
1667 | 1667 |
|
Auch abrufbar als: Unified diff
"Beleg ohne Positionen speichern erlauben" in Mandantenkonfig einstellbar