Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b2978890

Von Hans Peter Schlaepfer vor mehr als 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/journal_filter.html
71 71
<form method="post" name="Form" action="wh.pl" id="form">
72 72
<div class="wrapper">
73 73

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

  
147
    <tr height="5"><td>&nbsp;</td></tr>
148

  
149 136
    <tr>
150
     <th class="listheading" align="left" valign="top" colspan="6" nowrap>[% 'Include in Report' | $T8 %]</th>
137
      <th>[% 'From Date' | $T8 %]</th>
138
      <td> <span class="wi-date">[% L.date_tag('fromdate') %]</span> </td>
151 139
    </tr>
152 140
    <tr>
153
     <td>
154
      <table>
155
       <tr>
156
        <td><input name="l_partdescription" id="l_partdescription" class="checkbox" type="hidden" value="Y" checked></td>
157
        <td nowrap><label for="l_partdescription">[% 'Part Description' | $T8 %]</label></td>
158
        <td><input name="l_qty" id="l_qty" class="checkbox" type="hidden" value="Y" checked></td>
159
        <td nowrap><label for="l_qty">[% 'Quantity' | $T8 %]</label></td>
160
       </tr>
161
       <tr>
162
        <td align="right"><input name="l_date" id="l_date" class="checkbox" type="checkbox" value="Y" checked></td>
163
        <td nowrap><label for="l_date">[% 'Date' | $T8 %]</label></td>
164
        <td align="right"><input name="l_partnumber" id="l_partnumber" class="checkbox" type="checkbox" value="Y" checked></td>
165
        <td nowrap><label for="l_partnumber">[% 'Part Number' | $T8 %]</label></td>
166
        <td align="right"><input name="l_chargenumber" id="l_chargenumber" class="checkbox" type="checkbox" value="Y" checked></td>
167
        <td nowrap><label for="l_chargenumber">[% 'Charge Number' | $T8 %]</label></td>
168
        [% IF INSTANCE_CONF.get_show_bestbefore %]
169
        <td align="right"><input name="l_bestbefore" id="l_bestbefore" class="checkbox" type="checkbox" value="Y" checked></td>
170
        <td nowrap><label for="l_bestbefore">[% 'Best Before' | $T8 %]</label></td>
171
        [% END %]
172
       </tr>
173
       <tr>
174
        <td align="right"><input name="l_trans_id" id="l_trans_id" class="checkbox" type="checkbox" value="Y"></td>
175
        <td nowrap><label for="l_trans_id">[% 'Trans Id' | $T8 %]</label></td>
176
        <td align="right"><input name="l_trans_type" id="l_trans_type" class="checkbox" type="checkbox" value="Y" checked></td>
177
        <td nowrap><label for="l_trans_type">[% 'Trans Type' | $T8 %]</label></td>
178
        <td align="right"><input name="l_comment" id="l_comment" class="checkbox" type="checkbox" value="Y"></td>
179
        <td nowrap><label for="l_comment">[% 'Comment' | $T8 %]</label></td>
180
       </tr>
181
       <tr>
182
        <td align="right"><input name="l_warehouse_from" id="l_warehouse_from" class="checkbox" type="checkbox" value="Y" checked></td>
183
        <td nowrap><label for="l_warehouse_from">[% 'Warehouse From' | $T8 %]</label></td>
184
        <td align="right"><input name="l_bin_from" id="l_bin_from" class="checkbox" type="checkbox" value="Y" checked></td>
185
        <td nowrap><label for="l_bin_from">[% 'Bin From' | $T8 %]</label></td>
186
        <td align="right"><input name="l_warehouse_to" id="l_warehouse_to" class="checkbox" type="checkbox" value="Y" checked></td>
187
        <td nowrap><label for="l_warehouse_to">[% 'Warehouse To' | $T8 %]</label></td>
188
        <td align="right"><input name="l_bin_to" id="l_bin_to" class="checkbox" type="checkbox" value="Y" checked></td>
189
        <td nowrap><label for="l_bin_to">[% 'Bin To' | $T8 %]</label></td>
