suspend event option to skip packages with a start_date, RT#83847
[freeside.git] / httemplate / view / quotation.html
index 644d28f..0e3e8b3 100755 (executable)
@@ -1,5 +1,4 @@
 <& /elements/header.html, mt('Quotation View'), $menubar &>
-
 <& /elements/init_overlib.html &>
 
 <SCRIPT TYPE="text/javascript">
@@ -9,6 +8,14 @@ function areyousure(href, message) {
 }
 </SCRIPT>
 
+% if ( $quotation->custnum ) {
+  <h2>Quotation #<% $quotationnum %>
+%   if ($quotation->quotation_description) {
+      (<% $quotation->quotation_description |h %>)  
+%   } 
+  </h2>
+% } 
+
 % unless ( $quotation->disabled eq 'Y' ) {
 
 %   my $inrow = 0;
@@ -63,7 +70,9 @@ function areyousure(href, message) {
     <BR><BR>
 
 %   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
       <A HREF="<%$p%>edit/process/quotation_convert.html?quotationnum=<% $quotation->quotationnum %>">Place order</A>
+      | <A HREF="<%$p%>edit/process/quotation_convert.html?quotationnum=<% $quotation->quotationnum %>&onhold=1">Order on hold</A>
       <BR><BR>
 %   }
 
@@ -95,7 +104,7 @@ function areyousure(href, message) {
 </TR>
 %   }
 %   if (length($confidence)) {
-<TR><TH STYLE="text-align: right;">Confidence:</TH><TD><% $confidence %></TD></TR>
+<TR><TH STYLE="text-align: right;">Confidence:</TH><TD><% $confidence %>%</TD></TR>
 %   }
 </TABLE>
 % }
@@ -112,7 +121,7 @@ function areyousure(href, message) {
 
 my $curuser = $FS::CurrentUser::CurrentUser;
 
-#die "access denied"
+#die "access denied";
 #  unless $curuser->access_right('View quotations');
 
 my $can_generate_quotation = $curuser->access_right('Generate quotation');