diff options
author | Mark Wells <mark@freeside.biz> | 2012-09-26 00:53:05 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-09-26 00:53:05 -0700 |
commit | 82d8565fbeaebd69177a3a14d833685ecb86a545 (patch) | |
tree | 2b5313e05aaa0cdbc1be393f10263010db2d62d8 /FS/FS/cust_tax_exempt_pkg_void.pm | |
parent | eb9148f0ab9aac5e4f89824b7fab6bb9d648e688 (diff) |
tax calculation and reporting for new customer locations, #940
Diffstat (limited to 'FS/FS/cust_tax_exempt_pkg_void.pm')
-rw-r--r-- | FS/FS/cust_tax_exempt_pkg_void.pm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/FS/FS/cust_tax_exempt_pkg_void.pm b/FS/FS/cust_tax_exempt_pkg_void.pm index 51c85b463..bfbc8c739 100644 --- a/FS/FS/cust_tax_exempt_pkg_void.pm +++ b/FS/FS/cust_tax_exempt_pkg_void.pm @@ -114,10 +114,15 @@ sub check { $self->ut_number('exemptpkgnum') || $self->ut_foreign_key('billpkgnum', 'cust_bill_pkg_void', 'billpkgnum' ) || $self->ut_foreign_key('taxnum', 'cust_main_county', 'taxnum') - || $self->ut_number('year') - || $self->ut_number('month') + || $self->ut_numbern('year') + || $self->ut_numbern('month') || $self->ut_numbern('creditbillpkgnum') #no FK check, will have been del'ed || $self->ut_money('amount') + || $self->ut_flag('exempt_cust') + || $self->ut_flag('exempt_setup') + || $self->ut_flag('exempt_recur') + || $self->ut_flag('exempt_cust_taxname') + || $self->ut_flag('exempt_monthly') ; return $error if $error; |