X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=af6fd417d2fc5c28bace7eb02430f572375b5a7f;hp=896e8b2d2c073298cba8c4d7e0501105ff34a194;hb=081638aa4a483577a9c5bc7ac9ea518370cf2381;hpb=2756019bdb10fe144debfc8d6436468a89954eb3 diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 896e8b2d2..af6fd417d 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -1,12 +1,15 @@ -% if ( $quotationnum ) { -<& /elements/header.html, mt('One-time charge') &> +% if ( $quotationnum && ! $cust_main ) { +<& /elements/header.html, mt('Quotation #[_1]: add one-time charge', $quotationnum) &> % } else { <& /elements/header-cust_main.html, - view => 'packages', + view => $quotationnum ? 'quotations' : 'packages', cust_main => $cust_main, etc => $cgi->param('error') ? '' : 'onload="addRow()"', &> -

One-time charge

+

<% $quotationnum + ? emt('Quotation #[_1]: add one-time charge', $quotationnum) + : mt('One-time charge') + %>

% } <& /elements/init_calendar.html &>