use strict;
use base qw( FS::part_event::Action );
+use FS::Misc::Invoicing qw( spool_formats );
sub description { 'Upload CSV invoice data to an FTP server'; }
(
'ftpformat' => { label => 'Format',
type =>'select',
- options => ['default', 'billco', 'oneline'],
- option_labels => { 'default' => 'Default',
- 'billco' => 'Billco',
- 'oneline' => 'One line',
- },
+ options => [ spool_formats() ],
},
'ftpserver' => 'FTP server',
'ftpusername' => 'FTP username',