diff options
author | levinse <levinse> | 2011-06-06 20:00:30 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-06-06 20:00:30 +0000 |
commit | d3571e2e461134673e875d70c2ca7a9c941761bb (patch) | |
tree | f8183379f71c4e83163c44ad6a9003cd86238a9a | |
parent | dbbae42d0eeb5098ae5d213d17aadde2476e078c (diff) |
undo last commit, RT12557
-rw-r--r-- | FS/FS/part_event/Action/cust_bill_spool_csv.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/FS/FS/part_event/Action/cust_bill_spool_csv.pm b/FS/FS/part_event/Action/cust_bill_spool_csv.pm index 11ecbc555..43d230033 100644 --- a/FS/FS/part_event/Action/cust_bill_spool_csv.pm +++ b/FS/FS/part_event/Action/cust_bill_spool_csv.pm @@ -20,6 +20,15 @@ sub option_fields { 'billco' => 'Billco', }, }, + 'spooldest' => { label => 'For destination', + type => 'select', + options => [ '', qw( POST EMAIL FAX ) ], + option_labels => { '' => '(all)', + 'POST' => 'Postal Mail', + 'EMAIL' => 'Email', + 'FAX' => 'Fax', + }, + }, 'spoolbalanceover' => { label => 'If balance (this invoice and previous) over', type => 'money', @@ -41,6 +50,7 @@ sub do_action { $cust_bill->spool_csv( 'format' => $self->option('spoolformat'), + 'dest' => $self->option('spooldest'), 'balanceover' => $self->option('spoolbalanceover'), 'agent_spools' => $self->option('spoolagent_spools'), ); |