From f272bf70a898ee4a4b58fcdf0c43fb69a4383cdc Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 28 Jun 2016 23:29:37 -0700 Subject: change one-time charge UI to a full page to avoid conflict with taxproducts, #71394 --- httemplate/view/quotation.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'httemplate/view/quotation.html') diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index 5646fb973..7221d53cd 100755 --- a/httemplate/view/quotation.html +++ b/httemplate/view/quotation.html @@ -23,9 +23,13 @@ function areyousure(href, message) { % if ( $curuser->access_right('One-time charge') ) { <% $inrow ? ' | ' : '' %> - <& /elements/one_time_charge_link.html, - map { $_ => $quotation->$_ } qw( quotationnum custnum prospectnum ) - &> +% my $query = 'quotationnum=' . $quotation->get('quotationnum'); +% if ($quotation->custnum) { +% $query .= ';custnum=' . $quotation->custnum; +% } else { +% $query .= ';prospectnum=' . $quotation->prospectnum; +% } + <% emt('One-time charge') %> % $inrow++; % } -- cgit v1.2.1