projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a13282
)
Ticket #32912 A2billing billing types
author
Jeremy Davis
<jeremyd@freeside.biz>
Wed, 7 Jan 2015 20:44:49 +0000
(15:44 -0500)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Wed, 7 Jan 2015 20:44:49 +0000
(15:44 -0500)
FS/FS/part_export/a2billing.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/a2billing.pm
b/FS/FS/part_export/a2billing.pm
index
f0e979f
..
e029716
100644
(file)
--- a/
FS/FS/part_export/a2billing.pm
+++ b/
FS/FS/part_export/a2billing.pm
@@
-24,7
+24,7
@@
tie %options, 'Tie::IxHash',
'credit' => { label=>'Default credit limit' },
'billtype' => {label=>'Billing type',
type => 'select',
'credit' => { label=>'Default credit limit' },
'billtype' => {label=>'Billing type',
type => 'select',
- options => ['
monthly', 'weekly
']
+ options => ['
Dial Out Rate', 'Free
']
},
'debug' => { label=>'Enable debugging', type=>'checkbox' }
;
},
'debug' => { label=>'Enable debugging', type=>'checkbox' }
;
@@
-222,7
+222,7
@@
sub export_insert {
id_cc_country => $cc_country_id,
iduser => $cc_card_id,
did => $svc->phonenum,
id_cc_country => $cc_country_id,
iduser => $cc_card_id,
did => $svc->phonenum,
- billingtype => ($self->option('billtype') eq '
weekly' ? 1 : 0
),
+ billingtype => ($self->option('billtype') eq '
Dial Out Rate' ? 2 : 3
),
activated => 1,
);
activated => 1,
);