[freeside-commits] freeside/httemplate/edit part_bill_event.cgi, 1.35, 1.36

Ivan,,, ivan at wavetail.420.am
Wed Jan 3 21:49:43 PST 2007


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv7789

Modified Files:
	part_bill_event.cgi 
Log Message:
invoice event to credit out a customer's balance, presumably as bad debt

Index: part_bill_event.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_bill_event.cgi,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- part_bill_event.cgi	23 Oct 2006 04:21:03 -0000	1.35
+++ part_bill_event.cgi	4 Jan 2007 05:49:41 -0000	1.36
@@ -206,6 +206,13 @@
 %    'weight' => 30,
 %  },
 %
+%  'credit' => {
+%    'name'   => "Create and apply a credit for the customer's balance (i.e. write off as bad debt)",
+%    'code'   => '$cust_main->credit( $cust_main->balance, \'%%%reason%%%\' );',
+%    'html'   => '<INPUT TYPE="text" NAME="reason" VALUE="%%%reason%%%">',
+%    'weight' => 30,
+%  },
+%
 %  'realtime-card' => {
 %    'name' => 'Run card with a <a href="http://search.cpan.org/search?mode=module&query=Business%3A%3AOnlinePayment">Business::OnlinePayment</a> realtime gateway',
 %    'code' => '$cust_bill->realtime_card();',



More information about the freeside-commits mailing list