Revision b36f6606
Von Kivitendo Admin vor etwa 10 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1344 | 1344 |
if (OE->delete(\%myconfig, \%$form)){ |
1345 | 1345 |
# saving the history |
1346 | 1346 |
if(!exists $form->{addition}) { |
1347 |
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber}; |
|
1348 |
$form->{addition} = "DELETED"; |
|
1349 |
$form->save_history; |
|
1347 |
if ( $form->{formname} eq 'sales_quotation' or $form->{formname} eq 'request_quotation' ) { |
|
1348 |
$form->{snumbers} = qq|quonumber_| . $form->{quonumber}; |
|
1349 |
} elsif ( $form->{formname} eq 'sales_order' or $form->{formname} eq 'purchase_order') { |
|
1350 |
$form->{snumbers} = qq|ordnumber_| . $form->{ordnumber}; |
|
1351 |
}; |
|
1352 |
$form->{what_done} = $form->{formname}; |
|
1353 |
$form->{addition} = "DELETED"; |
|
1354 |
$form->save_history; |
|
1350 | 1355 |
} |
1351 | 1356 |
# /saving the history |
1352 | 1357 |
$form->info($msg); |
Auch abrufbar als: Unified diff
Löschen von Angeboten/Aufträgen protokollieren
Berücksichtigt jetzt auch Angebote in history_erp.