summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2015-01-07 14:23:49 -0500
committerJeremy Davis <jeremyd@freeside.biz>2015-01-07 14:23:49 -0500
commit7c5561b797cab20e0c579340c8b6cd6061d1a3ca (patch)
treefea4d799c75d0ba5a8bc79ba57cd6cb7f3a11650
parent51b14ce43f6cbf9f389ed7eb97565d609b167364 (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?