190
       </tr>
191
       <tr>
192
        <td align="right"><input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y"></td>
193
        <td nowrap><label for="l_employee">[% 'Employee' | $T8 %]</label></td>
194
        <td align="right"><input name="l_oe_id" id="l_oe_id" class="checkbox" type="checkbox" value="Y"></td>
195
        <td nowrap><label for="l_oe_id">[% 'Document' | $T8 %]</label></td>
196
        <td align="right"><input name="l_projectnumber" id="l_projectnumber" class="checkbox" type="checkbox" value="Y" checked></td>
197
        <td nowrap><label for="l_projectnumber">[% 'Project Number' | $T8 %]</label></td>
198
       </tr>
199
      </table>
200
     </td>
141
      <th>[% 'To Date' | $T8 %]</th>
142
      <td> <span class="wi-date">[% L.date_tag('todate') %]</span> </td>
201 143
    </tr>
202
   </table>
203
 </form>
144
  </tbody>
145
</table>
146

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

  
149
<div class="form-addition control-panel">
150
<h3>[% 'Include in Report' | $T8 %]</h3>
151

  
152
<div class="col list">
153
<h4>[% 'Article data' | $T8 %]</h4>
154
  <div>
155
    <input name="l_partdescription" id="l_partdescription" type="checkbox" value="Y" checked>
156
    <label for="l_partdescription">[% 'Part Description' | $T8 %]</label>
157
  </div>
158
  <div>
159
    <input name="l_partnumber" id="l_partnumber" type="checkbox" value="Y" checked>
160
    <label for="l_partnumber">[% 'Part Number' | $T8 %]</label>
161
  </div>
162
  <div>
163
    <input name="l_chargenumber" id="l_chargenumber" type="checkbox" value="Y" checked>
164
    <label for="l_chargenumber">[% 'Charge Number' | $T8 %]</label>
165
  </div>
166
  <div>
167
    <input name="l_qty" id="l_qty" type="checkbox" value="Y" checked>
168
    <label for="l_qty">[% 'Quantity' | $T8 %]</label>
169
  </div>
170
</div>
171

  
172
<div class="col list">
173
<h4>[% 'Storage' | $T8 %]</h4>
174
  <div>
175
    <input name="l_warehouse_from" id="l_warehouse_from" type="checkbox" value="Y" checked>
176
    <label for="l_warehouse_from">[% 'Warehouse From' | $T8 %]</label>
177
  </div>
178
  <div>
179
    <input name="l_bin_from" id="l_bin_from" type="checkbox" value="Y" checked>
180
    <label for="l_bin_from">[% 'Bin From' | $T8 %]</label>
181
  </div>
182
  <div>
183
    <input name="l_warehouse_to" id="l_warehouse_to" type="checkbox" value="Y" checked>
184
    <label for="l_warehouse_to">[% 'Warehouse To' | $T8 %]</label>
185
  </div>
186
  <div>
187
    <input name="l_bin_to" id="l_bin_to" type="checkbox" value="Y" checked>
188
    <label for="l_bin_to">[% 'Bin To' | $T8 %]</label>
189
  </div>
190
</div>
191

  
192
<div class="col list">
193
<h4>[% 'Miscellaneous' | $T8 %]</h4>
194
  <div>
195
    <input name="l_date" id="l_date" type="checkbox" value="Y" checked>
196
    <label for="l_date">[% 'Date' | $T8 %]</label>
197
  </div>
198
  [% IF INSTANCE_CONF.get_show_bestbefore %]
199
    <div>
200
      <input name="l_bestbefore" id="l_bestbefore" type="checkbox" value="Y" checked>
201
      <label for="l_bestbefore">[% 'Best Before' | $T8 %]</label>
202
    </div>
203
  [% END %]
204
  <div>
205
    <input name="l_trans_id" id="l_trans_id" type="checkbox" value="Y">
206
    <label for="l_trans_id">[% 'Trans Id' | $T8 %]</label>
207
  </div>
