[freeside-commits] freeside/FS/FS tax_rate.pm,1.15,1.16
Ivan,,,
ivan at wavetail.420.am
Mon Jan 19 15:53:46 PST 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv21328
Modified Files:
tax_rate.pm
Log Message:
tax-pkg_location changes broke new taxation, this should fix
Index: tax_rate.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/tax_rate.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- tax_rate.pm 18 Jan 2009 23:43:39 -0000 1.15
+++ tax_rate.pm 19 Jan 2009 23:53:44 -0000 1.16
@@ -369,8 +369,12 @@
if ($self->passtype == 2);
my $amount = 0;
- return [$name, $amount] # we always know how to handle disabled taxes
- if $self->disabled;
+ if ( $self->disabled ) { # we always know how to handle disabled taxes
+ return {
+ 'name' => $name,
+ 'amount' => $amount,
+ };
+ }
my $taxable_charged = 0;
my @cust_bill_pkg = grep { $taxable_charged += $_ unless ref; ref; }
@@ -781,13 +785,13 @@
}
-=item process_batch
+=item process_batch_import
Load a batch import as a queued JSRPC job
=cut
-sub process_batch {
+sub process_batch_import {
my $job = shift;
my $param = thaw(decode_base64(shift));
More information about the freeside-commits
mailing list