Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b2978890

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID b297889030215911d3f9adb500099bb1b1aa213f
  • Vorgänger 1213b27a
  • Nachfolger 2527bf70

Design-4.0: HTML-Anpassung an neues Design templates/webpages/wh/..

Neues kivitendo Design Aenderungen in templates/webpages/wh/..

Unterschiede anzeigen:

templates/webpages/wh/report_filter.html
69 69

  
70 70
--></script>
71 71

  
72
  <input type="hidden" name="nextsub" value="generate_report">
72
<form method="post" name="Form" action="wh.pl" id="form">
73
<div class="wrapper">
73 74

  
74
   <table>
75
<input type="hidden" name="nextsub" value="generate_report">
76

  
77
<table class="tbl-horizontal">
78
  <tbody>
75 79
    <tr>
76
     <th class="listheading" align="left" valign="top" colspan="6" nowrap>[% 'Filter' | $T8 %]</th>
80
      <th>[% 'Warehouse' | $T8 %]:</th>
81
      <td>
82
      <select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)" class="wi-normal">
83
        <option value="">---</option>
84
        [% FOREACH warehouse = WAREHOUSES %]
85
        <option value="[% HTML.escape(warehouse.id) %]">[% warehouse.description %]</option>
86
        [% END %]
87
      </select>
88
      </td>
77 89
    </tr>
78 90
    <tr>
79
     <td>
80
      <table>
81
       <tr>
82
        <th align="right" nowrap>[% 'Warehouse' | $T8 %]:</th>
83
        <td>
84
         <select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)">
85
          <option value="">---</option>
86
          [%- FOREACH warehouse = WAREHOUSES %]
87
          <option value="[% HTML.escape(warehouse.id) %]">[% warehouse.description %]</option>
88
          [%- END %]
89
         </select>
90
        </td>
91
       </tr>
92
       <tr>
93
        <th align="right" nowrap>[% 'Bin' | $T8 %]:</th>
94
        <td><select name="bin_id" id="bin_id"></select></td>
95
       </tr>
96
       <tr>
97
        <th align="right" nowrap>[% 'Part Number' | $T8 %]:</th>
98
        <td><input name="partnumber" size=20></td>
99
       </tr>
100
       <tr>
101
        <th align="right" nowrap>[% 'Parts Classification' | $T8 %]:</th>
102
        <td>[% P.part.select_classification('classification_id') %]</td>
103
       </tr>
104
       <tr>
105
        <th align="right" nowrap>[% 'Part Description' | $T8 %]:</th>
106
        <td><input name="description" size=40></td>
107
       </tr>
108
       <tr>
109
        <th align="right" nowrap>[% 'Charge Number' | $T8 %]:</th>
110
        <td><input name="chargenumber" size=40></td>
111
       </tr>
112
       [% IF INSTANCE_CONF.get_show_bestbefore %]
113
       <tr>
114
        <th align="right" nowrap>[% 'Best Before' | $T8 %]:</th>
115
        <td>
116
          [% L.date_tag('bestbefore') %]
117
        </td>
118
       </tr>
119
       [% END %]
120
       <tr>
121
        <th align="right" nowrap>[% 'Qty in stock' | $T8 %]:</th>
122
        <td>
123
         <select name="qty_op">
124
          <option value="dontcare">---</option>
125
          <option value="atleast">[% 'At least' | $T8 %]</option>
126
          <option value="atmost">[% 'At most' | $T8 %]</option>
127
          <option value="exact">[% 'Exact' | $T8 %]</option>
128
         </select>
129
         <input name="qty">
130
         <select name="qty_unit">
131
          [%- FOREACH unit = UNITS %]<option>[% unit.name %]</option>[% END %]
132
         </select>
133
        </td>
134
       </tr>
135
       <tr>
136
        <th align="right" nowrap>[% 'Stock Qty for Date' | $T8 %]:</th>
137
        <td>[% L.date_tag('date') %]</td>
138
       </tr>
139
      </table>
140
     </td>
91
      <th>[% 'Bin' | $T8 %]:</th>
92
      <td>
93
      <select name="bin_id" id="bin_id" class="wi-normal">
