[freeside-commits] branch FREESIDE_3_BRANCH updated. 61584eb8ac577096b12a43d375e99a2df7a09622
Mark Wells
mark at 420.am
Thu Mar 19 16:04:55 PDT 2015
The branch, FREESIDE_3_BRANCH has been updated
via 61584eb8ac577096b12a43d375e99a2df7a09622 (commit)
via 4a826597546477c5f3a6857d1851721568858403 (commit)
from ac659c649a8a59398e4dc76c0e25a71a055dc29c (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 61584eb8ac577096b12a43d375e99a2df7a09622
Author: Mark Wells <mark at freeside.biz>
Date: Thu Mar 19 16:02:57 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 91dfaaf..54bbe1a 100644
--- a/FS/MANIFEST
+++ b/FS/MANIFEST
@@ -791,3 +791,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 4a826597546477c5f3a6857d1851721568858403
Author: Mark Wells <mark at freeside.biz>
Date: Thu Mar 19 16:02:08 2015 -0700
fix use of FS::Conf, #29927
diff --git a/FS/FS/bill_batch.pm b/FS/FS/bill_batch.pm
index 239341c..fcafc4d 100644
--- a/FS/FS/bill_batch.pm
+++ b/FS/FS/bill_batch.pm
@@ -65,7 +65,8 @@ sub print_pdf {
qsearch('cust_bill_batch', { batchnum => $self->batchnum });
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