From 35571f30f46e8743b54fcb887fbc4fdeca2d7a33 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 30 May 2008 03:55:52 +0000 Subject: 1.7 sucks. add a "balance over" option to the 1.7 style agent-specific invoice send event --- httemplate/edit/part_bill_event.cgi | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'httemplate') diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi index 3b6b06b92..7c4b8a8f5 100755 --- a/httemplate/edit/part_bill_event.cgi +++ b/httemplate/edit/part_bill_event.cgi @@ -252,7 +252,11 @@ Invoice Event #<% $hashref->{eventpart} ? $hashref->{eventpart} : "(NEW)" %> % % '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 { % ' % @@ -271,6 +275,13 @@ Invoice Event #<% $hashref->{eventpart} ? $hashref->{eventpart} : "(NEW)" %> % % % +% +% +% +% %
if balance (this invoice and previous) over +% +% '. $money_char. ' +%
'; % }, % 'weight' => 50, -- cgit v1.2.1