[freeside-commits] freeside/httemplate/edit
cust_main_county-expand.cgi, 1.10, 1.11
Ivan,,,
ivan at wavetail.420.am
Tue Dec 26 19:29:31 PST 2006
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv5225
Modified Files:
cust_main_county-expand.cgi
Log Message:
fix sanity check on taxclass expander
Index: cust_main_county-expand.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main_county-expand.cgi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- cust_main_county-expand.cgi 23 Aug 2006 22:25:37 -0000 1.10
+++ cust_main_county-expand.cgi 27 Dec 2006 03:29:29 -0000 1.11
@@ -19,7 +19,11 @@
%
%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(
More information about the freeside-commits
mailing list