[freeside-commits] branch master updated. db11c15281c8cf85c1d1ef7ffa645848cf55abdd

Mark Wells mark at 420.am
Thu Mar 19 16:04:57 PDT 2015


The branch, master has been updated
       via  db11c15281c8cf85c1d1ef7ffa645848cf55abdd (commit)
       via  53395085fc5fcbb21515ce12817a426c60d62a41 (commit)
      from  e18263db61c9695eb4c139f23c79730fd7659ad6 (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 db11c15281c8cf85c1d1ef7ffa645848cf55abdd
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Mar 19 16:04:44 2015 -0700

    add h_svc_circuit.pm, needed for h_labels to work, #34107, from #23879

diff --git a/FS/FS/h_svc_circuit.pm b/FS/FS/h_svc_circuit.pm
new file mode 100644
index 0000000..2a84a7a
--- /dev/null
+++ b/FS/FS/h_svc_circuit.pm
@@ -0,0 +1,33 @@
+package FS::h_svc_circuit;
+
+use strict;
+use vars qw( @ISA );
+use FS::h_Common;
+use FS::svc_circuit;
+
+ at ISA = qw( FS::h_Common FS::svc_circuit );
+
+sub table { 'h_svc_circuit' };
+
+=head1 NAME
+
+FS::h_svc_circuit - Historical telecom circuit service objects
+
+=head1 SYNOPSIS
+
+=head1 DESCRIPTION
+
+An FS::h_svc_circuit object represents a historical circuit service.
+FS::h_svc_circuit inherits from FS::h_Common and FS::svc_circuit.
+
+=head1 BUGS
+
+=head1 SEE ALSO
+
+L<FS::h_Common>, L<FS::svc_circuit>, L<FS::Record>, schema.html from the base
+documentation.
+
+=cut
+
+1;
+
diff --git a/FS/MANIFEST b/FS/MANIFEST
index 2ea404f..ca532ee 100644
--- a/FS/MANIFEST
+++ b/FS/MANIFEST
@@ -840,3 +840,5 @@ FS/legacy_cust_history.pm
 t/legacy_cust_history.t
 FS/quotation_pkg_tax.pm
 t/quotation_pkg_tax.t
+FS/h_svc_circuit.pm
+FS/h_svc_circuit.t
diff --git a/FS/t/h_svc_circuit.t b/FS/t/h_svc_circuit.t
new file mode 100644
index 0000000..89ec1e9
--- /dev/null
+++ b/FS/t/h_svc_circuit.t
@@ -0,0 +1,5 @@
+BEGIN { $| = 1; print "1..1\n" }
+END {print "not ok 1\n" unless $loaded;}
+use FS::h_svc_circuit;
+$loaded=1;
+print "ok 1\n";

commit 53395085fc5fcbb21515ce12817a426c60d62a41
Author: Mark Wells <mark at freeside.biz>
Date:   Thu Mar 19 16:04:26 2015 -0700

    fix use of FS::Conf, #29927

diff --git a/FS/FS/bill_batch.pm b/FS/FS/bill_batch.pm
index da6420c..854a90a 100644
--- a/FS/FS/bill_batch.pm
+++ b/FS/FS/bill_batch.pm
@@ -61,7 +61,8 @@ sub print_pdf {
   my @invoices = sort { $a->invnum <=> $b->invnum } $self->cust_bill_batch;
   return "No invoices in batch ".$self->batchnum.'.' if !@invoices;
 
-  my $duplex = FS::Conf->exists('invoice_print_pdf-duplex');
+  my $conf = FS::Conf->new;
+  my $duplex = $conf->exists('invoice_print_pdf-duplex');
 
   my $pdf_out;
   my $num = 0;

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

Summary of changes:
 FS/FS/bill_batch.pm                     |    3 ++-
 FS/FS/h_svc_circuit.pm                  |   33 +++++++++++++++++++++++++++++++
 FS/MANIFEST                             |    2 ++
 FS/t/{AccessRight.t => h_svc_circuit.t} |    2 +-
 4 files changed, 38 insertions(+), 2 deletions(-)
 create mode 100644 FS/FS/h_svc_circuit.pm
 copy FS/t/{AccessRight.t => h_svc_circuit.t} (81%)




More information about the freeside-commits mailing list