X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fquotation.html;h=58d398ca2954e27bc9508aa45205d6f62ffc3258;hb=53a8c81b4f3a414803a52fc8114b26a71055d012;hp=5646fb973b1d3d1178c50793a471619bd000fb7a;hpb=2ffdb485e5534df3d89bcc12d4d02d485e9b28f5;p=freeside.git diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index 5646fb973..58d398ca2 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++; % } @@ -63,7 +67,9 @@ function areyousure(href, message) {

% if ( $curuser->access_right('New customer') && $quotation->quotation_pkg ) { +% # if we end up with more than one option, combine these links and add an interstitial screen Place order + | Order on hold

% }