Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bd32b607

Von Philip Reetz vor fast 18 Jahren hinzugefügt

  • ID bd32b6070b6d73d60cb8df4a2425d0c711a96615
  • Vorgänger 04a2f2e7
  • Nachfolger d63831cb

Problem bei der Formatierung von Zahlungseingängen

Unterschiede anzeigen:

bin/mozilla/is.pl
1014 1014

  
1015 1015
    # format amounts
1016 1016
    $totalpaid += $form->{"paid_$i"};
1017
    $form->{"paid_$i"} =
1018
      $form->format_amount(\%myconfig, $form->{"paid_$i"}, 2);
1017
    if ($form->{"paid_$i"}) {
1018
      $form->{"paid_$i"} =
1019
        $form->format_amount(\%myconfig, $form->{"paid_$i"}, 2);
1020
    }
1019 1021
    $form->{"exchangerate_$i"} =
1020 1022
      $form->format_amount(\%myconfig, $form->{"exchangerate_$i"});
1021 1023

  
......
1179 1181
                         )));
1180 1182

  
1181 1183
  for $i (1 .. $form->{paidaccounts}) {
1182
    if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) {
1184
    if ($form->{"paid_$i"}) {
1183 1185
      map {
1184 1186
        $form->{"${_}_$i"} =
1185 1187
          $form->parse_amount(\%myconfig, $form->{"${_}_$i"})
......
1323 1325
sub post_payment {
1324 1326
  $lxdebug->enter_sub();
1325 1327
  for $i (1 .. $form->{paidaccounts}) {
1326
    if ($form->parse_amount(\%myconfig, $form->{"paid_$i"})) {
1328
    if ($form->{"paid_$i"}) {
1327 1329
      $datepaid = $form->datetonum($form->{"datepaid_$i"}, \%myconfig);
1328 1330

  
1329 1331
      $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));

Auch abrufbar als: Unified diff