summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2015-01-07 15:46:34 -0500
committerJeremy Davis <jeremyd@freeside.biz>2015-01-07 15:46:34 -0500
commita06c3c79e589012363e0cc07abe737ae01b9b5d2 (patch)
tree44d1a4cb81407e2a2c6bdcc2346cb21f9ee8f8b1
parent7c5561b797cab20e0c579340c8b6cd6061d1a3ca (diff)
Ticket #32912 A2billing billing types
-rw-r--r--FS/FS/part_export/a2billing.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/a2billing.pm b/FS/FS/part_export/a2billing.pm
index f0e979f83..e0297161f 100644
--- 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',
- options => ['monthly', 'weekly']
+ options => ['Dial Out Rate', 'Free']
},
'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,
- billingtype => ($self->option('billtype') eq 'weekly' ? 1 : 0),
+ billingtype => ($self->option('billtype') eq 'Dial Out Rate' ? 2 : 3),
activated => 1,
);