5 [%- WAREHOUSE_FILTER = 1 %]
 
   6 [%- PROCESS 'common/select_warehouse_bin.html' %]
 
   8 <h1>[% title | html %]</h1>
 
  10 [%- INCLUDE 'common/flash.html' %]
 
  12 <form name="Form" method="post" action="controller.pl" id="form">
 
  16      <th class="listheading" align="left" valign="top" colspan="5" nowrap>[% 'Period:' | $T8 %]</th>
 
  19     <th align=left><input name=reporttype class=radio type=radio value="custom" checked>[% 'Customized Report' | $T8 %]</th>
 
  22     <th colspan=1>[% 'Year' | $T8 %]</th>
 
  23     <td><input name=year size=11 title="[% 'YYYY' | $T8 %]" value="[% year %]" class="initial_focus"></td>
 
  26     <td align=right> <b>[% 'Yearly' | $T8 %]</b> </td>
 
  27     <th align=left>[% 'Quarterly' | $T8 %]</th>
 
  28     <th align=left colspan=3>[% 'Monthly' | $T8 %]</th>
 
  31     <td align=right>  <input name=duetyp class=radio type=radio value="13" checked></td>
 
  32     <td><input name=duetyp class=radio type=radio value="A"> 1. [% 'Quarter' | $T8 %]</td>
 
  33     <td><input name=duetyp class=radio type=radio value="1"> [% 'January' | $T8 %]</td>
 
  34     <td><input name=duetyp class=radio type=radio value="5"> [% 'May' | $T8 %]</td>
 
  35     <td><input name=duetyp class=radio type=radio value="9"> [% 'September' | $T8 %]</td>
 
  38     <td align= right> </td>
 
  39     <td><input name=duetyp class=radio type=radio value="B"> 2. [% 'Quarter' | $T8 %]</td>
 
  40     <td><input name=duetyp class=radio type=radio value="2"> [% 'February' | $T8 %]</td>
 
  41     <td><input name=duetyp class=radio type=radio value="6"> [% 'June' | $T8 %]</td>
 
  42     <td><input name=duetyp class=radio type=radio value="10"> [% 'October' | $T8 %]</td>
 
  46     <td><input name=duetyp class=radio type=radio value="C"> 3. [% 'Quarter' | $T8 %]</td>
 
  47     <td><input name=duetyp class=radio type=radio value="3"> [% 'March' | $T8 %]</td>
 
  48     <td><input name=duetyp class=radio type=radio value="7"> [% 'July' | $T8 %]</td>
 
  49     <td><input name=duetyp class=radio type=radio value="11"> [% 'November' | $T8 %]</td>
 
  53     <td><input name=duetyp class=radio type=radio value="D"> 4. [% 'Quarter' | $T8 %]</td>
 
  54     <td><input name=duetyp class=radio type=radio value="4"> [% 'April' | $T8 %]</td>
 
  55     <td><input name=duetyp class=radio type=radio value="8"> [% 'August' | $T8 %]</td>
 
  56     <td><input name=duetyp class=radio type=radio value="12"> [% 'December' | $T8 %]</td>
 
  59     <td colspan="5"><hr size=3 noshade></td>
 
  62     <th align=left><input name=reporttype class=radio type=radio value="free">[% 'Free report period' | $T8 %]</th>
 
  63     <td align=left colspan=4>
 
  64       [% 'From' | $T8 %] [% L.date_tag('fromdate', fromdate) %]
 
  65       [% 'Bis' | $T8 %] [% L.date_tag('todate', todate) %]
 
  69      <th class="listheading" align="left" valign="top" colspan="5" nowrap>[% 'Filter' | $T8 %]</th>
 
  75         <th align="right" nowrap>[% 'Warehouse' | $T8 %]:</th>
 
  77          <select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(this.value, 0)">
 
  78           <option value="">---</option>
 
  79           [%- FOREACH warehouse = WAREHOUSES %]
 
  80           <option value="[% HTML.escape(warehouse.id) %]">[% warehouse.description %]</option>
 
  86         <th align="right" nowrap>[% 'Bin' | $T8 %]:</th>
 
  87         <td><select name="bin_id" id="bin_id"></select></td>
 
  90         <th align="right" nowrap>[% 'Part Number' | $T8 %]:</th>
 
  91         <td><input name="partnumber" size=20></td>
 
  94         <th align="right" nowrap>[% 'Part Description' | $T8 %]:</th>
 
  95         <td><input name="description" size=40></td>
 
  97 [% IF PARTSCLASSIFICATIONS %]
 
 100            [% L.select_tag('partsclassification',PARTSCLASSIFICATION,title_key="partsclassification") %]
 
 105         <th align="right" nowrap>[% 'Charge Number' | $T8 %]:</th>
 
 106         <td><input name="chargenumber" size=40></td>
 
 108        [% IF INSTANCE_CONF.get_show_bestbefore %]
 
 110         <th align="right" nowrap>[% 'Best Before' | $T8 %]:</th>
 
 112           [% L.date_tag('bestbefore') %]