[freeside-commits] freeside/httemplate/edit part_bill_event.cgi, 1.38.2.6, 1.38.2.7
Ivan,,,
ivan at wavetail.420.am
Thu May 29 20:55:54 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv14546/httemplate/edit
Modified Files:
Tag: FREESIDE_1_7_BRANCH
part_bill_event.cgi
Log Message:
1.7 sucks. add a "balance over" option to the 1.7 style agent-specific invoice send event
Index: part_bill_event.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_bill_event.cgi,v
retrieving revision 1.38.2.6
retrieving revision 1.38.2.7
diff -u -d -r1.38.2.6 -r1.38.2.7
--- part_bill_event.cgi 26 Mar 2008 01:03:31 -0000 1.38.2.6
+++ part_bill_event.cgi 30 May 2008 03:55:52 -0000 1.38.2.7
@@ -252,7 +252,11 @@
%
% 'send_agent' => {
% 'name' => 'Send invoice (email/print/fax) ',
-% 'code' => '$cust_bill->send(\'%%%agent_templatename%%%\', [ %%%agentnum%%% ], \'%%%agent_invoice_from%%%\');',
+% 'code' => '$cust_bill->send( \'%%%agent_templatename%%%\',
+% [ %%%agentnum%%% ],
+% \'%%%agent_invoice_from%%%\',
+% %%%agent_balanceover%%%
+% );',
% 'html' => sub {
% '<TABLE BORDER=0>
% <TR>
@@ -271,6 +275,13 @@
% <INPUT TYPE="text" NAME="agent_invoice_from" VALUE="%%%agent_invoice_from%%%">
% </TD>
% </TR>
+% <TR>
+% <TD ALIGN="right">if balance (this invoice and previous) over
+% </TD>
+% <TD>
+% '. $money_char. '<INPUT TYPE="text" SIZE="7" NAME="agent_balanceover" VALUE="%%%agent_balanceover%%%">
+% </TD>
+% </TR>
% </TABLE>';
% },
% 'weight' => 50,
More information about the freeside-commits
mailing list