X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=2d38203fa63b310a7ec00f8035d170a7137125c6;hb=62157b20f819936d8287f12689c3b5cb34efe7ae;hp=92e0ae75381dbad5cf7fd099098baa366abf4901;hpb=ea75c42317d8f327d9dbbbf2f6127dc987f60b66;p=freeside.git diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 92e0ae753..2d38203fa 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -1,42 +1,55 @@ -<% include("/elements/header-popup.html", 'One-time charge entry', '', - ( $cgi->param('error') ? '' : 'onload="addRow()"' ), - ) -%> - -<% include('/elements/error.html') %> +% if ( $quotationnum && ! $cust_main ) { +<& /elements/header.html, mt('Quotation #[_1]: add one-time charge', $quotationnum) &> +% } else { +<& /elements/header-cust_main.html, + view => $quotationnum ? 'quotations' : 'packages', + cust_main => $cust_main, + etc => $cgi->param('error') ? '' : 'onload="addRow()"', +&> +