Revision 2aeedd2f
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
2188 | 2188 |
my $errors = []; |
2189 | 2189 |
my $db = $self->order->db; |
2190 | 2190 |
|
2191 |
if (scalar @{$self->order->items} == 0) { |
|
2192 |
return [t8('The action you\'ve chosen has not been executed because the document does not contain any item yet.')]; |
|
2193 |
} |
|
2194 |
|
|
2191 | 2195 |
# check for new or updated phone note |
2192 | 2196 |
if ($::form->{phone_note}->{subject} || $::form->{phone_note}->{body}) { |
2193 | 2197 |
if (!$::form->{phone_note}->{subject} || !$::form->{phone_note}->{body}) { |
Auch abrufbar als: Unified diff
Auftrags-Controller: Beleg ohne Positionen speichern nicht zulassen.