event option, #16382
[freeside.git] / FS / FS / part_event / Action / cust_bill_spool_csv.pm
index 43d2300..1504a4f 100644 (file)
@@ -15,18 +15,10 @@ sub option_fields {
   (
     'spoolformat'       => { label   => 'Format',
                              type    => 'select',
-                             options => ['default', 'billco'],
+                             options => ['default', 'billco', 'oneline'],
                              option_labels => { 'default' => 'Default',
                                                 'billco'  => 'Billco',
-                                              },
-                           },
-    'spooldest'         => { label   => 'For destination',
-                             type    => 'select',
-                             options => [ '', qw( POST EMAIL FAX ) ],
-                             option_labels => { ''      => '(all)',
-                                                'POST'  => 'Postal Mail',
-                                                'EMAIL' => 'Email',
-                                                'FAX'   => 'Fax',
+                                                'oneline' => 'One line',
                                               },
                            },
     'spoolbalanceover'  => { label =>
@@ -50,7 +42,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'),
   );