X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_county.cgi;h=4bcfcbe9b8162fc33880b4f1385977954dfa20be;hp=69def0468057988adf934414c94477cf8dee3296;hb=657742d1118c350120ecac455ae013f1deed5b83;hpb=1fd6d8cf5d7854860ef4fd10ed89828e0c04ec39 diff --git a/httemplate/edit/cust_main_county.cgi b/httemplate/edit/cust_main_county.cgi index 69def0468..4bcfcbe9b 100755 --- a/httemplate/edit/cust_main_county.cgi +++ b/httemplate/edit/cust_main_county.cgi @@ -1,4 +1,4 @@ - + <% print header("Edit tax rates", menubar( @@ -14,11 +14,28 @@ print qq!
$hashref->{country} END - print "", $hashref->{state} - ? $hashref->{state} - : '(ALL)' + print "{state} + ? ' BGCOLOR="#ffffff">'.$hashref->{state} + : ' BGCOLOR="#cccccc">(ALL)' , ""; - print "", $hashref->{county} - ? $hashref->{county} - : '(ALL)' + print "{county} + ? ' BGCOLOR="#ffffff">'. $hashref->{county} + : ' BGCOLOR="#cccccc">(ALL)' , ""; - print qq!%!; -END + print "{taxclass} + ? ' BGCOLOR="#ffffff">'. $hashref->{taxclass} + : ' BGCOLOR="#cccccc">(ALL)' + , ""; + + print qq!! + if dbdef->table('cust_main_county')->column('taxname'); + + print qq!
%
!; + print qq!
\$
!; + + print qq!{setuptax} =~ /^Y$/i ? ' CHECKED' : '' ). + '>' + if dbdef->table('cust_main_county')->column('setuptax'); + + print qq!{recurtax} =~ /^Y$/i ? ' CHECKED' : '' ). + '>' + if dbdef->table('cust_main_county')->column('recurtax'); + + print ''; }