summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/Mason.pm1
-rw-r--r--FS/FS/Schema.pm14
-rw-r--r--FS/MANIFEST2
-rwxr-xr-xhttemplate/edit/part_svc.cgi1
4 files changed, 18 insertions, 0 deletions
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index 7e9827cac..09f857add 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -226,6 +226,7 @@ if ( -e $addl_handler_use_file ) {
use FS::cust_category;
use FS::prospect_main;
use FS::contact;
+ use FS::svc_pbx;
# Sammath Naur
if ( $FS::Mason::addl_handler_use ) {
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index ab46d97eb..0ffc5bd42 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -2612,6 +2612,20 @@ sub tables_hashref {
'unique' => [ [ 'pkgnum', 'refnum' ] ],
'index' => [ [ 'pkgnum' ], [ 'refnum' ] ],
},
+
+ 'svc_pbx' => {
+ 'columns' => [
+ 'svcnum', 'int', '', '', '', '',
+ 'id', 'int', 'NULL', '', '', '',
+ 'title', 'varchar', 'NULL', $char_d, '', '',
+ 'max_extensions', 'int', 'NULL', '', '', '',
+ ],
+ 'primary_key' => 'svcnum',
+ 'unique' => [],
+ 'index' => [ [ 'id' ] ],
+ },
+
+
# name type nullability length default local
#'new_table' => {
diff --git a/FS/MANIFEST b/FS/MANIFEST
index 74b06a88c..0063e005f 100644
--- a/FS/MANIFEST
+++ b/FS/MANIFEST
@@ -474,3 +474,5 @@ t/contact_email.t
FS/prospect_main.pm
t/prospect_main.t
FS/o2m_Common.pm
+FS/svc_pbx.pm
+t/svc_pbx.t
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi
index 79703435c..20bc27780 100755
--- a/httemplate/edit/part_svc.cgi
+++ b/httemplate/edit/part_svc.cgi
@@ -19,6 +19,7 @@ Service definitions are the templates for items you offer to your customers.
<LI>svc_www - Virtual domain website
<LI>svc_broadband - Broadband/High-speed Internet service (always-on)
<LI>svc_phone - Customer phone numbers
+ <LI>svc_pbx - Customer PBXs
<LI>svc_external - Externally-tracked service
<!-- <LI>svc_charge - One-time charges (Partially unimplemented)
<LI>svc_wo - Work orders (Partially unimplemented)