Revision 192d9149
Von Bernd Bleßmann vor mehr als 1 Jahr 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) { |
|
1665 |
return [t8('The action you\'ve chosen has not been executed because the document does not contain any item yet.')]; |
|
1666 |
} |
|
1667 |
|
|
1664 | 1668 |
$db->with_transaction(sub { |
1665 | 1669 |
my $validity_token; |
1666 | 1670 |
if (!$self->order->id) { |
Auch abrufbar als: Unified diff
Lieferschein-Controller: Beleg ohne Positionen speichern nicht zulassen.