cust_bill_spool_csv.pm: remove invoice destination stuff, RT12557
authorlevinse <levinse>
Mon, 6 Jun 2011 19:53:52 +0000 (19:53 +0000)
committerlevinse <levinse>
Mon, 6 Jun 2011 19:53:52 +0000 (19:53 +0000)
FS/FS/part_event/Action/cust_bill_spool_csv.pm

index 43d2300..11ecbc5 100644 (file)
@@ -20,15 +20,6 @@ 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',
@@ -50,7 +41,6 @@ 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'),
   );