X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-did.html;h=a69450c2a43e1405ce4b02c92847fec2bed55906;hb=dac4bb8dc3fcdd36fdcaf445c12134103a9d599e;hp=999274feae905c4711ba544396717ab8f74300dd;hpb=9c7dee35f91a386fcce14cb6c3e9d23ba3eee8af;p=freeside.git diff --git a/httemplate/elements/select-did.html b/httemplate/elements/select-did.html index 999274fea..a69450c2a 100644 --- a/httemplate/elements/select-did.html +++ b/httemplate/elements/select-did.html @@ -3,55 +3,91 @@ Example: include('/elements/select-did.html', - 'field' => 'phonenum', + #can't actuall change from phonenum yet# 'field' => 'phonenum', + 'svcpart' => 5, + #OR + 'object' => $svc_phone, ); %doc> % if ( $use_selector ) { +% if ( $export->option('restrict_selection') eq 'non-tollfree' +% || !$export->option('restrict_selection') ) {
+ |
<% include('/elements/select-state.html',
- 'country' => $country,
- 'empty' => 'Select state',
+ 'prefix' => 'phonenum_', #$field.'_',
+ 'country' => $country,
+ 'svcpart' => $svcpart,
+ 'disable_empty' => 0,
+ 'empty_label' => 'Select state',
)
%>
+ State |
- + |
<% include('/elements/select-areacode.html',
- 'svcpart' => $svcpart,
- 'empty' => 'Select area code',
+ 'state_prefix' => 'phonenum_', #$field.'_',
+ 'svcpart' => $svcpart,
+ 'empty' => 'Select area code',
)
%>
+ Area code |
- + |
<% include('/elements/select-exchange.html',
'svcpart' => $svcpart,
'empty' => 'Select exchange',
)
%>
+ City / Exchange |
- + |
<% include('/elements/select-phonenum.html',
- 'svcpart' => $svcpart,
- 'empty' => 'Select phone number',
+ 'svcpart' => $svcpart,
+ 'empty' => 'Select phone number',
+ 'bulknum' => $bulknum,
+ 'multiple' => $multiple,
)
%>
+ Phone number |
State | -Area code | -City / Exchange | -Phone number | -