summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill_pkg_tax_location.pm
diff options
context:
space:
mode:
authorjeff <jeff>2009-12-21 14:44:09 +0000
committerjeff <jeff>2009-12-21 14:44:09 +0000
commit5b87686b7a7f09e766bb1749628365b81f4f72fc (patch)
tree2155febf3cc0c9fff0561bdc46a1f2cd44c36a2a /FS/FS/cust_bill_pkg_tax_location.pm
parent250e277720fbe288875736c7f5f957668f4c1880 (diff)
manage tax exemptions (texas-tax) on credit application RT953
Diffstat (limited to 'FS/FS/cust_bill_pkg_tax_location.pm')
-rw-r--r--FS/FS/cust_bill_pkg_tax_location.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/FS/FS/cust_bill_pkg_tax_location.pm b/FS/FS/cust_bill_pkg_tax_location.pm
index 120a2d0..44dd6e3 100644
--- a/FS/FS/cust_bill_pkg_tax_location.pm
+++ b/FS/FS/cust_bill_pkg_tax_location.pm
@@ -8,6 +8,7 @@ use FS::cust_pkg;
use FS::cust_location;
use FS::cust_bill_pay_pkg;
use FS::cust_credit_bill_pkg;
+use FS::cust_main_county;
=head1 NAME
@@ -199,10 +200,21 @@ sub cust_credit_bill_pkg {
);
}
+sub cust_main_county {
+ my $self = shift;
+ my $result;
+ if ( $self->taxtype eq 'FS::cust_main_county' ) {
+ $result = qsearchs( 'cust_main_county', { 'taxnum' => $self->taxnum } );
+ }
+}
+
=back
=head1 BUGS
+The presense of FS::cust_main_county::delete makes the cust_main_county method
+unreliable
+
=head1 SEE ALSO
L<FS::Record>, schema.html from the base documentation.