X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fquotation.html;h=58d398ca2954e27bc9508aa45205d6f62ffc3258;hb=53a8c81b4f3a414803a52fc8114b26a71055d012;hp=bd998bb915558c997ee6d067503dbc8a35681f4e;hpb=f92a083465019a7224d912cd78b6881f8aef1b52;p=freeside.git
diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html
index bd998bb91..58d398ca2 100755
--- a/httemplate/view/quotation.html
+++ b/httemplate/view/quotation.html
@@ -11,20 +11,35 @@ function areyousure(href, message) {
% unless ( $quotation->disabled eq 'Y' ) {
+% my $inrow = 0;
% if ( $curuser->access_right('Order customer package') ) {
<& /elements/order_pkg_link.html,
'label' => emt('Add package'),
'actionlabel' => emt('Add package'),
map { $_ => $quotation->$_ } qw( quotationnum custnum prospectnum )
&>
+% $inrow++;
% }
% if ( $curuser->access_right('One-time charge') ) {
- | <& /elements/one_time_charge_link.html,
- map { $_ => $quotation->$_ } qw( quotationnum custnum prospectnum )
- &>
+ <% $inrow ? ' | ' : '' %>
+% my $query = 'quotationnum=' . $quotation->get('quotationnum');
+% if ($quotation->custnum) {
+% $query .= ';custnum=' . $quotation->custnum;
+% } else {
+% $query .= ';prospectnum=' . $quotation->prospectnum;
+% }
+ <% emt('One-time charge') %>
+% $inrow++;
+% }
+
+% if ( $can_generate_quotation ) {
+ <% $inrow ? ' | ' : '' %>
+ Edit quotation fields
+% $inrow++;
% }
-
+
+ <% $inrow ? '
' : '' %>
% if ( 1 ) { #if ( $curuser->access_right('Send quotations') )
@@ -52,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
% }
@@ -72,6 +89,25 @@ function areyousure(href, message) {
% }
+% if ( $error ) {
+
Close Date: | +<% time2str($conf->config('date_format') || '%m/%d/%Y',$close_date) %> | +
---|---|
Confidence: | <% $confidence %>% |