Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9e06d0e4

Von Philip Reetz vor mehr als 16 Jahren hinzugefügt

  • ID 9e06d0e40cb328336d6e7604ec06387a0e3b1ea7
  • Vorgänger 1d089d50
  • Nachfolger 57eb1337

Ueberarbeitete Buecherkontrolle

Unterschiede anzeigen:

bin/mozilla/ap.pl
948 948
      $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
949 949

  
950 950
      $form->error($locale->text('Cannot post payment for a closed period!'))
951
        if ($datepaid <= $closedto);
951
        if ($form->date_closed($form->{"datepaid_$i"}, \%myconfig));
952 952

  
953 953
      if ($form->{currency} ne $form->{defaultcurrency}) {
954 954
        $form->{"exchangerate_$i"} = $form->{exchangerate}
......
982 982

  
983 983
  $closedto  = $form->datetonum($form->{closedto},  \%myconfig);
984 984
  $transdate = $form->datetonum($form->{transdate}, \%myconfig);
985
  $form->error($locale->text('Cannot post transaction for a closed period!')) if ($transdate <= $closedto);
985
  $form->error($locale->text('Cannot post transaction for a closed period!')) if ($form->date_closed($form->{"transdate"}, \%myconfig));
986 986

  
987 987
  my $zero_amount_posting = 1;
988 988
  for $i (1 .. $form->{rowcount}) {
......
1005 1005
      $form->isblank("datepaid_$i", $locale->text('Payment date missing!'));
1006 1006

  
1007 1007
      $form->error($locale->text('Cannot post payment for a closed period!'))
1008
        if ($datepaid <= $closedto);
1008
        if ($form->date_closed($form->{"datepaid_$i"}, \%myconfig));
1009 1009

  
1010 1010
      if ($form->{currency} ne $form->{defaultcurrency}) {
1011 1011
        $form->{"exchangerate_$i"} = $form->{exchangerate}

Auch abrufbar als: Unified diff