From 42132c9a86d36d7fefa7ba5f058f764ba6e7ad5b Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 28 Aug 2008 21:32:26 +0000 Subject: taxproduct selection for one time charges --- httemplate/edit/quick-charge.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'httemplate/edit/quick-charge.html') diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index d51015054..bf4c44571 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -71,7 +71,7 @@ function validate_quick_charge () { -
+ @@ -97,6 +97,10 @@ function validate_quick_charge () { <% include('/elements/tr-select-taxclass.html', 'curr_value' => $cgi->param('taxclass') ) %> +<% include('/elements/tr-select-taxproduct.html', 'label' => 'Tax product', 'onclick' => 'parent.taxproductmagic(this);', 'curr_value' => $cgi->param('taxproductnum') ) %> + +<% include('/elements/tr-select-taxoverride.html', 'onclick' => 'parent.taxoverridemagic(this);', 'curr_value' => $cgi->param('tax_override') ) %> + Description: @@ -110,7 +114,7 @@ function validate_quick_charge () { % my $row = 0; -% if ( $cgi->param('error') ) { +% if ( $cgi->param('error') || $cgi->param('magic') ) { % my $param = $cgi->Vars; % % for ( $row = 0; exists($param->{"description$row"}); $row++ ) { -- cgit v1.2.1