summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-05-31 23:24:52 -0700
committerMark Wells <mark@freeside.biz>2015-05-31 23:24:52 -0700
commit6bc36a712285e9616a00ae38b136d7b8cd6cb58f (patch)
treedd1b6d580ef4c28ac634766acfd5e690388b7c77 /httemplate
parent09589754a8926ef064ea1d3d474a0fc3a8590101 (diff)
BroadWorks export, phase 1, #25927
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/browse/part_device.html7
-rw-r--r--httemplate/edit/part_device.html2
-rw-r--r--httemplate/view/svc_phone.cgi2
3 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/browse/part_device.html b/httemplate/browse/part_device.html
index 69387dd..12c19ed 100644
--- a/httemplate/browse/part_device.html
+++ b/httemplate/browse/part_device.html
@@ -8,7 +8,10 @@
],
'query' => { 'table' => 'part_device', },
'count_query' => 'SELECT COUNT(*) FROM part_device',
- 'header' => [ '#', 'Device type', 'Inventory Class', ],
+ 'header' => [ '#',
+ 'Device type',
+ 'Inventory Class',
+ 'External name', ],
'fields' => [ 'devicepart',
'devicename',
sub {
@@ -18,10 +21,12 @@
if $inventory_class;
'';
},
+ 'title',
],
'links' => [ $link,
$link,
'',
+ '',
],
)
%>
diff --git a/httemplate/edit/part_device.html b/httemplate/edit/part_device.html
index 1317c8d..75e6b0a 100644
--- a/httemplate/edit/part_device.html
+++ b/httemplate/edit/part_device.html
@@ -5,6 +5,7 @@
'devicepart' => 'Part number',
'devicename' => 'Device name',
'inventory_classnum' => 'Inventory class',
+ 'title' => 'External name',
},
'fields' => \@fields,
'viewall_dir' => 'browse',
@@ -34,6 +35,7 @@ foreach my $inventory_class ( @inventory_classes ) {
my @fields;
push @fields, 'devicename',
+ 'title',
{ field => 'inventory_classnum',
type => 'select',
options => \@inventory_classnums,
diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi
index aca4129..b71e094 100644
--- a/httemplate/view/svc_phone.cgi
+++ b/httemplate/view/svc_phone.cgi
@@ -146,7 +146,7 @@ my $html_foot = sub {
###
$e911.
- $devices.
+ #$devices.
$status.
join(' | ', @links ). '<BR>'.
join(' | ', @ilinks). '<BR>';