Revision 86a638aa
Von Jan Büren vor etwa 2 Jahren hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
813 | 813 |
$form->{invnumber} = "Storno zu " . $form->{invnumber}; |
814 | 814 |
$form->{rowcount}++; |
815 | 815 |
$form->{employee_id} = $employee_id; |
816 |
# post expects the field as user input |
|
817 |
$form->{exchangerate} = $form->format_amount(\%myconfig, $form->{exchangerate}); |
|
818 |
|
|
816 | 819 |
post(); |
817 | 820 |
$main::lxdebug->leave_sub(); |
818 | 821 |
|
... | ... | |
833 | 836 |
|
834 | 837 |
$form->{"converted_from_invoice_id_$_"} = delete $form->{"invoice_id_$_"} for 1 .. $form->{"rowcount"}; |
835 | 838 |
|
839 |
$form->{exchangerate} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, 'sell'); |
|
836 | 840 |
$form->{useasnew} = 1; |
837 | 841 |
&display_form; |
838 | 842 |
|
bin/mozilla/is.pl | ||
---|---|---|
1367 | 1367 |
$form->{"converted_from_invoice_id_$_"} = delete $form->{"invoice_id_$_"} for 1 .. $form->{"rowcount"}; |
1368 | 1368 |
|
1369 | 1369 |
$form->{form_validity_token} = SL::DB::ValidityToken->create(scope => SL::DB::ValidityToken::SCOPE_SALES_INVOICE_POST())->token; |
1370 |
|
|
1370 |
# post expects the field as user input |
|
1371 |
$form->{exchangerate} = $form->format_amount(\%myconfig, $form->{exchangerate}); |
|
1372 |
$form->{script} = 'is.pl'; |
|
1371 | 1373 |
post(); |
1372 | 1374 |
$main::lxdebug->leave_sub(); |
1373 | 1375 |
} |
Auch abrufbar als: Unified diff
Workflows Einkauf- und Verkaufsrechnung