%options = map { $_ => 1 } split m/:/, $form->{options};
- map { $form->{$_} = 1 if ($options{$_}) } qw(no_services no_assemblies stockable);
+ map { $form->{$_} = 1 if ($options{$_}) } qw(no_services no_assemblies);
$parts = Common->retrieve_parts(\%myconfig, $form, $order_by, $order_dir);
$form->{no_services} = 1;
$form->{no_assemblies} = 1;
- $form->{stockable} = 1;
my $parts = Common->retrieve_parts(\%myconfig, $form, 'description', 1);
<th align="right" nowrap>Artikelbeschreibung</th>
<td>
<input name="description" size="30" value="[% HTML.escape(description) %]">
- <input type="button" onclick="part_selection_window('partnumber', 'description', 'parts_id', 0, 'Form', 'no_services:no_assemblies:stockable')" value="?">
+ <input type="button" onclick="part_selection_window('partnumber', 'description', 'parts_id', 0, 'Form', 'no_services:no_assemblies')" value="?">
</td>
</tr>
<th align="right" nowrap><translate>Part Description</translate></th>
<td>
<input name="description" size="30" value="[% HTML.escape(description) %]">
- <input type="button" onclick="part_selection_window('partnumber', 'description', 'parts_id', 0, 'Form', 'no_services:no_assemblies:stockable')" value="?">
+ <input type="button" onclick="part_selection_window('partnumber', 'description', 'parts_id', 0, 'Form', 'no_services:no_assemblies')" value="?">
</td>
</tr>