Revision ded22725
Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt
templates/webpages/inventory/stocktaking/form.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
2 |
[%- USE L %]
|
|
3 |
[%- USE P %]
|
|
4 |
[%- USE HTML %]
|
|
5 |
[%- USE LxERP %]
|
|
1 |
[% USE T8 %] |
|
2 |
[% USE L %] |
|
3 |
[% USE P %] |
|
4 |
[% USE HTML %] |
|
5 |
[% USE LxERP %] |
|
6 | 6 |
|
7 | 7 |
<h1>[% title | html %]</h1> |
8 | 8 |
|
9 |
[%- INCLUDE 'common/flash.html' %]
|
|
9 |
<div class="wrapper">
|
|
10 | 10 |
|
11 |
<form method="post" action="controller.pl" id="stocktaking_form"> |
|
12 |
|
|
13 |
<p> |
|
14 |
<label for="part_id">[% "Article" | $T8 %]</label> |
|
15 |
[% P.part.picker("part_id", "") %] |
|
16 |
</p> |
|
17 |
|
|
18 |
<p> |
|
19 |
<div id="stock"></div> |
|
20 |
</p> |
|
11 |
[% INCLUDE 'common/flash.html' %] |
|
21 | 12 |
|
22 |
<table id="stocktaking_settings_table"> |
|
23 |
<tr> |
|
24 |
<th align="right" nowrap>[% 'Destination warehouse' | $T8 %]</th> |
|
25 |
<td>[% L.select_tag('warehouse_id', SELF.warehouses, default=SELF.warehouse.id, title_key='description') %] |
|
26 |
[% IF SELF.warehouse.id %] |
|
27 |
[% L.select_tag('bin_id', SELF.warehouse.bins, default=SELF.bin.id, title_key='description') %] |
|
28 |
[%- ELSE %] |
|
29 |
<span id='bin_id'></span> |
|
30 |
[% END %] |
|
31 |
</td> |
|
32 |
</tr> |
|
13 |
<form method="post" action="controller.pl" id="stocktaking_form"> |
|
33 | 14 |
|
34 |
<tr> |
|
35 |
<th align="right" nowrap>[% 'Charge number' | $T8 %]</th> |
|
36 |
<td>[% L.input_tag('chargenumber', "", size=30) %]</td> |
|
37 |
</tr> |
|
15 |
<div class="select-item control-panel"> |
|
16 |
[% "Select article" | $T8 %] [% P.part.picker("part_id", "") %] |
|
17 |
</div> |
|
38 | 18 |
|
39 |
[% IF INSTANCE_CONF.get_show_bestbefore %] |
|
40 |
<tr> |
|
41 |
<th align="right" nowrap>[% 'Best Before' | $T8 %]</th> |
|
42 |
<td>[% L.date_tag('bestbefore', "") %]</td> |
|
43 |
</tr> |
|
44 |
[%- END %] |
|
19 |
<div id="stock"></div> |
|
45 | 20 |
|
46 |
<tr> |
|
47 |
<th align="right" nowrap>[% 'Target Qty' | $T8 %]</th> |
|
48 |
<td> |
|
49 |
[% L.input_tag('target_qty', '', size=10, class='numeric') %] |
|
50 |
[%- IF SELF.part.unit %] |
|
51 |
[% L.select_tag('unit_id', SELF.part.available_units, title_key='name', default=SELF.unit.id) %] |
|
52 |
[%- ELSE %] |
|
53 |
[% L.select_tag('unit_id', SELF.units, title_key='name') %] |
|
54 |
[%- END %] |
|
55 |
</td> |
|
56 |
</tr> |
|
21 |
<table id="stocktaking_settings_table" class="tbl-horizontal"> |
|
22 |
<caption>[% 'Settings stocktaking' | $T8 %]</caption> |
|
23 |
<colgroup><col class="wi-mediumsmall"><col class="wi-wide"></colgroup> |
|
24 |
<tbody> |
|
25 |
<tr> |
|
26 |
<th>[% 'Destination warehouse' | $T8 %]</th> |
|
27 |
<td class="wi-wide"> |
|
28 |
[% L.select_tag('warehouse_id', SELF.warehouses, default=SELF.warehouse.id, title_key='description', class='wi-wide' ) %] |
|
29 |
[% IF SELF.warehouse.id %] |
|
30 |
<span class="below wi-wide condensed">[% L.select_tag('bin_id', SELF.warehouse.bins, default=SELF.bin.id, title_key='description', class='wi-wide' ) %]</span> |
|
31 |
[% ELSE %] |
|
32 |
<span id="bin_id" class="wi-wide"></span> |
|
33 |
[% END %] |
|
34 |
</td> |
|
35 |
</tr> |
|
36 |
<tr> |
|
37 |
<th>[% 'Charge number' | $T8 %]</th> |
|
38 |
<td>[% L.input_tag('chargenumber', "", size=30, class='wi-wide') %]</td> |
|
39 |
</tr> |
|
40 |
[% IF INSTANCE_CONF.get_show_bestbefore %] |
|
41 |
<tr> |
|
42 |
<th>[% 'Best Before' | $T8 %]</th> |
|
43 |
<td>[% L.date_tag('bestbefore', "", class='wi-date') %]</td> |
|
44 |
</tr> |
|
45 |
[% END %] |
|
46 |
<tr> |
|
47 |
<th>[% 'Target Qty' | $T8 %]</th> |
|
48 |
<td> |
|
49 |
[% L.input_tag('target_qty', '', size=10, class='numeric wi-small') %] |
|
50 |
[% IF SELF.part.unit %] |
|
51 |
[% L.select_tag('unit_id', SELF.part.available_units, title_key='name', default=SELF.unit.id, class='wi-small' ) %] |
|
52 |
[% ELSE %] |
|
53 |
[% L.select_tag('unit_id', SELF.units, title_key='name', class='wi-small') %] |
|
54 |
[% END %] |
|
55 |
</td> |
|
56 |
</tr> |
|
57 |
<tr> |
|
58 |
<th>[% 'Cutoff Date' | $T8 %]</th> |
|
59 |
<td>[% L.date_tag('cutoff_date_as_date', SELF.stocktaking_cutoff_date, class='wi-date' ) %]</td> |
|
60 |
</tr> |
|
61 |
<tr> |
|
62 |
<th>[% 'Optional comment' | $T8 %]</th> |
|
63 |
<td>[% L.input_tag('comment', SELF.stocktaking_comment, size=30, class='wi-wide') %]</td> |
|
64 |
</tr> |
|
65 |
</tbody> |
|
66 |
</table> |
|
57 | 67 |
|
58 |
<tr> |
|
59 |
<th align="right" nowrap>[% 'Cutoff Date' | $T8 %]</th> |
|
60 |
<td> |
|
61 |
[% L.date_tag('cutoff_date_as_date', SELF.stocktaking_cutoff_date) %] |
|
62 |
</td> |
|
63 |
</tr> |
|
68 |
</form> |
|
64 | 69 |
|
65 |
<tr> |
|
66 |
<th align="right" nowrap>[% 'Optional comment' | $T8 %]</th> |
|
67 |
<td> |
|
68 |
[% L.input_tag('comment', SELF.stocktaking_comment, size=40) %] |
|
69 |
</td> |
|
70 |
</tr> |
|
71 |
</table> |
|
70 |
<div id="stocktaking_history">[% LxERP.t8("Loading...") %]</div> |
|
72 | 71 |
|
73 |
</form> |
|
74 | 72 |
|
75 |
<p> |
|
76 |
<div id="stocktaking_history"> |
|
77 |
[%- LxERP.t8("Loading...") %] |
|
78 |
</div> |
|
79 |
</p> |
|
73 |
</div><!-- /.wrapper --> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/inventory/..