From 1fc8b74ee30a0bc8bc800713bff9ccc9983527e5 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 27 Nov 2005 21:59:24 +0000 Subject: per-agent billco spools --- httemplate/edit/part_bill_event.cgi | 79 +++++++++++++++++++++++++------------ 1 file changed, 53 insertions(+), 26 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/part_bill_event.cgi b/httemplate/edit/part_bill_event.cgi index 7e27bd400..64a82493a 100755 --- a/httemplate/edit/part_bill_event.cgi +++ b/httemplate/edit/part_bill_event.cgi @@ -223,7 +223,7 @@ tie my %events, 'Tie::IxHash', );', 'html' => ''. - ''. + ''. ''. - ''. - ''. - '
Format ("default" or "billco"):
Format ("default" or "billco"): '. ''. - ''. - '
For destination: '. - ''. - '
', + 'code' => '$cust_bill->spool_csv( + \'format\' => \'%%%spoolformat%%%\', + \'dest\' => \'%%%spooldest%%%\', + \'agent_spools\' => \'%%%spoolagent_spools%%%\', + );', + 'html' => sub { + my $plandata = shift; + + my $html = + ''. + ''. + ''. + ''. + ''. + ''. + ''. + '
Format: '. + ''. + '
For destination: '. + ''. + '
Individual per-agent spools? {'spoolagent_spools'} ? 'CHECKED' : '' ). + '>'. + '
'; + + $html; + }, 'weight' => 50, }, -- cgit v1.2.1