beginning of prospect/CRM/contact work
[freeside.git] / httemplate / edit / svc_phone.cgi
index 958558b..d7629ab 100644 (file)
@@ -1,11 +1,21 @@
 <% include( 'elements/svc_Common.html',
                'name'     => 'Phone number',
                'table'    => 'svc_phone',
-               'fields'   => [qw( countrycode phonenum pin )],
+               'fields'   => [ 'countrycode',
+                               { field => 'phonenum',
+                                 type  => 'select-did',
+                                 label => 'Phone number',
+                               },
+                               'sip_password',
+                               'pin',
+                               'phone_name',
+                             ],
                'labels'   => {
-                               'countrycode' => 'Country code',
-                               'phonenum'    => 'Phone number',
-                               'pin'         => 'PIN',
+                               'countrycode'  => 'Country code',
+                               'phonenum'     => 'Phone number',
+                               'sip_password' => 'SIP password',
+                               'pin'          => 'Voicemail PIN',
+                               'phone_name'   => 'Name',
                              },
            )
 %>