[freeside-commits] freeside/FS/FS/cust_main Billing.pm,1.23,1.24
Mark Wells
mark at wavetail.420.am
Tue Jan 18 16:41:02 PST 2011
- Previous message: [freeside-commits] freeside/FS/FS/part_pkg bulk.pm, 1.10.2.1, 1.10.2.2 discount_Mixin.pm, 1.1.2.1, 1.1.2.2 flat.pm, 1.53.2.3, 1.53.2.4 flat_introrate.pm, 1.3.6.1, 1.3.6.2
- Next message: [freeside-commits] freeside/FS/FS/part_pkg flat.pm, 1.56, 1.57 prorate.pm, 1.24, 1.25 prorate_Mixin.pm, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/cust_main
In directory wavetail.420.am:/tmp/cvs-serv13694/FS/FS/cust_main
Modified Files:
Billing.pm
Log Message:
deferred prorate billing, RT#10630
Index: Billing.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main/Billing.pm,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -w -d -r1.23 -r1.24
--- Billing.pm 14 Jan 2011 02:51:41 -0000 1.23
+++ Billing.pm 19 Jan 2011 00:41:00 -0000 1.24
@@ -897,6 +897,7 @@
'discounts' => \@discounts,
'real_pkgpart' => $real_pkgpart,
'freq_override' => $options{freq_override} || '',
+ 'setup_fee' => 0,
);
my $method = $options{cancel} ? 'calc_cancel' : 'calc_recur';
@@ -926,6 +927,14 @@
}
+ if ( $param{'setup_fee'} ) {
+ # Add an additional setup fee at the billing stage.
+ # Used for prorate_defer_bill.
+ $setup += $param{'setup_fee'};
+ $unitsetup += $param{'setup_fee'};
+ $lineitems++;
+ }
+
}
warn "\$setup is undefined" unless defined($setup);
- Previous message: [freeside-commits] freeside/FS/FS/part_pkg bulk.pm, 1.10.2.1, 1.10.2.2 discount_Mixin.pm, 1.1.2.1, 1.1.2.2 flat.pm, 1.53.2.3, 1.53.2.4 flat_introrate.pm, 1.3.6.1, 1.3.6.2
- Next message: [freeside-commits] freeside/FS/FS/part_pkg flat.pm, 1.56, 1.57 prorate.pm, 1.24, 1.25 prorate_Mixin.pm, 1.9, 1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list