Revision 94a32127
Von Jan Büren vor mehr als 6 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
941 | 941 |
my $form = $main::form; |
942 | 942 |
my %myconfig = %main::myconfig; |
943 | 943 |
my $locale = $main::locale; |
944 |
|
|
945 |
if (DO->delete()) { |
|
944 |
my $ret; |
|
945 |
if ($ret = DO->delete()) {
|
|
946 | 946 |
# saving the history |
947 | 947 |
if(!exists $form->{addition}) { |
948 | 948 |
$form->{snumbers} = qq|donumber_| . $form->{donumber}; |
... | ... | |
955 | 955 |
$::dispatcher->end_request; |
956 | 956 |
} |
957 | 957 |
|
958 |
$form->error($locale->text('Cannot delete delivery order!')); |
|
958 |
$form->error($locale->text('Cannot delete delivery order!') . $ret);
|
|
959 | 959 |
|
960 | 960 |
$main::lxdebug->leave_sub(); |
961 | 961 |
} |
Auch abrufbar als: Unified diff
Lieferschein löschen, mehr Rückmeldungen an die Oberfläche im Fehlerfall