% include('/elements/header.html', 'Phone number (DID) import') %>
Import a file containing phone numbers (DIDs).
<% include( '/elements/form-file_upload.html',
'name' => 'PhonenumImportForm',
'action' => 'process/phone_avail-import.html',
'num_files' => 1,
'fields' => [ 'format', 'availbatch', 'exportnum', 'countrycode' ],
'message' => 'DID import successful',
'url' => $p."search/phone_avail.html?availbatch=$availbatch",
)
%>
<% &ntable("#cccccc", 2) %>
<% include( '/elements/tr-select-table.html',
'table' => 'part_export',
'name_col' => 'machine',
'label' => 'Export',
'empty_label' => 'Select export',
'hashref' => { 'exporttype' => 'internal_diddb', },
#'label_callback' =>
)
%>