RT# 75095 - fixed ooma format to import all charges, and unified import process to...
[freeside.git] / FS / FS / cust_main / import_charges / simple.pm
1 package FS::cust_main::import_charges::simple;
2
3 use strict;
4 use base qw( FS::cust_main::Import_Charges );
5 use vars qw ( %info );
6
7 # simple field format
8 my @fields =  ('custnum', 'agent_custid', 'amount', 'pkg');
9 # hash of charges (pkg) to charge.  if empty charge them all.
10 # '911 services' => '1',
11 my $charges = {};
12
13 %info = (
14   'fields'   => [@fields],
15   'charges'  => $charges,
16   'name'     => 'Simple',
17   'weight'   => '1',
18   'disabled' => '',
19 );
20
21 1;