X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fedit%2Fquick-charge.html;h=896e8b2d2c073298cba8c4d7e0501105ff34a194;hb=e3df7e4b96abfda72201bf3598b6bfd449bfb2a1;hp=2bbbe43d8fb70db2af68608c9ef607d833e3c0df;hpb=1aecd5bf33146bf3f374341a3814960ae1d419e8;p=freeside.git diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 2bbbe43d8..896e8b2d2 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -1,11 +1,16 @@ -<& /elements/header.html, mt('One-time charge'), '', - ( ($quotationnum || $cgi->param('error')) ? '' : 'onload="addRow()"' ), +% if ( $quotationnum ) { +<& /elements/header.html, mt('One-time charge') &> +% } else { +<& /elements/header-cust_main.html, + view => 'packages', + cust_main => $cust_main, + etc => $cgi->param('error') ? '' : 'onload="addRow()"', &> +
-% if ( $cust_main ) { -<& /elements/small_custview.html, - $cust_main->custnum, - scalar($conf->config('countrydefault')), - 1, #no balance -&> -% } else { +% if ( $prospect_main ) { <& /elements/small_prospect_view.html, $prospect_main &> % }
@@ -116,7 +115,7 @@ function bill_now_changed (what) { -<% mt('Amount to charge') |h %> | +<% mt('Amount to charge') |h %> | <% $money_char %>exists('invoice-unitprice') ) { | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
<% mt('Quantity') |h %> | +<% mt('Quantity') |h %> | - | <% mt('Invoice now') |h %> | +<% mt('Invoice now') |h %> | - | <% mt('Charge date') |h %> | +<% mt('Charge date') |h %> | - | <% mt('Tax exempt') |h %> | +<% mt('Tax exempt') |h %> | param('setuptax') ? 'CHECKED' : '' %>> |
<% mt('Description') |h %> | +<% mt('Description') |h %> | - |