[freeside-commits] freeside/FS/FS cust_bill.pm,1.285,1.286
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Jun 24 01:18:23 PDT 2010
- Previous message: [freeside-commits] freeside/FS/FS cust_bill.pm, 1.263.2.20, 1.263.2.21
- Next message: [freeside-commits] freeside/FS/FS XMLRPC.pm, 1.5, 1.6 Schema.pm, 1.220, 1.221 Conf.pm, 1.368, 1.369 Maestro.pm, NONE, 1.1 svc_pbx.pm, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv8958
Modified Files:
cust_bill.pm
Log Message:
get section subtotalling right
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.285
retrieving revision 1.286
diff -u -w -d -r1.285 -r1.286
--- cust_bill.pm 23 Jun 2010 08:37:46 -0000 1.285
+++ cust_bill.pm 24 Jun 2010 08:18:21 -0000 1.286
@@ -2621,6 +2621,12 @@
foreach my $section (@sections, @$late_sections) {
+ # begin some normalization
+ $section->{'subtotal'} = $section->{'amount'}
+ if $multisection
+ && !exists($section->{subtotal})
+ && exists($section->{amount});
+
$invoice_data{finance_amount} = sprintf('%.2f', $section->{'subtotal'} )
if ( $invoice_data{finance_section} &&
$section->{'description'} eq $invoice_data{finance_section} );
@@ -2629,7 +2635,7 @@
sprintf('%.2f', $section->{'subtotal'})
if $multisection;
- # begin some normalization
+ # continue some normalization
$section->{'amount'} = $section->{'subtotal'}
if $multisection;
- Previous message: [freeside-commits] freeside/FS/FS cust_bill.pm, 1.263.2.20, 1.263.2.21
- Next message: [freeside-commits] freeside/FS/FS XMLRPC.pm, 1.5, 1.6 Schema.pm, 1.220, 1.221 Conf.pm, 1.368, 1.369 Maestro.pm, NONE, 1.1 svc_pbx.pm, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list