projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
multiple inventory classes for service columns, #21442
[freeside.git]
/
httemplate
/
edit
/
process
/
elements
/
svc_Common.html
diff --git
a/httemplate/edit/process/elements/svc_Common.html
b/httemplate/edit/process/elements/svc_Common.html
index
5a8afbd
..
06f4c00
100644
(file)
--- a/
httemplate/edit/process/elements/svc_Common.html
+++ b/
httemplate/edit/process/elements/svc_Common.html
@@
-10,5
+10,10
@@
my %opt = @_;
my $table = $opt{'table'};
$opt{'fields'} ||= [ fields($table) ];
push @{ $opt{'fields'} }, qw( pkgnum svcpart );
+foreach (fields($table)) {
+ if ( $cgi->param($_.'_classnum') ) {
+ push @{ $opt{'fields'} }, $_.'_classnum';
+ }
+}
</%init>