locale/en/locales.pl ausgef<FC>hrt.
authorBernd Blessmann <bibi@online.de>
Sat, 6 Mar 2010 01:11:31 +0000 (02:11 +0100)
committerBernd Blessmann <bibi@online.de>
Sat, 6 Mar 2010 01:11:31 +0000 (02:11 +0100)
templates/webpages/do/stock_in_form_en.html
templates/webpages/do/stock_out_form_en.html
templates/webpages/generic/select_part_en.html
templates/webpages/wh/journal_filter_en.html
templates/webpages/wh/removal_parts_selection_en.html
templates/webpages/wh/report_filter_en.html
templates/webpages/wh/transfer_parts_selection_en.html
templates/webpages/wh/warehouse_selection_assembly_en.html
templates/webpages/wh/warehouse_selection_en.html
templates/webpages/wh/warehouse_selection_stock_en.html

index 6b95a47..277c7e4 100644 (file)
@@ -92,7 +92,9 @@
      <th class="listheading">Warehouse</th>
      <th class="listheading">Bin</th>
      <th class="listheading">Charge Number</th>
+     [% IF conf_show_best_before %]
      <th class="listheading">Best Before</th>
+     [% END %]
      <th align="right" class="listheading">Qty</th>
      <th align="right" class="listheading">Unit</th>
     </tr>
      <td>[% HTML.escape(row.warehouse_description) %]</td>
      <td>[% HTML.escape(row.bin_description) %]</td>
      <td>[% HTML.escape(row.chargenumber) %]</td>
+     [% IF conf_show_best_before %]
      <td>[% HTML.escape(row.bestbefore) %]</td>
+     [% END %]
      <td>[% HTML.escape(LxERP.format_amount(row.qty)) %]</td>
      <td>[% HTML.escape(row.unit) %]</td>
 
 
      <td><select name="bin_id_[% loop.count %]" id="bin_id_[% loop.count %]"></select></td>
      <td><input name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]"></td>
-
+     [% IF conf_show_best_before %]
      <td>
        <input name="bestbefore_[% loop.count %]" id="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]" size="11" title="[% myconfig_dateformat %]">
        <input type="button" name="b_bestbefore_[% loop.count %]" id="bestbefore_trigger_[% loop.count %]" value="?">
      </td>
-
+     [% END %]
      <td><input name="qty_[% loop.count %]" size="12" value="[% HTML.escape(LxERP.format_amount(row.qty)) %]"></td>
 
      <td>
  </form>
 
  [%- IF NOT delivered %]
+ [% IF conf_show_best_before %]
   <script type="text/javascript">
     <!--
     [%- FOREACH row = STOCK_INFO %]
     [%- END %]
     //-->
   </script>
+  [% END %]
   [%- END %]
 
 </body>
index f2ad437..a1c7ce3 100644 (file)
@@ -60,7 +60,9 @@
      <th class="listheading">Warehouse</th>
      <th class="listheading">Bin</th>
      <th class="listheading">Charge Number</th>
+     [% IF conf_show_best_before %]
      <th class="listheading">Best Before</th>
+     [% END %]
      [%- UNLESS delivered %]
      <th align="right" class="listheading">Available qty</th>
      [%- END %]
@@ -74,8 +76,9 @@
      <td>[% HTML.escape(row.warehousedescription) %]</td>
      <td>[% HTML.escape(row.bindescription) %]</td>
      <td>[% HTML.escape(row.chargenumber) %]</td>
+     [% IF conf_show_best_before %]
      <td>[% HTML.escape(row.bestbefore) %]</td>
-
+     [% END %]
      [%- IF delivered %]
 
      <td>[% HTML.escape(LxERP.format_amount(row.stock_qty)) %]</td>
     <input type="hidden" name="warehouse_id_[% loop.count %]" value="[% HTML.escape(row.warehouse_id) %]">
     <input type="hidden" name="bin_id_[% loop.count %]"       value="[% HTML.escape(row.bin_id) %]">
     <input type="hidden" name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]">
+    [% IF conf_show_best_before %]
     <input type="hidden" name="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]">
+    [% END %]
     [%- END %]
    </table>
   </p>
index c06a200..01f6ae3 100644 (file)
      <th class="listheading">Charge number</th>
      [% END %]
      [% IF has_bestbefore %]
+     [% IF conf_show_best_before %]
      <th class="listheading">Best Before</th>
      [% END %]
