[freeside-commits] branch master updated. 7a577311abdb174c4a5b52bd5f0d751931097efd

Jeremy Davis jeremyd at 420.am
Wed Jan 7 12:45:31 PST 2015


The branch, master has been updated
       via  7a577311abdb174c4a5b52bd5f0d751931097efd (commit)
      from  8a1328258947f64e49b48a2fadd34366dacc4800 (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 7a577311abdb174c4a5b52bd5f0d751931097efd
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Wed Jan 7 15:44:49 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