[freeside-commits] branch master updated. bb9d757fad2caf10437ddea9feee3a15e5ec3a3b

Ivan ivan at 420.am
Mon Dec 9 23:38:14 PST 2013


The branch, master has been updated
       via  bb9d757fad2caf10437ddea9feee3a15e5ec3a3b (commit)
      from  8c39c41a00e15164ea306bfd73b2ae187dade9a5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bb9d757fad2caf10437ddea9feee3a15e5ec3a3b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Dec 9 23:38:13 2013 -0800

    on-the-fly alarm vendor / type / CS adding, RT#23694

diff --git a/httemplate/edit/process/elements/svc_Common.html b/httemplate/edit/process/elements/svc_Common.html
index e1b7cbe..55ecc5f 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';

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/process/elements/svc_Common.html |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list