From: ivan Date: Tue, 20 Apr 2010 04:29:12 +0000 (+0000) Subject: communigate (phase 2): add a textarea type to edit/part_svc so you can set it to... X-Git-Tag: root_of_svc_elec_features~299 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=87310e447eba1cf399ea6f5ac980e6dfdaa7a6e3 communigate (phase 2): add a textarea type to edit/part_svc so you can set it to a default or fixed trailer that's multi-line, RT#7514 --- diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index 2a24da427..c8af5a89a 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -211,6 +211,8 @@ sub table_info { 'trailer' => { label => 'Mail trailer', type => 'textarea', + disable_inventory => 1, + disable_select => 1, }, 'acct_def_cgp_language' => { label => 'Acct. default language', diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 98ed9fec1..6fe015ab5 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -300,6 +300,12 @@ that field. % } #endif % $html .= ''; % +% } elsif ( $def->{type} eq 'textarea' ) { +% +% $html .= +% qq!'; +% % } elsif ( $def->{type} eq 'select-svc_pbx.html' ) { % % $html .= include('/elements/select-svc_pbx.html',