[freeside-commits] freeside/httemplate/view/cust_main billing.html, 1.19, 1.20
Mark Wells
mark at wavetail.420.am
Tue Jul 6 05:18:13 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv31959/httemplate/view/cust_main
Modified Files:
billing.html
Log Message:
"Bill now" link uses job queue/progressbar, RT#8995
Index: billing.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/billing.html,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -w -d -r1.19 -r1.20
--- billing.html 28 Jul 2009 22:21:40 -0000 1.19
+++ billing.html 6 Jul 2010 12:18:11 -0000 1.20
@@ -1,3 +1,4 @@
+<FORM name="billnow">
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 @@
%if ( $FS::CurrentUser::CurrentUser->access_right('Bill customer now')
% && ! $cust_main->is_encrypted($cust_main->payinfo)
% ) {
- (<A HREF="<% $p %>misc/bill.cgi?<% $cust_main->custnum %>">Bill now</A>)
+%# (<A HREF="<% $p %>misc/bill.cgi?<% $cust_main->custnum %>">Bill now</A>)
+ (<% include('/elements/bill.html',
+ custnum => $cust_main->custnum,
+ label => 'Bill now',
+ formname => 'billnow',
+ url => $p.'view/cust_main.cgi?'.$cust_main->custnum,
+ ) %>)
% }
<% ntable("#cccccc") %><TR><TD><% ntable("#cccccc",2) %>
More information about the freeside-commits
mailing list