From aa2cb98c347122ca883cfe428edf3919f59fc3d5 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Wed, 18 Jul 2018 10:50:35 -0400 Subject: RT# 34134 - updated UI experience --- httemplate/elements/tr-select-payment_options.html | 117 ++++++++++++++------- 1 file changed, 80 insertions(+), 37 deletions(-) (limited to 'httemplate/elements/tr-select-payment_options.html') diff --git a/httemplate/elements/tr-select-payment_options.html b/httemplate/elements/tr-select-payment_options.html index a59963a91..35e6def94 100644 --- a/httemplate/elements/tr-select-payment_options.html +++ b/httemplate/elements/tr-select-payment_options.html @@ -5,9 +5,9 @@ Example: include( '/elements/tr-select-payment_options.html', #opt - most get used in /elements/tr-amount-fee - 'custnum' => 4, # customer number needed for selecting invoices + 'cust_main' => $cust_main, # custmain needed for selecting invoices 'prefix' => 'pre', # prefix to fields and row ID's - 'amount' => 1, # payment amount + 'amount' => 1, # payment amount optional, if no amount will grab balance due from cust_main 'process-pkgpart' => scalar($conf->config('manual_process-pkgpart', $cust_main->agentnum)), 'process-display' => scalar($conf->config('manual_process-display')), 'process-skip_first' => $conf->exists('manual_process-skip_first'), @@ -26,39 +26,57 @@ Example: - - <% mt('Payment options') |h %> - + + <% mt('What would you like to pay') |h %> + + <& /elements/tr-select-invoice.html, - 'custnum' => $opt{custnum}, - 'prefix' => $opt{prefix}, + 'cust_main' => $cust_main, + 'status' => 'open', + 'prefix' => $opt{prefix}, &> <& /elements/tr-amount_fee.html, - 'row_style' => 'STYLE="display:none;"', + 'amount' => $amount, + 'custnum' => $custnum, %opt &>