[freeside-commits] freeside/FS/FS/part_event/Action cust_bill_fee_percent.pm, 1.6, 1.7 fee.pm, 1.6, 1.7
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Oct 4 17:49:36 PDT 2009
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.320, 1.321 Schema.pm, 1.166, 1.167 Upgrade.pm, 1.30, 1.31 cust_bill.pm, 1.256, 1.257 cust_bill_pkg.pm, 1.40, 1.41 cust_bill_pkg_display.pm, 1.1, 1.2 cust_main.pm, 1.456, 1.457 pkg_category.pm, 1.1, 1.2
- Next message: [freeside-commits] freeside/httemplate/browse pkg_category.html, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS/part_event/Action
In directory wavetail.420.am:/tmp/cvs-serv31511/FS/FS/part_event/Action
Modified Files:
cust_bill_fee_percent.pm fee.pm
Log Message:
leading summary page invoices #RT5086
Index: fee.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event/Action/fee.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- fee.pm 19 Aug 2009 21:27:16 -0000 1.6
+++ fee.pm 5 Oct 2009 00:49:34 -0000 1.7
@@ -26,10 +26,13 @@
my $cust_main = $self->cust_main($cust_object);
+ my $conf = new FS::Conf;
+
my %charge = (
'amount' => $self->option('charge'),
'pkg' => $self->option('reason'),
'taxclass' => $self->option('taxclass'),
+ 'classnum' => $conf->config('finance_pkgclass'),
'setuptax' => $self->option('setuptax'),
);
Index: cust_bill_fee_percent.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_event/Action/cust_bill_fee_percent.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cust_bill_fee_percent.pm 19 Aug 2009 21:27:16 -0000 1.6
+++ cust_bill_fee_percent.pm 5 Oct 2009 00:49:34 -0000 1.7
@@ -31,6 +31,8 @@
#my $cust_main = $self->cust_main($cust_bill);
my $cust_main = $cust_bill->cust_main;
+ my $conf = new FS::Conf;
+
my $amount =
sprintf('%.2f', $cust_bill->owed * $self->option('percent') / 100 );
@@ -38,6 +40,7 @@
'amount' => $amount,
'pkg' => $self->option('reason'),
'taxclass' => $self->option('taxclass'),
+ 'classnum' => $conf->config('finance_pkgclass'),
'setuptax' => $self->option('setuptax'),
);
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.320, 1.321 Schema.pm, 1.166, 1.167 Upgrade.pm, 1.30, 1.31 cust_bill.pm, 1.256, 1.257 cust_bill_pkg.pm, 1.40, 1.41 cust_bill_pkg_display.pm, 1.1, 1.2 cust_main.pm, 1.456, 1.457 pkg_category.pm, 1.1, 1.2
- Next message: [freeside-commits] freeside/httemplate/browse pkg_category.html, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list