summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2015-01-07 14:22:19 -0500
committerJeremy Davis <jeremyd@freeside.biz>2015-01-07 14:22:19 -0500
commit8a1328258947f64e49b48a2fadd34366dacc4800 (patch)
treee69739c9f7da527ac8cbb2be8de2df1ff2a28782
parent2107b17616dd0bada097eebcdb8cea716edc55ba (diff)
Ticket #32906 A2billing credit limit
-rw-r--r--FS/FS/part_export/a2billing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/a2billing.pm b/FS/FS/part_export/a2billing.pm
index 6b3c31530..f0e979f83 100644
--- a/FS/FS/part_export/a2billing.pm
+++ b/FS/FS/part_export/a2billing.pm
@@ -131,7 +131,7 @@ sub export_insert {
username => $username,
useralias => $username,
uipass => $svc->_password,
- credit => $self->option('credit') || 0,
+ credit => $cust_main->credit_limit || $self->option('credit') || 0,
tariff => $part_pkg->option('a2billing_tariff'),
status => 1,
lastname => $cust_main->last, # $svc->finger?