diff options
| author | Mark Wells <mark@freeside.biz> | 2016-06-28 23:29:37 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2016-06-28 23:33:14 -0700 |
| commit | f272bf70a898ee4a4b58fcdf0c43fb69a4383cdc (patch) | |
| tree | 14dcf09155ea4985200d3c4abedf753fa50afde7 /httemplate/view/quotation.html | |
| parent | 0fff82bbfebc35ce0dde87eea5c180f25b01abb2 (diff) | |
change one-time charge UI to a full page to avoid conflict with taxproducts, #71394
Diffstat (limited to 'httemplate/view/quotation.html')
| -rwxr-xr-x | httemplate/view/quotation.html | 10 |
1 files changed, 7 insertions, 3 deletions
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; +% } + <A HREF="<% $fsurl . 'edit/quick-charge.html?' . $query %>"><% emt('One-time charge') %></A> % $inrow++; % } |
