import torrus 1.0.9
[freeside.git] / FS / FS / part_event / Action / cust_bill_spool_csv.pm
index 4300b61..43d2300 100644 (file)
@@ -3,13 +3,9 @@ package FS::part_event::Action::cust_bill_spool_csv;
 use strict;
 use base qw( FS::part_event::Action );
 
-sub description {
-  'Spool CSV invoice data';
-}
+sub description { 'Spool CSV invoice data'; }
 
-sub deprecated {
-  1;
-}
+sub deprecated { 1; }
 
 sub eventtable_hashref {
   { 'cust_bill' => 1 };
@@ -39,13 +35,12 @@ sub option_fields {
                            },
     'spoolagent_spools' => { label => 'Individual per-agent spools',
                              type  => 'checkbox',
+                             value => '1',
                            },
   );
 }
 
-sub default_weight {
-  50;
-}
+sub default_weight { 50; }
 
 sub do_action {
   my( $self, $cust_bill ) = @_;