Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 86a638aa

Von Jan Büren vor etwa 2 Jahren hinzugefügt

  • ID 86a638aadddf6666d8a78f7500614ee1e75a5a80
  • Vorgänger eab8255b
  • Nachfolger e4efda35

Workflows Einkauf- und Verkaufsrechnung

Unterschiede anzeigen:

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