+% if ( $quotation->custnum ) {
+<& /elements/header-cust_main.html, view=>'quotations', custnum=>$quotation->custnum &>
+<h2>Quotation #<% $quotationnum %>
+% if ($quotation->quotation_description) {
+(<% $quotation->quotation_description |h %>)
+% }
+</h2>
+% } else { #eventually, header-prospect_main.html
<& /elements/header.html, mt('Quotation View'), $menubar &>
-
<& /elements/init_overlib.html &>
<SCRIPT TYPE="text/javascript">
}
</SCRIPT>
+% }
+
% unless ( $quotation->disabled eq 'Y' ) {
% my $inrow = 0;
% }
% #plaintext quotations? <PRE><% join('', $quotation->print_text() ) %></PRE>
-<& /elements/footer.html &>
+% if ( $quotation->custnum ) {
+ <& /elements/footer-cust_main.html &>
+% } else {
+ <& /elements/footer.html &>
+% }
<%init>
my $curuser = $FS::CurrentUser::CurrentUser;