208
  <div>
209
    <input name="l_trans_type" id="l_trans_type" type="checkbox" value="Y" checked>
210
    <label for="l_trans_type">[% 'Trans Type' | $T8 %]</label>
211
  </div>
212
  <div>
213
    <input name="l_comment" id="l_comment" type="checkbox" value="Y">
214
    <label for="l_comment">[% 'Comment' | $T8 %]</label>
215
  </div>
216
  <div>
217
    <input name="l_employee" id="l_employee" type="checkbox" value="Y">
218
    <label for="l_employee">[% 'Employee' | $T8 %]</label>
219
  </div>
220
  <div>
221
    <input name="l_oe_id" id="l_oe_id" type="checkbox" value="Y">
222
    <label for="l_oe_id">[% 'Document' | $T8 %]</label>
223
  </div>
224
  <div>
225
    <input name="l_projectnumber" id="l_projectnumber" type="checkbox" value="Y" checked>
226
    <label for="l_projectnumber">[% 'Project Number' | $T8 %]</label>
227
  </div>
228
</div>
229

  
230
</div><!-- /.form-addition -->
231

  
232

  
233
</form>
templates/webpages/wh/removal_parts_selection.html
10 10

  
11 11
  <p>[% 'Removal from warehouse' | $T8 %]: [% warehouse_description %]</p>
12 12

  
13
  <p>
14 13
   <table>
15 14
    <tr>
16 15
     <td>[% 'Select type of removal' | $T8 %]:</td>
17 16
     <td>
18 17
      <select name="transfer_type_id">
19
       [%- FOREACH type = TRANSFER_TYPES %]<option value="[% HTML.escape(type.id) %]">[% HTML.escape(type.description) %]</option>[% END %]
18
       [% FOREACH type = TRANSFER_TYPES %]<option value="[% HTML.escape(type.id) %]">[% HTML.escape(type.description) %]</option>[% END %]
20 19
      </select>
21 20
     </td>
22 21
    </tr>
......
25 24
     <td><input type="text" name="comment" size="60"></td>
26 25
    </tr>
27 26
   </table>
28
  </p>
29 27

  
30
  <p>
31 28
   <table>
32 29
    <tr>
33
     <th class="listheading">[% 'Bin' | $T8 %]</th>
34
     <th class="listheading">[% 'Part Number' | $T8 %]</th>
35
     <th class="listheading">[% 'Part Description' | $T8 %]</th>
36
     <th class="listheading">[% 'Charge Number' | $T8 %]</th>
30
     <th>[% 'Bin' | $T8 %]</th>
31
     <th>[% 'Part Number' | $T8 %]</th>
32
     <th>[% 'Part Description' | $T8 %]</th>
33
     <th>[% 'Charge Number' | $T8 %]</th>
37 34
     [% IF INSTANCE_CONF.get_show_bestbefore %]
38
     <th class="listheading">[% 'Best Before' | $T8 %]</th>
35
     <th>[% 'Best Before' | $T8 %]</th>
39 36
     [% END %]
40
     <th class="listheading">[% 'EAN' | $T8 %]</th>
41
     <th class="listheading">[% 'Available qty' | $T8 %]</th>
42
     <th class="listheading">[% 'Removal qty' | $T8 %]</th>
37
     <th>[% 'EAN' | $T8 %]</th>
38
     <th>[% 'Available qty' | $T8 %]</th>
39
     <th>[% 'Removal qty' | $T8 %]</th>
43 40
    </tr>
44 41
    [% FOREACH row = CONTENTS %]
45 42
    <tr class="listrow[% loop.count % 2 %]">
......
62 59
     <td>[% HTML.escape(row.ean) %]</td>
63 60
     <td>[% HTML.escape(row.qty) %]</td>
64 61
     <td>
65
      <input name="qty_[% loop.count %]">
62
      <input type="text" name="qty_[% loop.count %]">
66 63
      <select name="unit_[% loop.count %]">
