Ticket A2billing credit limit fix
authorJeremy Davis <jeremyd@freeside.biz>
Thu, 8 Jan 2015 20:03:20 +0000 (15:03 -0500)
committerJeremy Davis <jeremyd@freeside.biz>
Thu, 8 Jan 2015 20:03:20 +0000 (15:03 -0500)
FS/FS/part_export/a2billing.pm

index e029716..7aab01a 100644 (file)
@@ -131,7 +131,7 @@ sub export_insert {
       username  => $username,
       useralias => $username,
       uipass    => $svc->_password,
-      credit    => $cust_main->credit_limit || $self->option('credit') || 0,
+      creditlimit    => $cust_main->credit_limit || $self->option('credit') || 0,
       tariff    => $part_pkg->option('a2billing_tariff'),
       status    => 1,
       lastname  => $cust_main->last, # $svc->finger?