[freeside-commits] freeside/httemplate/view svc_phone.cgi, 1.12.2.3, 1.12.2.4
Ivan,,,
ivan at wavetail.420.am
Sun Mar 7 23:03:01 PST 2010
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.324.2.27, 1.324.2.28 Schema.pm, 1.168.2.20, 1.168.2.21 svc_phone.pm, 1.20.2.2, 1.20.2.3 svc_Domain_Mixin.pm, NONE, 1.1.2.2 svc_acct.pm, 1.268.2.18, 1.268.2.19
- Next message: [freeside-commits] freeside/httemplate/edit svc_phone.cgi, 1.7.4.1, 1.7.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view
In directory wavetail.420.am:/tmp/cvs-serv12482/httemplate/view
Modified Files:
Tag: FREESIDE_1_9_BRANCH
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.12.2.3
retrieving revision 1.12.2.4
diff -u -w -d -r1.12.2.3 -r1.12.2.4
--- svc_phone.cgi 8 Feb 2010 15:32:38 -0000 1.12.2.3
+++ svc_phone.cgi 8 Mar 2010 07:02:59 -0000 1.12.2.4
@@ -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.324.2.27, 1.324.2.28 Schema.pm, 1.168.2.20, 1.168.2.21 svc_phone.pm, 1.20.2.2, 1.20.2.3 svc_Domain_Mixin.pm, NONE, 1.1.2.2 svc_acct.pm, 1.268.2.18, 1.268.2.19
- Next message: [freeside-commits] freeside/httemplate/edit svc_phone.cgi, 1.7.4.1, 1.7.4.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list