projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c8870e
)
fix sanity check on taxclass expander
author
ivan
<ivan>
Wed, 27 Dec 2006 03:29:29 +0000
(
03:29
+0000)
committer
ivan
<ivan>
Wed, 27 Dec 2006 03:29:29 +0000
(
03:29
+0000)
httemplate/edit/cust_main_county-expand.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main_county-expand.cgi
b/httemplate/edit/cust_main_county-expand.cgi
index
01f0c1e
..
f56d319
100755
(executable)
--- a/
httemplate/edit/cust_main_county-expand.cgi
+++ b/
httemplate/edit/cust_main_county-expand.cgi
@@
-19,7
+19,11
@@
%
%my $cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum})
% or die "cust_main_county.taxnum $taxnum not found";
%
%my $cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum})
% or die "cust_main_county.taxnum $taxnum not found";
-%die "Can't expand entry!" if $cust_main_county->getfield('county');
+%if ( $taxclass ) {
+% die "Can't expand entry!" if $cust_main_county->getfield('taxclass');
+%} else {
+% die "Can't expand entry!" if $cust_main_county->getfield('county');
+%}
%
%my $p1 = popurl(1);
%print header("Tax Rate (expand)", menubar(
%
%my $p1 = popurl(1);
%print header("Tax Rate (expand)", menubar(