X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fquotation.html;fp=httemplate%2Fview%2Fquotation.html;h=4abef9f78a5749e17291aac2d855f4b7cde63416;hp=bd998bb915558c997ee6d067503dbc8a35681f4e;hb=c14803e37f1bfdcff882ee5cb35a9b10a93a88c9;hpb=f2cf5c2843dcef5db0941a1673538eb922fd5a5a diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index bd998bb91..4abef9f78 100755 --- a/httemplate/view/quotation.html +++ b/httemplate/view/quotation.html @@ -72,6 +72,9 @@ function areyousure(href, message) {

% } +% if ( $error ) { +<& /elements/error.html, $error &> +% } % if ( $conf->exists('quotation_html') ) { <% join('', $quotation->print_html( preref_callback=>$preref_callback )) %> @@ -107,6 +110,8 @@ my $quotation = qsearchs({ }); die "Quotation #$quotationnum not found!" unless $quotation; +my $error = $quotation->estimate; + my $menubar = menubar( $quotation->cust_or_prospect_label_link($p) ); my $link = "quotationnum=$quotationnum";