[freeside-commits] branch master updated. 59e51bb3862ae39b9bfb140b4e9e0421b4f426f5

Ivan ivan at 420.am
Thu Aug 21 00:32:13 PDT 2014


The branch, master has been updated
       via  59e51bb3862ae39b9bfb140b4e9e0421b4f426f5 (commit)
       via  b093b5be97ce0f1d51149839938307404ad83cb5 (commit)
      from  dd02aa5b102c66726401b3b69d2d91f2b6918d25 (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 59e51bb3862ae39b9bfb140b4e9e0421b4f426f5
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Aug 21 00:32:10 2014 -0700

    doc

diff --git a/FS/FS/part_export/broadband_sql.pm b/FS/FS/part_export/broadband_sql.pm
index 4f526c8..f4882c1 100644
--- a/FS/FS/part_export/broadband_sql.pm
+++ b/FS/FS/part_export/broadband_sql.pm
@@ -26,6 +26,7 @@ tie my %options, 'Tie::IxHash',
   'nodomain' => '',
   'no_machine' => 1,
   'notes'    => <<END
+Export broadband services to SQL databases.
 END
 );
 

commit b093b5be97ce0f1d51149839938307404ad83cb5
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Aug 21 00:31:08 2014 -0700

    whitespace

diff --git a/FS/FS/part_pkg/cdr_termination.pm b/FS/FS/part_pkg/cdr_termination.pm
index 9011846..5413c18 100644
--- a/FS/FS/part_pkg/cdr_termination.pm
+++ b/FS/FS/part_pkg/cdr_termination.pm
@@ -74,11 +74,11 @@ tie my %temporalities, 'Tie::IxHash',
 
   },
                        #cdr_column
-  'fieldorder' => [qw( recur_temporality recur_method cutoff_day ),
-                       FS::part_pkg::prorate_Mixin::fieldorder, 
-                       qw(
+  'fieldorder' => [ qw( recur_temporality recur_method cutoff_day ),
+                    FS::part_pkg::prorate_Mixin::fieldorder, 
+                    qw(
                        output_format usage_section summarize_usage usage_mandate
-                     )
+                    ),
                   ],
 
   'weight' => 48,
@@ -106,9 +106,8 @@ sub calc_recur {
   my $charges = 0;
 
   #find an svc_external record
-  my @svc_external = map  { $_->svc_x }
-                     grep { $_->part_svc->svcdb eq 'svc_external' }
-                     $cust_pkg->cust_svc;
+  my @svc_external = map { $_->svc_x }
+                     $cust_pkg->cust_svc_unsorted( svcdb=>'svc_external' );
 
   die "cdr_termination package has no svc_external service"
     unless @svc_external;

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

Summary of changes:
 FS/FS/part_export/broadband_sql.pm |    1 +
 FS/FS/part_pkg/cdr_termination.pm  |   13 ++++++-------
 2 files changed, 7 insertions(+), 7 deletions(-)




More information about the freeside-commits mailing list