diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-12-09 23:38:15 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-12-09 23:38:15 -0800 |
commit | 7d01a5cb2f6bacca1944a2666d3600c4c23585ba (patch) | |
tree | b1745f2e5e555f2263d26f4a1a338cb229b4efeb | |
parent | 63d22d5cf01cb22b92ef7393388ea175d675b13e (diff) |
on-the-fly alarm vendor / type / CS adding, RT#23694
-rw-r--r-- | httemplate/edit/process/elements/svc_Common.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/process/elements/svc_Common.html b/httemplate/edit/process/elements/svc_Common.html index e1b7cbe1a..55ecc5f79 100644 --- a/httemplate/edit/process/elements/svc_Common.html +++ b/httemplate/edit/process/elements/svc_Common.html @@ -11,6 +11,9 @@ my %opt = @_; my $table = $opt{'table'}; $opt{'fields'} ||= [ fields($table) ]; push @{ $opt{'fields'} }, qw( pkgnum svcpart ); +push @{ $opt{'fields'} }, @{ "FS::$table"->table_info->{'addl_process_fields'} } + if UNIVERSAL::can("FS::$table", 'table_info') + && "FS::$table"->table_info->{'addl_process_fields'}; foreach (fields($table)) { if ( $cgi->param($_.'_classnum') ) { push @{ $opt{'fields'} }, $_.'_classnum'; |