X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fquick-charge.html;h=51cd854ca436a3c919d9c891de31b211810da6e4;hp=6da5f12316122ce520ac1f7cb015281647abfdf2;hb=24a7dd6d18a1413ec34b906274365e4b2fef28e8;hpb=fe58901b811f0ab26e8f93a9563fb93bc98e4c19 diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index 6da5f1231..51cd854ca 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -1,11 +1,15 @@ -<& /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 &> % }
@@ -117,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 %> |