diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-11-08 01:13:40 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-08 01:13:40 -0800 |
commit | b679a1c4513a48f097629c0c639431d9d0212ef8 (patch) | |
tree | 308ae6f6e7ae6bc8193dedeaa665af9668cc83d5 /httemplate/view | |
parent | c68d2a72e190e704bf1174f54ef2ec10e7517e64 (diff) |
quotations look like they belong to customers
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/quotation.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index 58d398ca2..cabf30a17 100755 --- a/httemplate/view/quotation.html +++ b/httemplate/view/quotation.html @@ -1,5 +1,8 @@ +% if ( $quotation->custnum ) { +<& /elements/header-cust_main.html, view=>'quotations', custnum=>$quotation->custnum &> +<h2>Quotation #<% $quotationnum %></h2> +% } else { #eventually, header-prospect_main.html <& /elements/header.html, mt('Quotation View'), $menubar &> - <& /elements/init_overlib.html &> <SCRIPT TYPE="text/javascript"> @@ -9,6 +12,8 @@ function areyousure(href, message) { } </SCRIPT> +% } + % unless ( $quotation->disabled eq 'Y' ) { % my $inrow = 0; @@ -116,7 +121,11 @@ function areyousure(href, message) { % } % #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; |