67 64
       [% FOREACH unit = row.UNITS %]<option[% IF unit.selected %] selected[% END %]>[% HTML.escape(unit.name) %]</option>[% END %]
68 65
      </select>
69 66
     </td>
70 67
    </tr>
71

  
72 68
    [% END %]
73

  
74 69
    <input type="hidden" name="rowcount" value="[% CONTENTS.size %]">
75

  
76 70
    <tr><td colspan="7"><hr size="3" noshade></td></tr>
77

  
78 71
   </table>
79
  </p>
80 72
 </form>
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>
templates/webpages/wh/transfer_parts_selection.html
43 43

  
44 44
<p>[% 'Transfer from warehouse' | $T8 %]: [% warehouse_description %]</p>
45 45

  
46
  <p>
47
   <table>
46
<table class="tbl-horizontal">
47
  <tbody>
48 48
    <tr>
49 49
      <th>[% 'Select type of transfer' | $T8 %]:</th>
50 50
      <td>
......
66 66
  </tbody>
67 67
</table>
68 68

  
69
  <p>
70
   <table>
69
<table class="tbl-list">
70
  <thead>
71 71
    <tr>
72
     <th class="listheading">[% 'Source bin' | $T8 %]</th>
73
     <th class="listheading">[% 'Part Number' | $T8 %]</th>
74
     <th class="listheading">[% 'Part Description' | $T8 %]</th>
75
     <th class="listheading">[% 'Charge Number' | $T8 %]</th>
76
     [% IF INSTANCE_CONF.get_show_bestbefore %]
77
     <th class="listheading">[% 'Best Before' | $T8 %]</th>
78
     [% END %]
79
     <th class="listheading">[% 'EAN' | $T8 %]</th>
80
     <th class="listheading">[% 'Available qty' | $T8 %]</th>
81
     <th class="listheading" colspan="2">[% 'Transfer qty' | $T8 %]</th>
82
     <th class="listheading" colspan="2">[% 'Destination warehouse and bin' | $T8 %]</th>
72
      <th>[% 'Source bin' | $T8 %]</th>
73
      <th>[% 'Part Number' | $T8 %]</th>
74
      <th>[% 'Part Description' | $T8 %]</th>
75
      <th>[% 'Charge Number' | $T8 %]</th>
76
      [% IF INSTANCE_CONF.get_show_bestbefore %]
77
      <th>[% 'Best Before' | $T8 %]</th>
78
      [% END %]
79
      <th>[% 'EAN' | $T8 %]</th>
80
      <th>[% 'Available qty' | $T8 %]</th>
81
      <th colspan="2">[% 'Transfer qty' | $T8 %]</th>
82
      <th colspan="2">[% 'Destination warehouse and bin' | $T8 %]</th>
83 83
    </tr>
84

  
84
  </thead>
85
  <tbody>
85 86
    [% FOREACH row = CONTENTS %]
86 87
      <tr>
87 88
        <td>
......
124 125
        </td>
125 126
      </tr>
126 127
    [% END %]
128
  </tbody>
129
</table>
127 130

  
128 131
<input type="hidden" name="rowcount" value="[% CONTENTS.size %]">
129 132

  
templates/webpages/wh/warehouse_selection.html
62 62
  });
63 63
--></script>
64 64

  
65
 <form name="Form" method="post" action="wh.pl" id="form">
65
<form name="Form" method="post" action="wh.pl" id="form">
66
<div class="wrapper">
66 67

  
67 68
[% IF saved_message %]
68 69
  <p>[% saved_message %]</p>
......
70 71

  
71 72
<p>[% 'If you enter values for the part number and / or part description then only those bins containing parts whose part number or part description match your input will be shown.' | $T8 %]</p>
72 73

  
73
  <p>
74
   <table>
74
<table class="tbl-horizontal">
75
  <tbody>
75 76
    <tr>
76
     <th align="right" nowrap>[% 'Transfer from warehouse' | $T8 %]:</th>
77
     <td>
78
      <select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)">
79
       [%- FOREACH warehouse = WAREHOUSES %]
