[freeside-commits] branch FREESIDE_3_BRANCH updated. a06c3c79e589012363e0cc07abe737ae01b9b5d2

Jeremy Davis jeremyd at 420.am
Wed Jan 7 12:46:52 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  a06c3c79e589012363e0cc07abe737ae01b9b5d2 (commit)
      from  7c5561b797cab20e0c579340c8b6cd6061d1a3ca (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 a06c3c79e589012363e0cc07abe737ae01b9b5d2
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Wed Jan 7 15:46:34 2015 -0500

    Ticket #32912 A2billing billing types

diff --git a/FS/FS/part_export/a2billing.pm b/FS/FS/part_export/a2billing.pm
index f0e979f..e029716 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,
     );
 

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

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




More information about the freeside-commits mailing list