From: Ivan Kohler Date: Tue, 8 Nov 2016 09:33:43 +0000 (-0800) Subject: 4.x style one-time charge X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=c80c0c11bce165716c08e04eea3a587fc7a58210 4.x style one-time charge --- diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index dde891767..330081533 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -1,11 +1,13 @@ +% if ( $quotationnum ) { <& /elements/header.html, mt('One-time charge'), '', ( ($quotationnum || $cgi->param('error')) ? '' : 'onload="addRow()"' ), &> +% } else { +<& /elements/header-cust_main.html, view=>'packages', cust_main=>$cust_main &> +

One-time charge

+% } - - - - +<& /elements/init_calendar.html &> <& /elements/error.html &> @@ -95,13 +97,7 @@ function bill_now_changed (what) {

-% 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 &> % }