80
       <option value="[% HTML.escape(warehouse.id) %]">[% warehouse.description %]</option>
81
       [%- END %]
82
      </select>
83
     </td>
77
      <th>[% 'Transfer from warehouse' | $T8 %]</th>
78
      <td>
79
        <select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)" class="wi-lightwide">
80
          [% FOREACH warehouse = WAREHOUSES %]
81
          <option value="[% HTML.escape(warehouse.id) %]">[% warehouse.description %]</option>
82
          [% END %]
83
        </select>
84
      </td>
84 85
    </tr>
85 86
    <tr>
86
     <th align="right" nowrap>[% 'Bin' | $T8 %]:</th>
87
     <td><select id="bin_id" name="bin_id"></select></td>
87
      <th>[% 'Bin' | $T8 %]</th>
88
      <td>
89
        <select id="bin_id" name="bin_id" class="wi-lightwide"></select>
90
      </td>
88 91
    </tr>
89 92
    <tr>
90
     <th align="right" nowrap>[% 'Limit part selection' | $T8 %]:</th>
91
     <td></td>
93
      <th>[% 'Limit part selection' | $T8 %]</th>
94
      <td><span class="plain-data">&nbsp;</span></td>
92 95
    </tr>
93 96
    <tr>
94
     <th align="right" nowrap>[% 'Part' | $T8 %]</th>
95
     <td>
96
      [% P.part.picker("part_id", '', size="30", part_type="part,assembly") %]
97
     </td>
97
      <th>[% 'Part' | $T8 %]</th>
98
      <td>[% P.part.picker("part_id", '', part_type="part,assembly", class="wi-lightwide") %]</td>
98 99
    </tr>
99 100
    <tr>
100
     <th align="right" nowrap>[% 'Charge number' | $T8 %]</th>
101
     <td><input name="chargenumber" size="30"></td>
101
      <th>[% 'Charge number' | $T8 %]</th>
102
      <td><input type="text" name="chargenumber" class="wi-lightwide"></td>
102 103
    </tr>
103 104
    [% IF INSTANCE_CONF.get_show_bestbefore %]
104
    <tr>
105
     <th align="right" nowrap>[% 'Best Before' | $T8 %]</th>
106
     <td>
107
       [% L.date_tag('bestbefore') %]
108
     </td>
109
    </tr>
105
      <tr>
106
        <th>[% 'Best Before' | $T8 %]</th>
107
        <td><span class="wi-date">[% L.date_tag('bestbefore') %]</span></td>
108
      </tr>
110 109
    [% END %]
111 110
    <tr>
112
     <th align="right" nowrap>[% 'EAN' | $T8 %]</th>
113
     <td><input name="ean" size="30"></td>
111
      <th>[% 'EAN' | $T8 %]</th>
112
      <td><input type="text" name="ean" class="wi-lightwide"></td>
114 113
    </tr>
115 114
  </tbody>
116 115
</table>
117 116

  
117
</div><!-- /.wrapper -->
118 118
</form>
templates/webpages/wh/warehouse_selection_assembly.html
59 59
  })
60 60
--></script>
61 61

  
62
 <form name="Form" method="post" action="wh.pl" id="form">
62
<form name="Form" method="post" action="wh.pl" id="form">
63
<div class="wrapper">
63 64

  
64 65
[% IF saved_message %]
65 66
  <p>[% saved_message %]</p>
66 67
[% END %]
67 68

  
68
  <p>
69
   <table>
70
    <tr>
71
     <th align="right" nowrap>[% 'Assembly' | $T8 %]</th>
72
     <td>
73
      [% P.part.picker("parts_id", parts_id, part_type="assembly", class="initial_focus", fat_set_item="1") %]
74
     </td>
75
    </tr>
76 69

  
70
<table class="tbl-horizontal">
71
  <tbody>
77 72
    <tr>
78
     <th align="right" nowrap>[% 'Destination warehouse' | $T8 %]</th>
79
     <td>
80
      <select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)">
81
       [%- FOREACH warehouse = WAREHOUSES %]
