+ FS::UI::Web::join_cust_main('cust_pkg', 'cust_pkg');
+
+my $sub_checkbox = sub {
+ my $item = $_[0];
+ my $itemnum = $item->itemnum;
+ return '' if $item->svcnum;
+
+ return qq!<INPUT NAME="itemnum" TYPE="checkbox" VALUE="$itemnum">!;
+};
+
+my $html_form = qq!
+<FORM NAME="itemForm" ACTION="$p/misc/inventory_item-move.cgi" METHOD="POST">
+<INPUT TYPE="hidden" NAME="classnum" VALUE="$classnum">
+<INPUT TYPE="hidden" NAME="avail" VALUE="! .$cgi->param('avail') . '">';
+#'
+
+my $html_foot = include('elements/checkbox-foot.html',
+ actions => [
+ { submit => 'Delete',
+ confirm => 'Delete the selected items?',
+ name => 'delete',
+ },
+ { submit => 'Move to',
+ name => 'move',
+ },
+ ],
+);
+
+$html_foot =~ s[</DIV>][];
+$html_foot .=
+ include('/elements/select-agent.html',
+ 'field' => 'move_agentnum',
+ 'disable_empty' => 1,
+ ) .
+ '</DIV></FORM>';