Revision 5d7a7cb5
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) { |
|
1753 |
if (scalar @{$self->reclamation->items} == 0 && !grep { $self->type eq $_ } @{$::instance_conf->get_allowed_documents_with_no_positions() || []}) {
|
|
1754 | 1754 |
return [t8('The action you\'ve chosen has not been executed because the document does not contain any item yet.')]; |
1755 | 1755 |
} |
1756 | 1756 |
|
Auch abrufbar als: Unified diff
"Beleg ohne Positionen speichern erlauben" in Mandantenkonfig einstellbar