Revision 0b43c015
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
1264 | 1264 |
$form->{employee_id} = SL::DB::Manager::Employee->current->id; |
1265 | 1265 |
$form->{forex} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, 'buy'); |
1266 | 1266 |
$form->{exchangerate} = $form->{forex} if $form->{forex}; |
1267 |
$form->{form_validity_token} = SL::DB::ValidityToken->create(scope => SL::DB::ValidityToken::SCOPE_SALES_INVOICE_POST())->token; |
|
1267 | 1268 |
|
1268 | 1269 |
$form->{"converted_from_invoice_id_$_"} = delete $form->{"invoice_id_$_"} for 1 .. $form->{"rowcount"}; |
1269 | 1270 |
|
... | ... | |
1291 | 1292 |
$form->{employee_id} = SL::DB::Manager::Employee->current->id; |
1292 | 1293 |
$form->{forex} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{invdate}, 'buy'); |
1293 | 1294 |
$form->{exchangerate} = $form->{forex} if $form->{forex}; |
1295 |
$form->{form_validity_token} = SL::DB::ValidityToken->create(scope => SL::DB::ValidityToken::SCOPE_SALES_INVOICE_POST())->token; |
|
1294 | 1296 |
|
1295 | 1297 |
foreach my $i (1 .. $form->{"rowcount"}) { |
1296 | 1298 |
delete $form->{"id_$i"}; |
Auch abrufbar als: Unified diff
Anzahlungs-Rechnung: Gültigkeitstoken WF Anzahlungsrechnung/Schlussrechnung
Behebt #534 (redmine)