94
      </select>
95
      </td>
96
    </tr>
97
    <tr>
98
      <th>[% 'Part Number' | $T8 %]:</th>
99
      <td><input type="text" name="partnumber" class="wi-normal">
100
      </td>
101
    </tr>
102
    <tr>
103
      <th>[% 'Parts Classification' | $T8 %]:</th>
104
      <td>[% P.part.select_classification('classification_id', class='wi-normal') %]</td>
141 105
    </tr>
142

  
143
    <tr height="5"><td>&nbsp;</td></tr>
144

  
145 106
    <tr>
146
     <th class="listheading" align="left" valign="top" colspan="6" nowrap>[% 'Include in Report' | $T8 %]</th>
107
      <th>[% 'Part Description' | $T8 %]:</th>
108
      <td><input type="text" name="description" class="wi-normal">
109
      </td>
147 110
    </tr>
148 111
    <tr>
149
     <td>
150
      <input name="l_partdescription" type="hidden" value="Y">
151
      <input name="l_qty" type="hidden" value="Y">
152

  
153
      <table>
154
       <tr>
155
        <td align="right"><input name="l_warehousedescription" id="l_warehousedescription" class="checkbox" type="checkbox" value="Y" checked></td>
156
        <td nowrap><label for="l_warehousedescription">[% 'Warehouse' | $T8 %]</label></td>
157
        <td align="right"><input name="l_bindescription" id="l_bindescription" class="checkbox" type="checkbox" value="Y" checked></td>
158
        <td nowrap><label for="l_bindescription">[% 'Bin' | $T8 %]</label></td>
159
       </tr>
160

  
161
       <tr>
162
        <td align="right"><input name="l_partnumber" id="l_partnumber" class="checkbox" type="checkbox" value="Y" checked></td>
163
        <td nowrap><label for="l_partnumber">[% 'Part Number' | $T8 %]</label></td>
164
        <td align="right"><input name="l_chargenumber" id="l_chargenumber" class="checkbox" type="checkbox" value="Y" checked></td>
165
        <td nowrap><label for="l_chargenumber">[% 'Charge Number' | $T8 %]</label></td>
166
        [% IF INSTANCE_CONF.get_show_bestbefore %]
167
        <td align="right"><input name="l_bestbefore" id="l_bestbefore" class="checkbox" type="checkbox" value="Y" checked></td>
168
        <td nowrap><label for="l_bestbefore">[% 'Best Before' | $T8 %]</label></td>
112
      <th>[% 'Charge Number' | $T8 %]:</th>
113
      <td><input type="text" name="chargenumber" class="wi-normal">
114
      </td>
115
    </tr>
116
    [% IF INSTANCE_CONF.get_show_bestbefore %]
117
    <tr>
118
      <th>[% 'Best Before' | $T8 %]:</th>
119
      <td><span class="wi-date">[% L.date_tag('bestbefore') %]</span></td>
120
    </tr>
121
    [% END %]
122
    <tr>
123
      <th>[% 'Qty in stock' | $T8 %]:</th>
124
      <td>
125
      <select name="qty_op" class="wi-normal">
126
        <option value="dontcare">---</option>
127
        <option value="atleast">[% 'At least' | $T8 %]</option>
128
        <option value="atmost">[% 'At most' | $T8 %]</option>
129
        <option value="exact">[% 'Exact' | $T8 %]</option>
130
      </select>
131
      <input type="text" name="qty" class="wi-verysmall">
132
      <select name="qty_unit" class="wi-small">
133
        [% FOREACH unit = UNITS %]
134
          <option>[% unit.name %]</option>
169 135
        [% END %]
170
       </tr>
171

  
172
       <tr><td colspan="4"><hr noshade height="1"></td></tr>
173

  
174
       <tr>
175
        <td align="right"><input name="subtotal" id="subtotal" class="checkbox" type="checkbox" value="Y"></td>
176
        <td nowrap><label for="subtotal">[% 'Subtotal' | $T8 %]</label></td>
177
        <td align="right"><input name="include_empty_bins" id="include_empty_bins" class="checkbox" type="checkbox" value="Y"></td>
