projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
multiple payment options, RT#23741
[freeside.git]
/
FS
/
FS
/
cust_tax_exempt_pkg_void.pm
diff --git
a/FS/FS/cust_tax_exempt_pkg_void.pm
b/FS/FS/cust_tax_exempt_pkg_void.pm
index
51c85b4
..
bfbc8c7
100644
(file)
--- 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('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_number
n
('year')
+ || $self->ut_number
n
('month')
|| $self->ut_numbern('creditbillpkgnum') #no FK check, will have been del'ed
|| $self->ut_money('amount')
|| $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;
;
return $error if $error;