From 4a5fcee4c1aa3ca07ac0a7921f9bd0e645ddc788 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 6 Jul 2010 12:18:11 +0000 Subject: "Bill now" link uses job queue/progressbar, RT#8995 --- httemplate/view/cust_main/billing.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'httemplate/view/cust_main') diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html index c8d0c47cd..6fe6c4939 100644 --- a/httemplate/view/cust_main/billing.html +++ b/httemplate/view/cust_main/billing.html @@ -1,3 +1,4 @@ +
Billing information %# If we can't see the unencrypted card, then bill now is an exercise in %# frustration (without some sort of job queue magic to send it to a secure @@ -5,7 +6,13 @@ Billing information %if ( $FS::CurrentUser::CurrentUser->access_right('Bill customer now') % && ! $cust_main->is_encrypted($cust_main->payinfo) % ) { - (Bill now) +%# (Bill now) + (<% include('/elements/bill.html', + custnum => $cust_main->custnum, + label => 'Bill now', + formname => 'billnow', + url => $p.'view/cust_main.cgi?'.$cust_main->custnum, + ) %>) % } <% ntable("#cccccc") %><% ntable("#cccccc",2) %> -- cgit v1.2.1