[freeside-commits] freeside/FS/FS/cust_main Billing.pm,1.30,1.31
Erik Levinson
levinse at wavetail.420.am
Sun Apr 24 21:37:10 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/cust_main
In directory wavetail.420.am:/tmp/cvs-serv25742/FS/FS/cust_main
Modified Files:
Billing.pm
Log Message:
add waive setup fee upon package order feature, RT12568
Index: Billing.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main/Billing.pm,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -w -d -r1.30 -r1.31
--- Billing.pm 8 Apr 2011 01:00:37 -0000 1.30
+++ Billing.pm 25 Apr 2011 04:37:08 -0000 1.31
@@ -846,6 +846,8 @@
{
warn " bill setup\n" if $DEBUG > 1;
+
+ unless ( $cust_pkg->waive_setup ) {
$lineitems++;
$setup = eval { $cust_pkg->calc_setup( $time, \@details ) };
@@ -853,6 +855,7 @@
if $@;
$unitsetup = $cust_pkg->part_pkg->unit_setup || $setup; #XXX uuh
+ }
$cust_pkg->setfield('setup', $time)
unless $cust_pkg->setup;
More information about the freeside-commits
mailing list