projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catch bad SMTP settings before they error out sending mail, RT#83775
[freeside.git]
/
httemplate
/
browse
/
part_device.html
diff --git
a/httemplate/browse/part_device.html
b/httemplate/browse/part_device.html
index
5c8fde3
..
12c19ed
100644
(file)
--- a/
httemplate/browse/part_device.html
+++ b/
httemplate/browse/part_device.html
@@
-8,12
+8,25
@@
],
'query' => { 'table' => 'part_device', },
'count_query' => 'SELECT COUNT(*) FROM part_device',
],
'query' => { 'table' => 'part_device', },
'count_query' => 'SELECT COUNT(*) FROM part_device',
- 'header' => [ '#', 'Device type' ],
+ 'header' => [ '#',
+ 'Device type',
+ 'Inventory Class',
+ 'External name', ],
'fields' => [ 'devicepart',
'devicename',
'fields' => [ 'devicepart',
'devicename',
+ sub {
+ my $part_device = shift;
+ my $inventory_class = $part_device->inventory_class;
+ return $inventory_class->classname
+ if $inventory_class;
+ '';
+ },
+ 'title',
],
'links' => [ $link,
$link,
],
'links' => [ $link,
$link,
+ '',
+ '',
],
)
%>
],
)
%>