[freeside-commits] freeside/FS/FS cust_bill.pm,1.329,1.330
Ivan,,,
ivan at wavetail.420.am
Wed Mar 30 12:49:11 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv11710
Modified Files:
cust_bill.pm
Log Message:
fix package balance conditions, RT#11834
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.329
retrieving revision 1.330
diff -u -w -d -r1.329 -r1.330
--- cust_bill.pm 30 Mar 2011 19:43:41 -0000 1.329
+++ cust_bill.pm 30 Mar 2011 19:49:09 -0000 1.330
@@ -683,9 +683,8 @@
'table' => 'cust_bill_pay_pkg',
'addl_from' => ' LEFT JOIN cust_bill_pay USING ( billpaynum ) '.
' LEFT JOIN cust_bill_pkg USING ( billpkgnum ) ',
- 'hashref' => { 'invnum' => $self->invnum,
- 'pkgnum' => $pkgnum,
- },
+ 'extra_sql' => ' WHERE invnum = '. $self->invnum.
+ " AND pkgnum = $pkgnum",
});
}
@@ -728,9 +727,8 @@
'table' => 'cust_credit_bill_pkg',
'addl_from' => ' LEFT JOIN cust_credit_bill USING ( creditbillnum ) '.
' LEFT JOIN cust_bill_pkg USING ( billpkgnum ) ',
- 'hashref' => { 'invnum' => $self->invnum,
- 'pkgnum' => $pkgnum,
- },
+ 'extra_sql' => ' WHERE invnum = '. $self->invnum.
+ " AND pkgnum = $pkgnum",
});
}
More information about the freeside-commits
mailing list