From: ivan Date: Thu, 4 Jan 2007 05:49:41 +0000 (+0000) Subject: invoice event to credit out a customer's balance, presumably as bad debt X-Git-Tag: TRIXBOX_2_6~778 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=5de869e584a684259123f5eb729567a1df1de3e5;p=freeside.git invoice event to credit out a customer's balance, presumably as bad debt --- diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi index 77aa82887..c80d51c8f 100755 --- a/httemplate/edit/part_bill_event.cgi +++ b/httemplate/edit/part_bill_event.cgi @@ -206,6 +206,13 @@ Invoice Event #<% $hashref->{eventpart} ? $hashref->{eventpart} : "(NEW)" %> % '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' => '', +% 'weight' => 30, +% }, +% % 'realtime-card' => { % 'name' => 'Run card with a Business::OnlinePayment realtime gateway', % 'code' => '$cust_bill->realtime_card();',