From c80c0c11bce165716c08e04eea3a587fc7a58210 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 8 Nov 2016 01:33:43 -0800 Subject: [PATCH] 4.x style one-time charge --- httemplate/edit/quick-charge.html | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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 &> % }

-- 2.11.0