178
        <td nowrap><label for="include_empty_bins">[% 'Include empty bins' | $T8 %]</label></td>
179
        <td align="right"><input name="include_invalid_warehouses" id="include_invalid_warehouses" class="checkbox" type="checkbox" value="Y"></td>
180
        <td nowrap><label for="include_invalid_warehouses">[% 'Include invalid warehouses ' | $T8 %]</label></td>
181
       </tr>
182

  
183
       <tr>
184
        <td align="right"><input name="l_stock_value" id="l_stock_value" class="checkbox" type="checkbox" value="Y"></td>
185
        <td nowrap><label for="l_stock_value">[% 'Stock value' | $T8 %]</label></td>
186
        <td align="right"><input name="l_purchase_price" id="l_purchase_price" class="checkbox" type="checkbox" value="Y"></td>
187
        <td nowrap><label for="l_purchase_price">[% 'Purchase price' | $T8 %]</label></td>
188
       </tr>
189

  
190
      </table>
191
     </td>
136
      </select>
137
      </td>
138
    </tr>
139
    <tr>
140
      <th>[% 'Stock Qty for Date' | $T8 %]:</th>
141
      <td><span class="wi-date">[% L.date_tag('date') %]</span></td>
192 142
    </tr>
193
   </table>
194
 </form>
143
  </tbody>
144
</table>
145

  
146
</div><!-- /.wrapper -->
147

  
148
<div class="form-addition control-panel">
149
  <h3>[% 'Include in Report' | $T8 %]</h3>
150
  <input name="l_partdescription" type="hidden" value="Y">
151
  <input name="l_qty" type="hidden" value="Y">
152

  
153
  <div class="list col">
154
    <h4>[% 'Store & Articles' | $T8 %]</h4>
155
    <input name="l_warehousedescription" id="l_warehousedescription" type="checkbox" value="Y" checked>
156
    <label for="l_warehousedescription">[% 'Warehouse' | $T8 %]</label>
157
    <input name="l_bindescription" id="l_bindescription" type="checkbox" value="Y" checked>
158
    <label for="l_bindescription">[% 'Bin' | $T8 %]</label>
159
    <input name="l_partnumber" id="l_partnumber" type="checkbox" value="Y" checked>
160
    <label for="l_partnumber">[% 'Part Number' | $T8 %]</label>
161
    <input name="l_chargenumber" id="l_chargenumber" type="checkbox" value="Y" checked>
162
    <label for="l_chargenumber">[% 'Charge Number' | $T8 %]</label>
163
  </div>
164
  <div class="list col">
165
    <h4>[% 'Options' | $T8 %]</h4>
166
    [% IF INSTANCE_CONF.get_show_bestbefore %] <input name="l_bestbefore" id="l_bestbefore" type="checkbox" value="Y" checked>
167
    <label for="l_bestbefore">[% 'Best Before' | $T8 %]</label>
168
    [% END %] <input name="subtotal" id="subtotal" type="checkbox" value="Y">
169
    <label for="subtotal">[% 'Subtotal' | $T8 %]</label>
170
    <input name="include_empty_bins" id="include_empty_bins" type="checkbox" value="Y">
171
    <label for="include_empty_bins">[% 'Include empty bins' | $T8 %]</label>
172
    <input name="include_invalid_warehouses" id="include_invalid_warehouses" type="checkbox" value="Y">
173
    <label for="include_invalid_warehouses">[% 'Include invalid warehouses ' | $T8 %]</label>
174
  </div>
175
  <div class="list col">
176
    <h4>[% 'Values & Prices' | $T8 %]</h4>
177
    <input name="l_stock_value" id="l_stock_value" type="checkbox" value="Y">
178
    <label for="l_stock_value">[% 'Stock value' | $T8 %]</label>
179
    <input name="l_purchase_price" id="l_purchase_price" type="checkbox" value="Y">
180
    <label for="l_purchase_price">[% 'Purchase price' | $T8 %]</label>
181
  </div>
182
</div>
183
<!-- /.form-addition -->
184

  
185
</form>

Auch abrufbar als: Unified diff