X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=2d38203fa63b310a7ec00f8035d170a7137125c6;hp=c96fa6c817b87612eb107bc0a2365a922dc2fd44;hb=62157b20f819936d8287f12689c3b5cb34efe7ae;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2 diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index c96fa6c81..2d38203fa 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -1,29 +1,53 @@ -<% include("/elements/header-popup.html", 'One-time charge', '', - ( $cgi->param('error') ? '' : 'onload="addRow()"' ), - ) -%> +% 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()"', +&> +