[freeside-commits] freeside/httemplate/view svc_phone.cgi, 1.15, 1.16
Ivan,,,
ivan at wavetail.420.am
Sun Mar 7 23:03:00 PST 2010
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.356, 1.357 Schema.pm, 1.196, 1.197 svc_phone.pm, 1.22, 1.23 svc_Domain_Mixin.pm, NONE, 1.1 svc_acct.pm, 1.287, 1.288
- Next message: [freeside-commits] freeside/httemplate/edit svc_phone.cgi,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv12478/httemplate/view
Modified Files:
svc_phone.cgi
Log Message:
domain names in netsapiens export (domain name association w/svc_phone), RT#5864
Index: svc_phone.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/svc_phone.cgi,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -d -r1.15 -r1.16
--- svc_phone.cgi 8 Feb 2010 15:37:29 -0000 1.15
+++ svc_phone.cgi 8 Mar 2010 07:02:58 -0000 1.16
@@ -1,16 +1,10 @@
<% include('elements/svc_Common.html',
'table' => 'svc_phone',
- 'fields' => [qw(
- countrycode
- phonenum
- pbx_title
- sip_password
- pin
- phone_name
- )],
+ 'fields' => \@fields,
'labels' => {
'countrycode' => 'Country code',
'phonenum' => 'Phone number',
+ 'domain' => 'Domain',
'pbx_title' => 'PBX',
'sip_password' => 'SIP password',
'pin' => 'PIN',
@@ -21,6 +15,12 @@
%>
<%init>
+my $conf = new FS::Conf;
+
+my @fields = qw( countrycode phonenum );
+push @fields, 'domain' if $conf->exists('svc_phone-domain');
+push @fields, qw( pbx_title sip_password pin phone_name );
+
my $html_foot = sub {
my $svc_phone = shift;
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.356, 1.357 Schema.pm, 1.196, 1.197 svc_phone.pm, 1.22, 1.23 svc_Domain_Mixin.pm, NONE, 1.1 svc_acct.pm, 1.287, 1.288
- Next message: [freeside-commits] freeside/httemplate/edit svc_phone.cgi,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list