X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprocess%2Felements%2Fsvc_Common.html;h=55ecc5f79a64d6bfd02e51651b6c675aa87f16da;hb=bb9d757fad2caf10437ddea9feee3a15e5ec3a3b;hp=e1b7cbe1aef2fbffe9a7404ea476216cba5d3934;hpb=8c39c41a00e15164ea306bfd73b2ae187dade9a5;p=freeside.git 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';