[BACK]Return to pta_import.pl CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / pta

Diff for /pta/pta_import.pl between version 1.29 and 1.30

version 1.29, 2021/05/19 17:10:53 version 1.30, 2021/05/19 21:43:47
Line 193  LINE: while (<STDIN>) {
Line 193  LINE: while (<STDIN>) {
         }          }
         $amount = sprintf "%.2f", $amount;          $amount = sprintf "%.2f", $amount;
         my $description = join ' ', @fields[@description_fields];          my $description = join ' ', @fields[@description_fields];
         $date && $amount && $debit && $credit && $description          defined($date) && defined($amount) && defined($debit) &&
               defined($credit) && defined($description)
             or die "import parse error: $line";              or die "import parse error: $line";
         $description =~ s/#//g;          $description =~ s/#//g;
         $description .= " [$fields[$cost_center_field]]"          $description .= " [$fields[$cost_center_field]]"

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

CVSweb