projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71696: OFM Request for additional action on Billing Events [msgclass limit, v4+ only]
[freeside.git]
/
FS
/
FS
/
part_event
/
Action
/
cust_bill_send_csv_ftp.pm
diff --git
a/FS/FS/part_event/Action/cust_bill_send_csv_ftp.pm
b/FS/FS/part_event/Action/cust_bill_send_csv_ftp.pm
index
71bbaa8
..
56ba680
100644
(file)
--- a/
FS/FS/part_event/Action/cust_bill_send_csv_ftp.pm
+++ b/
FS/FS/part_event/Action/cust_bill_send_csv_ftp.pm
@@
-2,6
+2,7
@@
package FS::part_event::Action::cust_bill_send_csv_ftp;
use strict;
use base qw( FS::part_event::Action );
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'; }
sub description { 'Upload CSV invoice data to an FTP server'; }
@@
-15,11
+16,7
@@
sub option_fields {
(
'ftpformat' => { label => 'Format',
type =>'select',
(
'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',
},
'ftpserver' => 'FTP server',
'ftpusername' => 'FTP username',