[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1576] trunk/bin/cp.pl
- Subject: SF.net SVN: ledger-smb: [1576] trunk/bin/cp.pl
- From: ..hidden..
- Date: Wed, 12 Sep 2007 00:01:53 -0700
Revision: 1576
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1576&view=rev
Author: einhverfr
Date: 2007-09-12 00:01:53 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
Fixing payment screen to work with new is_nan checks.
Modified Paths:
--------------
trunk/bin/cp.pl
Modified: trunk/bin/cp.pl
===================================================================
--- trunk/bin/cp.pl 2007-09-12 07:00:51 UTC (rev 1575)
+++ trunk/bin/cp.pl 2007-09-12 07:01:53 UTC (rev 1576)
@@ -371,7 +371,6 @@
}
sub invoices_due {
-
@column_index =
qw(name invnumber transdate amount due checked paid memo source);
push @column_index, "language" if $form->{selectlanguage};
@@ -716,7 +715,8 @@
for (qw(amount due paid)) {
$form->{"${_}_$i"} =
- $form->format_amount( \%myconfig, $form->{"${_}_$i"}, 2 );
+ $form->format_amount( \%myconfig, $form->{"${_}_$i"}, 2 )
+ if $form->{"${_}_$i"};
}
}
@@ -892,7 +892,8 @@
for (qw(amount due paid)) {
$form->{"${_}_$i"} =
- $form->format_amount( \%myconfig, $form->{"${_}_$i"}, 2 );
+ $form->format_amount( \%myconfig, $form->{"${_}_$i"}, 2 )
+ if $form->{"${_}_$i"};
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.