Revision af005b59
Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt
SL/Controller/Reclamation.pm | ||
---|---|---|
1750 | 1750 |
my $errors = []; |
1751 | 1751 |
my $db = $self->reclamation->db; |
1752 | 1752 |
|
1753 |
if (scalar @{$self->reclamation->items} == 0) { |
|
1754 |
return [t8('The action you\'ve chosen has not been executed because the document does not contain any item yet.')]; |
|
1755 |
} |
|
1756 |
|
|
1753 | 1757 |
$db->with_transaction(sub { |
1754 | 1758 |
my $validity_token; |
1755 | 1759 |
if (!$self->reclamation->id) { |
Auch abrufbar als: Unified diff
Reklamations-Controller: Beleg ohne Positionen speichern nicht zulassen.