summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2000-09-20 10:35:21 +0000
committerivan <ivan>2000-09-20 10:35:21 +0000
commit4063430b29ef2c83da42772402249f02f8004327 (patch)
tree3bb847a01435529f5d0d237ff054f36f7da2edba /FS
parentf01fe96a27912381d4b30ccad3d355d74f76f505 (diff)
since printed field isn't updated 'till after print_text method is called,
want to print overdue invoices if printed > 0, not > 1
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_bill.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 1d0790ef1..2df92f75f 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -392,7 +392,8 @@ sub print_text {
$FS::cust_bill::_template::overdue = (
$balance_due > 0
&& $today > $self->_date
- && $self->printed > 1
+# && $self->printed > 1
+ && $self->printed > 0
);
#and subroutine for the template
@@ -423,7 +424,7 @@ sub print_text {
=head1 VERSION
-$Id: cust_bill.pm,v 1.2 2000-08-09 11:30:41 ivan Exp $
+$Id: cust_bill.pm,v 1.3 2000-09-20 10:35:21 ivan Exp $
=head1 BUGS