fix times on appointments list (RT stores dates in UTC), RT#76486
[freeside.git] / httemplate / view / quotation.html
index 0570e78..b73ce0d 100755 (executable)
@@ -1,5 +1,11 @@
+% if ( $quotation->custnum ) {
+<h2>Quotation #<% $quotationnum %>
+% if ($quotation->quotation_description) {
+(<% $quotation->quotation_description %>)  
+% } 
+</h2>
+% } else { #eventually, header-prospect_main.html
 <& /elements/header.html, mt('Quotation View'), $menubar &>
-
 <& /elements/init_overlib.html &>
 
 <SCRIPT TYPE="text/javascript">
@@ -9,6 +15,8 @@ function areyousure(href, message) {
 }
 </SCRIPT>
 
+% }
+
 % unless ( $quotation->disabled eq 'Y' ) {
 
 %   my $inrow = 0;
@@ -63,7 +71,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>
 %   }
 
@@ -112,7 +122,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');