X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fquotation.html;h=d4d79d72cf1a6dc5904e96416a9cfed028224bba;hb=368ed08e24400e9d1faf401a1e4e23ea54d2c969;hp=7221d53cd7d41a02d5c2bfd9c625e625d0c474cc;hpb=cd254e04ba204b5d0b4a69b65c392fb175dd1e97;p=freeside.git diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index 7221d53cd..d4d79d72c 100755 --- a/httemplate/view/quotation.html +++ b/httemplate/view/quotation.html @@ -1,5 +1,12 @@ +% if ( $quotation->custnum ) { +<& /elements/header-cust_main.html, view=>'quotations', custnum=>$quotation->custnum &> +

Quotation #<% $quotationnum %> +% if ($quotation->quotation_description) { +(<% $quotation->quotation_description |h %>) +% } +

+% } else { #eventually, header-prospect_main.html <& /elements/header.html, mt('Quotation View'), $menubar &> - <& /elements/init_overlib.html &> +% } + % unless ( $quotation->disabled eq 'Y' ) { % my $inrow = 0; @@ -67,7 +76,9 @@ function areyousure(href, message) {

% 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 Place order + | Order on hold

% } @@ -114,7 +125,11 @@ function areyousure(href, message) { % } % #plaintext quotations?
<% join('', $quotation->print_text() ) %>
-<& /elements/footer.html &> +% if ( $quotation->custnum ) { + <& /elements/footer-cust_main.html &> +% } else { + <& /elements/footer.html &> +% } <%init> my $curuser = $FS::CurrentUser::CurrentUser;