Das Attribut "lagerfähig" gibt es in der offiziellen Version gar nicht.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 23 Jan 2008 15:49:11 +0000 (15:49 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 23 Jan 2008 15:49:11 +0000 (15:49 +0000)
bin/mozilla/common.pl
bin/mozilla/wh.pl
templates/webpages/wh/warehouse_selection_stock_de.html
templates/webpages/wh/warehouse_selection_stock_master.html

index f54ffef..d2ac1fa 100644 (file)
@@ -129,7 +129,7 @@ sub part_selection_internal {
 
   %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);
 
index 19f9d98..92b2889 100644 (file)
@@ -285,7 +285,6 @@ sub transfer_stock_update_part {
 
     $form->{no_services}   = 1;
     $form->{no_assemblies} = 1;
-    $form->{stockable}     = 1;
 
     my $parts = Common->retrieve_parts(\%myconfig, $form, 'description', 1);
 
index ace8564..745c5f2 100644 (file)
@@ -96,7 +96,7 @@
      <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>
 
index eac293c..a3475d1 100644 (file)
@@ -96,7 +96,7 @@
      <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>