Revision 71a46899
Von Bernd Bleßmann vor fast 10 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1472 | 1472 |
|
1473 | 1473 |
# bo creates the id, reset it |
1474 | 1474 |
map { delete $form->{$_} } qw(id subject message cc bcc printed emailed queued); |
1475 |
delete $form->{"orderitems_id_$_"} for 1 .. $form->{"rowcount"}; |
|
1475 | 1476 |
$form->{ $form->{vc} } =~ s/--.*//g; |
1476 | 1477 |
$form->{type} = "invoice"; |
1477 | 1478 |
|
... | ... | |
1891 | 1892 |
|
1892 | 1893 |
# reset |
1893 | 1894 |
delete @{$form}{qw(id subject message cc bcc printed emailed queued creditlimit creditremaining discount tradediscount oldinvtotal closed delivered)}; |
1895 |
delete $form->{"orderitems_id_$_"} for 1 .. $form->{"rowcount"}; |
|
1894 | 1896 |
|
1895 | 1897 |
for my $i (1 .. $form->{rowcount}) { |
1896 | 1898 |
map { $form->{"${_}_${i}"} = $form->parse_amount(\%myconfig, $form->{"${_}_${i}"}) if ($form->{"${_}_${i}"}) } qw(ship qty sellprice listprice lastcost basefactor discount); |
Auch abrufbar als: Unified diff
Beim Übergang Angebot/Auftrag auf Lieferschein/Rechnung orderitems_id_x löschen.