1 <% include('/elements/header-popup.html', 'Confirm Bulk DID Order' ) %>
3 <% include('/elements/error.html') %>
5 <FORM NAME="did_order_confirm" ACTION="<% popurl(1) %>did_order_confirmed.html" METHOD=POST>
6 <INPUT TYPE="hidden" NAME="ordernum" VALUE="<% $ordernum %>">
7 <INPUT TYPE="hidden" NAME="action" VALUE="confirm">
11 <TD><% $ordernum %></TD>
13 <% include( '/elements/tr-input-text.html',
14 'field' => 'vendor_order_id',
15 'label' => 'Vendor Order #',
16 'value' => $did_order->vendor_order_id,
19 <% include( '/elements/tr-input-date-field.html', {
20 'name' => 'confirmed',
21 'label' => 'Order Confirmed',
22 'value' => $did_order->confirmed,
26 <TD COLSPAN="2"><INPUT TYPE="SUBMIT" value="Confirm"></TD>
33 unless $FS::CurrentUser::CurrentUser->access_right('Import');
35 $cgi->param('ordernum') =~ /^(\d+)$/ or die 'illegal ordernum';
37 my $did_order = qsearchs( {
38 'table' => 'did_order',
39 'hashref' => { 'ordernum' => $ordernum },
41 die "No order $ordernum" unless $did_order;