+     [% END %]
      [% IF has_ean %]
      <th class="listheading">EAN</th>
      [% END %]
      </td>
      [% END %]
      [% IF has_bestbefore %]
+     [% IF conf_show_best_before %]
      <td>
       <input type="hidden" name="new_bestbefore_id_[% loop.count %]" value="[% HTML.escape(part.bestbefore_id) %]">
       <input type="hidden" name="new_bestbefore_[% loop.count %]" value="[% HTML.escape(part.bestbefore) %]">
       [% HTML.escape(part.bestbefore) %]
      </td>
      [% END %]
+     [% END %]
      [% IF has_ean %]
      <td>
       <input type="hidden" name="new_ean_[% loop.count %]" value="[% HTML.escape(part.ean) %]">
index 9c577cf..3db64d0 100644 (file)
         <th align="right" nowrap>Charge Number:</th>
         <td><input name="chargenumber" size=40></td>
        </tr>
+       [% IF conf_show_best_before %]
        <tr>
         <th align="right" nowrap>Best Before:</th>
         <td>
          <input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
         </td>
        </tr>
+       [% END %]
        <tr>
         <th align="right" nowrap>Transfer Quantity:</th>
         <td>
         <td nowrap><label for="l_partnumber">Part Number</label></td>
         <td align="right"><input name="l_chargenumber" id="l_chargenumber" class="checkbox" type="checkbox" value="Y" checked></td>
         <td nowrap><label for="l_chargenumber">Charge Number</label></td>
+        [% IF conf_show_best_before %]
         <td align="right"><input name="l_bestbefore" id="l_bestbefore" class="checkbox" type="checkbox" value="Y" checked></td>
         <td nowrap><label for="l_bestbefore">Best Before</label></td>
+        [% END %]
        </tr>
        <tr>
         <td align="right"><input name="l_trans_id" id="l_trans_id" class="checkbox" type="checkbox" value="Y"></td>
 
   <script type="text/javascript">
     <!--
+    [% IF conf_show_best_before %]
     Calendar.setup( {
       inputField : "bestbefore",
       ifFormat :"[% myconfig_jsc_dateformat %]",
       align : "BR",
       button : "bestbefore_trigger"
     });
