diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-06-29 10:02:46 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-06-29 10:02:46 -0700 |
| commit | cd254e04ba204b5d0b4a69b65c392fb175dd1e97 (patch) | |
| tree | 190d2e30a38eb56483d41b852dee7fdc53b3765d /httemplate/view/quotation.html | |
| parent | 5e9be05e2abc350720b3c2031a8b7a0d39a226b8 (diff) | |
| parent | 84bc64eeaa9650333fbbb79ecb03a1aff4a347fd (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
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++; % } |
