RT# 81150 Google now requires api key for drawing api
[freeside.git] / httemplate / view / quotation.html
index 41a5a87..0e3e8b3 100755 (executable)
@@ -1,14 +1,4 @@
-% if ( $quotation->custnum ) {
-<& /elements/header-cust_main.html, view=>'quotations', custnum=>$quotation->custnum &>
-<h2>Quotation #<% $quotationnum %>
-% if ($quotation->quotation_description) {
-(<% $quotation->quotation_description %>)  
-% } 
-</h2>
-% } else { #eventually, header-prospect_main.html
->>>>>>> 512a0bd... RT# 74666, Added quotation description to customer quotation list and quotation view
 <& /elements/header.html, mt('Quotation View'), $menubar &>
-
 <& /elements/init_overlib.html &>
 
 <SCRIPT TYPE="text/javascript">
@@ -18,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;
@@ -123,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');