projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SureTax, #31639, #33015, #34598
[freeside.git]
/
httemplate
/
edit
/
process
/
quick-charge.cgi
diff --git
a/httemplate/edit/process/quick-charge.cgi
b/httemplate/edit/process/quick-charge.cgi
index
c1e7fc1
..
23eead4
100644
(file)
--- a/
httemplate/edit/process/quick-charge.cgi
+++ b/
httemplate/edit/process/quick-charge.cgi
@@
-74,7
+74,7
@@
if ( $param->{'pkgnum'} =~ /^(\d+)$/ ) { #modifying an existing one-time charge
if ( $param->{'taxclass'} eq '(select)' ) {
$error .= "Must select a tax class. "
if ( $param->{'taxclass'} eq '(select)' ) {
$error .= "Must select a tax class. "
- unless ($conf->
exists('enable_taxproducts
') &&
+ unless ($conf->
config('tax_data_vendor
') &&
( $override || $param->{taxproductnum} )
);
$cgi->param('taxclass', '');
( $override || $param->{taxproductnum} )
);
$cgi->param('taxclass', '');
@@
-122,7
+122,7
@@
if ( $param->{'pkgnum'} =~ /^(\d+)$/ ) { #modifying an existing one-time charge
if ( $param->{'taxclass'} eq '(select)' ) {
$error .= "Must select a tax class. "
if ( $param->{'taxclass'} eq '(select)' ) {
$error .= "Must select a tax class. "
- unless ($conf->
exists('enable_taxproducts') &&
+ unless ($conf->
config('tax_data_vendor'))
( $override || $param->{taxproductnum} )
);
$cgi->param('taxclass', '');
( $override || $param->{taxproductnum} )
);
$cgi->param('taxclass', '');