82
       <option value="[% HTML.escape(warehouse.id) %]"[% IF warehouse_id == warehouse.id %] selected[% END %]>[% warehouse.description %]</option>
83
       [%- END %]
84
      </select>
85
     </td>
73
      <th>[% 'Assembly' | $T8 %]</th>
74
      <td>[% P.part.picker("parts_id", parts_id, part_type="assembly", class="initial_focus", fat_set_item="1", class="wi-lightwide") %] </td>
86 75
    </tr>
87 76
    <tr>
88
     <th align="right" nowrap>[% 'Destination bin' | $T8 %]:</th>
89
     <td><select id="bin_id" name="bin_id"></select></td>
77
      <th>[% 'Destination warehouse' | $T8 %]</th>
78
      <td>
79
        <select name="warehouse_id" id="warehouse_id" onchange="warehouse_selected(warehouses[this.selectedIndex]['id'], 0)" class="wi-lightwide">
80
          [% FOREACH warehouse = WAREHOUSES %]
81
            <option value="[% HTML.escape(warehouse.id) %]"[% IF warehouse_id == warehouse.id %] selected[% END %]>[% warehouse.description %]</option>
82
          [% END %]
83
        </select>
84
      </td>
90 85
    </tr>
91 86
    <tr>
92
     <th align="right" nowrap>[% 'Charge number' | $T8 %]</th>
93
     <td><input name="chargenumber" size="30" value="[% HTML.escape(chargenumber) %]"></td>
87
      <th>[% 'Destination bin' | $T8 %]</th>
88
      <td><select id="bin_id" name="bin_id" class="wi-lightwide"></select></td>
94 89
    </tr>
95

  
96
    [% IF INSTANCE_CONF.get_show_bestbefore %]
97 90
    <tr>
98
     <th align="right" nowrap>[% 'Best Before' | $T8 %]</th>
99
     <td>
100
      [% L.date_tag('bestbefore', bestbefore) %]
101
     </td>
91
      <th>[% 'Charge number' | $T8 %]</th>
92
      <td><input type="text" name="chargenumber" class="wi-lightwide" value="[% HTML.escape(chargenumber) %]"></td>
102 93
    </tr>
94
    [% IF INSTANCE_CONF.get_show_bestbefore %]
95
      <tr>
96
        <th>[% 'Best Before' | $T8 %]</th>
97
        <td><span class="wi-date">[% L.date_tag('bestbefore', bestbefore) %]</span> </td>
98
      </tr>
103 99
    [% END %]
104 100
    <tr>
105
     <th align="right" nowrap>[% 'Quantity' | $T8 %]</th>
106
     <td>
107
      <input name="qty" size="10" value="[% HTML.escape(LxERP.format_amount(qty)) %]">
108
      <select name="unit">
109
       [%- FOREACH unit = UNITS %]<option[% IF unit.selected %] selected[% END %]>[% HTML.escape(unit.name) %]</option>[% END %]
110
      </select>
111
     </td>
101
      <th>[% 'Quantity' | $T8 %]</th>
102
      <td>
103
        <input type="text" name="qty" class="wi-verysmall" value="[% HTML.escape(LxERP.format_amount(qty)) %]">
104
        <select name="unit" class="wi-small">
105
          [% FOREACH unit = UNITS %]
106
            <option[% IF unit.selected %] selected[% END %]>[% HTML.escape(unit.name) %]</option>
107
          [% END %]
108
        </select>
109
      </td>
112 110
    </tr>
113 111
    <tr>
114
     <th align="right" nowrap>[% 'Optional comment' | $T8 %]</th>
115
     <td><input name="comment" size="30" value="[% HTML.escape(comment) %]"></td>
112
      <th>[% 'Optional comment' | $T8 %]</th>
113
      <td><input type="text" name="comment" class="wi-lightwide" value="[% HTML.escape(comment) %]">
114
      </td>
116 115
    </tr>
117 116
  </tbody>
118 117
</table>

Auch abrufbar als: Unified diff