projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
echeck options to hide routing number and add account owner name, RT#13885
[freeside.git]
/
httemplate
/
browse
/
part_device.html
diff --git
a/httemplate/browse/part_device.html
b/httemplate/browse/part_device.html
index
5c8fde3
..
69387dd
100644
(file)
--- a/
httemplate/browse/part_device.html
+++ b/
httemplate/browse/part_device.html
@@
-8,12
+8,20
@@
],
'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',
],
'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;
+ '';
+ },
],
'links' => [ $link,
$link,
],
'links' => [ $link,
$link,
+ '',
],
)
%>
],
)
%>