[freeside-commits] freeside/FS/FS tax_rate.pm,1.32,1.33
Ivan,,,
ivan at wavetail.420.am
Tue Jan 12 19:14:11 PST 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv19308
Modified Files:
tax_rate.pm
Log Message:
if ignore_icalculable_taxes is on, don't call the errors fatal
Index: tax_rate.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/tax_rate.pm,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- tax_rate.pm 30 Dec 2009 05:22:42 -0000 1.32
+++ tax_rate.pm 13 Jan 2010 03:14:09 -0000 1.33
@@ -481,16 +481,16 @@
my $conf = new FS::Conf;
- $error = "fatal: can't yet handle ". $error;
+ $error = "can't yet handle $error";
my $name = $self->taxname;
$name = 'Other surcharges'
if ($self->passtype == 2);
if ($conf->exists('ignore_incalculable_taxes')) {
- warn $error;
+ warn "WARNING: $error; billing anyway per ignore_incalculable_taxes conf\n";
return { name => $name, amount => 0 };
} else {
- return $error;
+ return "fatal: $error";
}
}
More information about the freeside-commits
mailing list