[freeside-commits] branch FREESIDE_3_BRANCH updated. 7c5561b797cab20e0c579340c8b6cd6061d1a3ca

Jeremy Davis jeremyd at 420.am
Wed Jan 7 11:24:01 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  7c5561b797cab20e0c579340c8b6cd6061d1a3ca (commit)
      from  51b14ce43f6cbf9f389ed7eb97565d609b167364 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7c5561b797cab20e0c579340c8b6cd6061d1a3ca
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Wed Jan 7 14:23:49 2015 -0500

    Ticket #32906 A2billing credit limit

diff --git a/FS/FS/part_export/a2billing.pm b/FS/FS/part_export/a2billing.pm
index 6b3c315..f0e979f 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?

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_export/a2billing.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list