+    [% END %]
 
     Calendar.setup( {
       inputField : "fromdate",
index b730253..34fec86 100644 (file)
@@ -34,7 +34,9 @@
      <th class="listheading">Part Number</th>
      <th class="listheading">Part Description</th>
      <th class="listheading">Charge Number</th>
+     [% IF conf_show_best_before %]
      <th class="listheading">Best Before</th>
+     [% END %]
      <th class="listheading">EAN</th>
      <th class="listheading">Available qty</th>
      <th class="listheading">Removal qty</th>
      <input type="hidden" name="partnumber_[% loop.count %]" value="[% HTML.escape(row.partnumber) %]">
      <input type="hidden" name="partdescription_[% loop.count %]" value="[% HTML.escape(row.partdescription) %]">
      <input type="hidden" name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]">
+     [% IF conf_show_best_before %]
      <input type="hidden" name="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]">
+     [% END %]
      <input type="hidden" name="ean_[% loop.count %]" value="[% HTML.escape(row.ean) %]">
      <td>[% HTML.escape(row.bindescription) %]</td>
      <td>[% HTML.escape(row.partnumber) %]</td>
      <td>[% HTML.escape(row.partdescription) %]</td>
      <td>[% HTML.escape(row.chargenumber) %]</td>
+     [% IF conf_show_best_before %]
      <td>[% HTML.escape(row.bestbefore) %]</td>
+     [% END %]
      <td>[% HTML.escape(row.ean) %]</td>
      <td>[% HTML.escape(row.qty) %]</td>
      <td>
index e090018..633c188 100644 (file)
         <th align="right" nowrap>Charge Number:</th>
         <td><input name="chargenumber" size=40></td>
        </tr>
+       [% IF conf_show_best_before %]
        <tr>
         <th align="right" nowrap>Best Before:</th>
         <td>
          <input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
         </td>
        </tr>
+       [% END %]
        <tr>
         <th align="right" nowrap>Qty in stock:</th>
         <td>
         <td nowrap><label for="l_partnumber">Part Number</label></td>
         <td align="right"><input name="l_chargenumber" id="l_chargenumber" class="checkbox" type="checkbox" value="Y" checked></td>
         <td nowrap><label for="l_chargenumber">Charge Number</label></td>
+        [% IF conf_show_best_before %]
         <td align="right"><input name="l_bestbefore" id="l_bestbefore" class="checkbox" type="checkbox" value="Y" checked></td>
         <td nowrap><label for="l_bestbefore">Best Before</label></td>
+        [% END %]
        </tr>
 
        <tr><td colspan="4"><hr noshade height="1"></td></tr>
   </p>
  </form>
 
+ [% IF conf_show_best_before %]
  <script type="text/javascript">
    <!--
      Calendar.setup( {
      });
    //-->
  </script>
+ [% END %]
 
 </body>
 </html>
index f2d5fa3..2915609 100644 (file)
@@ -66,7 +66,9 @@
      <th class="listheading">Part Number</th>
      <th class="listheading">Part Description</th>
      <th class="listheading">Charge Number</th>
+     [% IF conf_show_best_before %]
      <th class="listheading">Best Before</th>
+     [% END %]
      <th class="listheading">EAN</th>
      <th class="listheading">Available qty</th>
      <th class="listheading" colspan="2">Transfer qty</th>
      <input type="hidden" name="partnumber_[% loop.count %]" value="[% HTML.escape(row.partnumber) %]">
      <input type="hidden" name="partdescription_[% loop.count %]" value="[% HTML.escape(row.partdescription) %]">
      <input type="hidden" name="chargenumber_[% loop.count %]" value="[% HTML.escape(row.chargenumber) %]">
+     [% IF conf_show_best_before %]
      <input type="hidden" name="bestbefore_[% loop.count %]" value="[% HTML.escape(row.bestbefore) %]">
+     [% END %]
      <input type="hidden" name="ean_[% loop.count %]" value="[% HTML.escape(row.ean) %]">
      <td>[% HTML.escape(row.bindescription) %]</td>
      <td>[% HTML.escape(row.partnumber) %]</td>
      <td>[% HTML.escape(row.partdescription) %]</td>
      <td>[% HTML.escape(row.chargenumber) %]</td>
+     [% IF conf_show_best_before %]
      <td>[% HTML.escape(row.bestbefore) %]</td>
+     [% END %]
      <td>[% HTML.escape(row.ean) %]</td>
      <td>[% HTML.escape(row.qty) %]</td>
      <td><input name="qty_[% loop.count %]" size="8" style="text-align: right"></td>
index 095df62..ddbdcd6 100644 (file)
      <td><input name="chargenumber" size="30" value="[% HTML.escape(chargenumber) %]"></td>
     </tr>
 
+    [% IF conf_show_best_before %]
     <tr>
      <th align="right" nowrap>Best Before</th>
      <td>
        <input name="bestbefore" id="bestbefore" size="11" value="[% HTML.escape(bestbefore) %]" title="[% myconfig_dateformat %]">
        <input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
-       </td>
+     </td>
     </tr>
+    [% END %]
 
     <tr>
      <th align="right" nowrap>Quantity</th>
   </p>
  </form>
 
+ [% IF conf_show_best_before %]
  <script type="text/javascript">
    <!--
      Calendar.setup( {
      });
    //-->
  </script>
+ [% END %]
 
 </body>
 </html>
index 34914e7..6266915 100644 (file)
      <td><input name="chargenumber" size="30"></td>
     </tr>
 
+    [% IF conf_show_best_before %]
     <tr>
      <th align="right" nowrap>Best Before</th>
      <td>
        <input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
      </td>
     </tr>
+    [% END %]
 
     <tr>
      <th align="right" nowrap>EAN</th>
   </p>
  </form>
 
+ [% IF conf_show_best_before %]
  <script type="text/javascript">
    <!--
      Calendar.setup( {
      });
    //-->
  </script>
+ [% END %]
 
 </body>
 </html>
index 6b0076e..559efc8 100644 (file)
      <td><input name="chargenumber" size="30" value="[% HTML.escape(chargenumber) %]"></td>
     </tr>
 
+    [% IF conf_show_best_before %]
     <tr>
      <th align="right" nowrap>Best Before</th>
      <td>
        <input type="button" name="b_bestbefore" id="bestbefore_trigger" value="?">
      </td>
     </tr>
+    [% END %]
 
     <tr>
      <th align="right" nowrap>EAN</th>
   </p>
  </form>
 
+ [% IF conf_show_best_before %]
  <script type="text/javascript">
    <!--
      Calendar.setup( {
      });
    //-->
  </script>
+  [% END %]
 
 </body>
 </html>