Revision 7b57d906
Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt
templates/webpages/ic/confirm_price_update.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
2 |
[%- USE HTML %]
|
|
3 |
[%- USE LxERP %]
|
|
4 |
[%- USE L %]
|
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 | 5 |
|
6 |
<form method="post" action="controller.pl" id="form"> |
|
6 |
<form method="post" action="controller.pl" id="form"> |
|
7 |
<h1>[% 'Update Prices' | $T8 %]</h1> |
|
8 |
<div class="wrapper"> |
|
9 |
<h3 class="confirm">[% 'Confirm!' | $T8 %]</h3> |
|
10 |
<p> |
|
11 |
[% LxERP.t8('Approximately #1 prices will be updated.', num_matches) %]<br> |
|
12 |
[% 'Are you sure you want to update the prices' | $T8 %]? |
|
13 |
</p> |
|
7 | 14 |
|
8 |
<h2 class="confirm">[% 'Confirm!' | $T8 %]</h2> |
|
9 |
|
|
10 |
<p>[% LxERP.t8('Approximately #1 prices will be updated.', num_matches) %]</p> |
|
15 |
[% L.hidden_tag('filter_key', filter_key) %] |
|
11 | 16 |
|
12 |
<p>[% 'Are you sure you want to update the prices' | $T8 %]?</p> |
|
17 |
</div> |
|
18 |
</form> |
|
13 | 19 |
|
14 |
[% L.hidden_tag('filter_key', filter_key) %] |
|
15 |
</form> |
templates/webpages/ic/generate_report_bottom.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
1 |
[% USE T8 %] |
|
2 | 2 |
[% USE HTML %] |
3 |
<h4>[%- 'Abbreviation Legend' | $T8 %]</h4> |
|
4 |
<table valign="top"> |
|
5 |
<tr valign="top"><td> |
|
6 |
<table valign="top"> |
|
3 |
|
|
4 |
<div class="wrapper"> |
|
5 |
|
|
6 |
<h3>[% 'Abbreviation Legend' | $T8 %]</h3> |
|
7 |
|
|
8 |
<table class="tbl-list"> |
|
7 | 9 |
<thead> |
8 |
<tr class="listheading">
|
|
9 |
<th>[%- 'TypAbbreviation' | $T8 %]</th>
|
|
10 |
<th>[%- 'Description' | $T8 %]</th>
|
|
10 |
<tr> |
|
11 |
<th>[% 'TypAbbreviation' | $T8 %]</th> |
|
12 |
<th>[% 'Description' | $T8 %]</th> |
|
11 | 13 |
</tr> |
12 | 14 |
</thead> |
13 | 15 |
<tbody> |
14 |
<tr class="listrow0"> |
|
15 |
<td>[%- 'Part (typeabbreviation)' | $T8 %]</td> |
|
16 |
<td>[%- 'Part' | $T8 %]</td> |
|
17 |
</tr> |
|
18 |
<tr class="listrow1"> |
|
19 |
<td>[%- 'Assembly (typeabbreviation)' | $T8 %]</td> |
|
20 |
<td>[%- 'Assembly' | $T8 %]</td> |
|
16 |
<tr> |
|
17 |
<td>[% 'Part (typeabbreviation)' | $T8 %]</td> |
|
18 |
<td>[% 'Part' | $T8 %]</td> |
|
21 | 19 |
</tr> |
22 |
<tr class="listrow0">
|
|
23 |
<td>[%- 'Service (typeabbreviation)' | $T8 %]</td>
|
|
24 |
<td>[%- 'Service' | $T8 %]</td>
|
|
20 |
<tr> |
|
21 |
<td>[% 'Assembly (typeabbreviation)' | $T8 %]</td>
|
|
22 |
<td>[%'Assembly' | $T8 %]</td>
|
|
25 | 23 |
</tr> |
26 |
[%- IF INSTANCE_CONF.get_feature_experimental_assortment %] |
|
27 |
<tr class="listrow1"> |
|
28 |
<td>[%- 'Assortment (typeabbreviation)' | $T8 %]</td> |
|
29 |
<td>[%- 'Assortment' | $T8 %]</td> |
|
24 |
<tr> |
|
25 |
<td>[% 'Service (typeabbreviation)' | $T8 %]</td> |
|
26 |
<td>[%'Service' | $T8 %]</td> |
|
30 | 27 |
</tr> |
31 |
[%- END %] |
|
32 |
</tbody> |
|
33 |
</table></td> |
|
34 |
<td><table valign="top"> |
|
28 |
[% IF INSTANCE_CONF.get_feature_experimental_assortment %] |
|
29 |
<tr> |
|
30 |
<td>[% 'Assortment (typeabbreviation)' | $T8 %]</td> |
|
31 |
<td>[%'Assortment' | $T8 %]</td> |
|
32 |
</tr> |
|
33 |
[% END %] |
|
34 |
</tbody> |
|
35 |
</table> |
|
36 |
|
|
37 |
<table class="tbl-list"> |
|
35 | 38 |
<thead> |
36 |
<tr valign="top" class="listheading">
|
|
37 |
<th>[%- 'PartClassAbbreviation' | $T8 %]</th>
|
|
38 |
<th>[%- 'Description' | $T8 %]</th>
|
|
39 |
<tr> |
|
40 |
<th>[% 'PartClassAbbreviation' | $T8 %]</th> |
|
41 |
<th>[% 'Description' | $T8 %]</th> |
|
39 | 42 |
</tr> |
40 | 43 |
</thead> |
41 | 44 |
<tbody> |
42 |
[%- FOREACH part_classification = PART_CLASSIFICATIONS %]
|
|
43 |
<tr class="listrow[% loop.count % 2 %]">
|
|
44 |
<td>[%- part_classification.abbreviation | $T8 %]</td>
|
|
45 |
<td>[%- part_classification.description | $T8 %]</td>
|
|
45 |
[% FOREACH part_classification = PART_CLASSIFICATIONS %] |
|
46 |
<tr> |
|
47 |
<td>[% part_classification.abbreviation | $T8 %]</td> |
|
48 |
<td>[% part_classification.description | $T8 %]</td> |
|
46 | 49 |
</tr> |
47 |
[%- END %]
|
|
50 |
[% END %] |
|
48 | 51 |
</tbody> |
49 |
</table></td></tr> |
|
50 | 52 |
</table> |
51 | 53 |
|
54 |
</div> |
|
55 |
|
|
52 | 56 |
<form method="post" action="controller.pl" id="new_form"> |
53 | 57 |
<input name="callback" type="hidden" value="[% HTML.escape(callback) %]"> |
54 | 58 |
</form> |
templates/webpages/ic/generate_report_top.html | ||
---|---|---|
1 |
[%- USE HTML %]
|
|
2 |
[%- USE T8 %]
|
|
3 |
[%- USE L %]
|
|
1 |
[% USE HTML %] |
|
2 |
[% USE T8 %] |
|
3 |
[% USE L %] |
|
4 | 4 |
|
5 | 5 |
[% 'Options' | $T8 %]: [% options.join(', ') %] |
templates/webpages/ic/search.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
2 |
[%- USE HTML %]
|
|
3 |
[%- USE LxERP %]
|
|
4 |
[%- USE L %]
|
|
5 |
[%- USE P %]
|
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 |
[% USE P %] |
|
6 | 6 |
[% SET style="width: 250px" %] |
7 |
[%- INCLUDE 'common/flash.html' %] |
|
8 |
<h1>[% title %]</h1> |
|
9 | 7 |
|
10 |
<form method="post" action="ic.pl" id="form"> |
|
8 |
[% INCLUDE 'common/flash.html' %] |
|
9 |
|
|
10 |
<h1>[% title %]</h1> |
|
11 | 11 |
|
12 |
<form method="post" action="ic.pl" id="form"> |
|
12 | 13 |
<input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]"> |
13 | 14 |
<input type="hidden" name="title" value="[% HTML.escape(title) %]"> |
14 |
|
|
15 | 15 |
<input type="hidden" name="revers" value="[% HTML.escape(revers) %]"> |
16 | 16 |
<input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]"> |
17 |
|
|
18 | 17 |
<input type="hidden" name="sort" value="description"> |
19 |
|
|
20 | 18 |
<input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]"> |
21 | 19 |
|
22 |
<table width="100%"> |
|
23 |
<tr valign="top"> |
|
24 |
<td> |
|
25 |
<table> |
|
20 |
<div class="wrapper"> |
|
21 |
|
|
22 |
<table class="tbl-horizontal"> |
|
23 |
<caption>[% 'Article data' | $T8 %]</caption> |
|
24 |
<colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup> |
|
25 |
<tbody> |
|
26 | 26 |
<tr> |
27 |
<th align="right" nowrap>[% 'Part Type' | $T8 %]</th> |
|
28 |
<td colspan="4" ><table><tr> |
|
29 |
<td> |
|
30 |
<input name="l_part" id="l_part" class="checkbox" type="checkbox" value="Y" checked> |
|
31 |
<label for="l_part">[% 'Part' | $T8 %]</label> |
|
32 |
</td> |
|
33 |
<td> |
|
34 |
<input name="l_service" id="l_service" class="checkbox" type="checkbox" value="Y" checked> |
|
35 |
<label for="l_service">[% 'Service' | $T8 %]</label> |
|
36 |
</td> |
|
37 |
<td> |
|
38 |
<input name="l_assembly" id="l_assembly" class="checkbox" type="checkbox" value="Y" checked> |
|
39 |
<label for="l_assembly">[% 'Assembly' | $T8 %]</label> |
|
40 |
</td> |
|
41 |
[%- IF INSTANCE_CONF.get_feature_experimental_assortment %] |
|
27 |
<th>[% 'Part Type' | $T8 %]</th> |
|
42 | 28 |
<td> |
43 |
<input name="l_assortment" id="l_assortment" class="checkbox" type="checkbox" value="Y" checked> |
|
44 |
<label for="l_assortment">[% 'Assortment' | $T8 %]</label> |
|
29 |
<input name="l_part" id="l_part" type="checkbox" value="Y" checked> |
|
30 |
<label for="l_part"> [% 'Part' | $T8 %] </label><br> |
|
31 |
<input name="l_service" id="l_service" type="checkbox" value="Y" checked> |
|
32 |
<label for="l_service"> [% 'Service' | $T8 %] </label><br> |
|
33 |
<input name="l_assembly" id="l_assembly" type="checkbox" value="Y" checked> |
|
34 |
<label for="l_assembly"> [% 'Assembly' | $T8 %] </label><br> |
|
35 |
[% IF INSTANCE_CONF.get_feature_experimental_assortment %] |
|
36 |
<input name="l_assortment" id="l_assortment" type="checkbox" value="Y" checked> |
|
37 |
<label for="l_assortment"> [% 'Assortment' | $T8 %] </label> |
|
38 |
[% END %] |
|
45 | 39 |
</td> |
46 |
[%- END %] |
|
47 |
</tr></table></td> |
|
48 | 40 |
</tr> |
49 | 41 |
<tr> |
50 |
<th align="right" nowrap>[% 'Part Number' | $T8 %]</th> |
|
51 |
<td>[% L.input_tag("partnumber", "", style=style) %]</td> |
|
52 |
<th align="right" nowrap>[% 'EAN' | $T8 %]</th> |
|
53 |
<td>[% L.input_tag("ean", "", style=style) %]</td> |
|
42 |
<th>[% 'Part Number' | $T8 %]</th> |
|
43 |
<td>[% L.input_tag("partnumber", "", value='asfasdf', class='wi-mediumsmall') %]</td> |
|
54 | 44 |
</tr> |
55 | 45 |
<tr> |
56 |
<th align="right" nowrap>[% 'Part Classification' | $T8 %]:</th>
|
|
57 |
<td>[% P.part.select_classification('classification_id', style=style) %]</td>
|
|
46 |
<th>[% 'Part Description' | $T8 %]</th>
|
|
47 |
<td>[% L.input_tag("description", "", class='initial_focus wi-lightwide') %]</td>
|
|
58 | 48 |
</tr> |
59 | 49 |
<tr> |
60 |
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
|
|
61 |
<td colspan="3">[% L.input_tag("description", "", style=style, class="initial_focus") %]</td>
|
|
50 |
<th>[% 'Part Classification' | $T8 %]</th>
|
|
51 |
<td>[% P.part.select_classification('classification_id', class='wi-lightwide', with_empty=1, empty_title='') %]</td>
|
|
62 | 52 |
</tr> |
63 | 53 |
<tr> |
64 |
<th align="right" nowrap>[% 'Partsgroup' | $T8 %]</th> |
|
65 |
<td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, default=partsgroup, title_key="partsgroup", style=style) %]</td> |
|
66 |
<th align="right" nowrap>[% 'Serial Number' | $T8 %]</th> |
|
67 |
<td>[% L.input_tag("serialnumber", "", style=style) %]</td> |
|
54 |
<th>[% 'Partsgroup' | $T8 %]</th> |
|
55 |
<td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, empty_title='', default=partsgroup, title_key="partsgroup", class='wi-lightwide') %]</td> |
|
68 | 56 |
</tr> |
69 |
|
|
70 | 57 |
<tr> |
71 |
<th align="right" nowrap>[% 'Make' | $T8 %]</th> |
|
72 |
<td>[% L.input_tag("make", "", style=style) %]</td> |
|
73 |
<th align="right" nowrap>[% 'Model' | $T8 %]</th> |
|
74 |
<td>[% L.input_tag("model", "", style=style) %]</td> |
|
58 |
<th>[% 'Serial Number' | $T8 %]</th> |
|
59 |
<td>[% L.input_tag("serialnumber", "", class='wi-mediumsmall') %]</td> |
|
75 | 60 |
</tr> |
76 |
|
|
77 | 61 |
<tr> |
78 |
<th align="right" nowrap>[% 'Drawing' | $T8 %]</th> |
|
79 |
<td>[% L.input_tag("drawing", "", style=style) %]</td> |
|
80 |
<th align="right" nowrap>[% 'Microfiche' | $T8 %]</th> |
|
81 |
<td>[% L.input_tag("microfiche", "", style=style) %]</td> |
|
62 |
<th>[% 'EAN' | $T8 %]</th> |
|
63 |
<td>[% L.input_tag("ean", "", class='wi-mediumsmall') %]</td> |
|
82 | 64 |
</tr> |
83 |
|
|
84 | 65 |
<tr> |
85 |
<th align="right" nowrap>[% 'Shop article' | $T8 %]</th>
|
|
86 |
<td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---', style=style) %]</td>
|
|
66 |
<th>[% 'Make' | $T8 %]</th>
|
|
67 |
<td>[% L.input_tag("make", "", class='wi-mediumsmall') %]</td>
|
|
87 | 68 |
</tr> |
88 |
|
|
89 | 69 |
<tr> |
90 |
<th align="right">[% 'Insert Date' | $T8 %]</th>
|
|
91 |
<td>
|
|
92 |
[% L.date_tag('insertdatefrom') %]
|
|
93 |
[% 'Bis' | $T8 %]
|
|
94 |
[% L.date_tag('insertdateto') %]
|
|
95 |
</td> |
|
70 |
<th>[% 'Model' | $T8 %]</th>
|
|
71 |
<td>[% L.input_tag("model", "", class='wi-mediumsmall') %]</td>
|
|
72 |
</tr>
|
|
73 |
<tr>
|
|
74 |
<th>[% 'Shop article' | $T8 %]</th>
|
|
75 |
<td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='', class='wi-mediumsmall') %]</td>
|
|
96 | 76 |
</tr> |
97 |
|
|
98 | 77 |
[% CUSTOM_VARIABLES_FILTER_CODE %] |
78 |
</tbody> |
|
79 |
</table> |
|
99 | 80 |
|
81 |
<table class="tbl-horizontal"> |
|
82 |
<caption> [% 'Scope' | $T8 %]</caption> |
|
83 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
84 |
<thead> |
|
100 | 85 |
<tr> |
101 |
<td></td> |
|
102 |
<td colspan="3"> |
|
103 |
[% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %] |
|
104 |
[% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %] |
|
105 |
</td> |
|
86 |
<th>[% 'Scope' | $T8 %]</th> |
|
87 |
<th>[% 'Composition' | $T8 %]</th> |
|
106 | 88 |
</tr> |
107 |
|
|
89 |
</thead> |
|
90 |
<tbody> |
|
108 | 91 |
<tr> |
109 |
<td></td> |
|
110 |
<td colspan="3"> |
|
111 |
[%- L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %] |
|
112 |
[%- L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %] |
|
113 |
[%- L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %] |
|
114 |
[%- L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %] |
|
115 |
[%- L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %] |
|
116 |
[%- L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %] |
|
117 |
</td> |
|
92 |
<td> |
|
93 |
[% L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]<br> |
|
94 |
[% L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]<br> |
|
95 |
[% L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]<br> |
|
96 |
[% L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]<br> |
|
97 |
[% L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]<br> |
|
98 |
[% L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %] |
|
99 |
</td> |
|
100 |
<td> |
|
101 |
[% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %] <br> |
|
102 |
[% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %] |
|
103 |
</td> |
|
118 | 104 |
</tr> |
119 |
|
|
120 | 105 |
<tr> |
121 |
<td></td> |
|
122 |
<td colspan="3"> |
|
123 |
<table> |
|
124 |
<tr> |
|
125 |
<td> |
|
126 |
<table> |
|
127 |
<tr> |
|
128 |
<td>[%- L.checkbox_tag('bought', label=LxERP.t8('Bought')) %]</td> |
|
129 |
<td>[%- L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]</td> |
|
130 |
</tr> |
|
131 |
|
|
132 |
<tr> |
|
133 |
<td colspan="2"><hr size="1" noshade></td> |
|
134 |
</tr> |
|
135 |
|
|
136 |
<tr> |
|
137 |
<td>[%- L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %]</td> |
|
138 |
<td>[%- L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]</td> |
|
139 |
</tr> |
|
140 |
|
|
141 |
<tr> |
|
142 |
<td colspan="2"><hr size="1" noshade></td> |
|
143 |
</tr> |
|
144 |
|
|
145 |
<tr> |
|
146 |
<td>[%- L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %]</td> |
|
147 |
<td>[%- L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]</td> |
|
148 |
</tr> |
|
149 |
</table> |
|
150 |
</td> |
|
151 |
|
|
152 |
<td width="5%"> </td> |
|
153 |
|
|
154 |
<td> |
|
155 |
<table> |
|
156 |
<tr> |
|
157 |
<th>[% 'From' | $T8 %]</th> |
|
158 |
<td nowrap>[% L.date_tag('transdatefrom') %]</td> |
|
159 |
<th>[% 'To (time)' | $T8 %]</th> |
|
160 |
<td nowrap>[% L.date_tag('transdateto') %]</td> |
|
161 |
</tr> |
|
162 |
</table> |
|
163 |
</td> |
|
164 |
</tr> |
|
165 |
</table> |
|
166 |
</td> |
|
106 |
<th class="caption" colspan="2">[% 'State' | $T8 %]</th> |
|
167 | 107 |
</tr> |
168 |
|
|
169 | 108 |
<tr> |
170 |
<td></td> |
|
171 |
<td colspan="3"> |
|
172 |
<hr size="1" noshade> |
|
173 |
</td> |
|
109 |
<td colspan="2"> |
|
110 |
<div class="list wi-verysmall col"> |
|
111 |
<div class="field">[% L.checkbox_tag('bought', label=LxERP.t8('Bought')) %]</div> |
|
112 |
<div class="field">[% L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]</div> |
|
113 |
</div> |
|
114 |
<div class="list wi-mediumsmall col"> |
|
115 |
<div class="field">[% L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %]</div> |
|
116 |
<div class="field">[% L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]</div> |
|
117 |
</div> |
|
118 |
<div class="list wi-verysmall col"> |
|
119 |
<div class="field">[% L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %]</div> |
|
120 |
<div class="field">[% L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]</div> |
|
121 |
</div> |
|
122 |
</td> |
|
174 | 123 |
</tr> |
175 |
|
|
176 | 124 |
<tr> |
177 |
<th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> <td colspan="3"> |
|
178 |
<table> |
|
179 |
<tr> |
|
180 |
<td>[%- L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</td> |
|
181 |
<td>[%- L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</td> |
|
182 |
<td>[%- L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</td> |
|
183 |
<td>[%- L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]</td> |
|
184 |
</tr> |
|
185 |
|
|
186 |
<tr> |
|
187 |
<td>[%- L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %]</td> |
|
188 |
<td>[%- L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]</td> |
|
189 |
<td>[%- L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]</td> |
|
190 |
<td>[%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</td> |
|
191 |
</tr> |
|
192 |
|
|
193 |
<tr> |
|
194 |
<td>[%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %]</td> |
|
195 |
<td>[%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</td> |
|
196 |
<td>[%- L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]</td> |
|
197 |
<td>[%- L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]</td> |
|
198 |
</tr> |
|
199 |
|
|
200 |
<tr> |
|
201 |
<td>[%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]</td> |
|
202 |
<td>[%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</td> |
|
203 |
<td>[%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</td> |
|
204 |
<td>[%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]</td> |
|
205 |
</td> |
|
206 |
</tr> |
|
207 |
|
|
208 |
<tr> |
|
209 |
<td>[%- L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]</td> |
|
210 |
<td>[%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</td> |
|
211 |
<td>[%- L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]</td> |
|
212 |
<td>[%- L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]</td> |
|
213 |
</tr> |
|
214 |
|
|
215 |
<tr> |
|
216 |
<td>[%- L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]</td> |
|
217 |
<td>[%- L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]</td> |
|
218 |
<td>[%- L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]</td> |
|
219 |
<td>[%- L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</td> |
|
220 |
</tr> |
|
221 |
|
|
222 |
<tr> |
|
223 |
<td>[%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</td> |
|
224 |
<td>[%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %]</td> |
|
225 |
<td>[%- L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]</td> |
|
226 |
<td>[%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</td> |
|
227 |
</tr> |
|
228 |
<tr> |
|
229 |
<td>[%- L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %]</td> |
|
230 |
<td>[%- L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %]</td> |
|
231 |
<td>[%- L.checkbox_tag('l_make', label=LxERP.t8('Make'), value='Y') %]</td> |
|
232 |
<td>[%- L.checkbox_tag('l_model', label=LxERP.t8('Model'), value='Y') %]</td> |
|
233 |
</tr> |
|
234 |
|
|
235 |
[% CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
236 |
</table> |
|
237 |
</td> |
|
125 |
<td class="wi-date" colspan="2" style="vertical-align:middle;padding-top:1.2em;"> |
|
126 |
[% 'From' | $T8 %] |
|
127 |
[% L.date_tag('transdatefrom') %] |
|
128 |
[% 'To (time)' | $T8 %] |
|
129 |
[% L.date_tag('transdateto') %] |
|
130 |
</td> |
|
238 | 131 |
</tr> |
239 |
</table> |
|
240 |
</td> |
|
241 |
</tr> |
|
242 |
<tr><td colspan="4"><hr size="3" noshade></td></tr> |
|
132 |
</tbody> |
|
243 | 133 |
</table> |
244 |
</form> |
|
134 |
|
|
135 |
<table class="tbl-horizontal"> |
|
136 |
<caption>[% 'Handling' | $T8 %]</caption> |
|
137 |
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup> |
|
138 |
<tbody> |
|
139 |
<tr> |
|
140 |
<th>[% 'Insert Date' | $T8 %]</th> |
|
141 |
<td class="wi-date">[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]</td> |
|
142 |
</tr> |
|
143 |
<tr> |
|
144 |
<th class="caption" colspan="2"> [% 'Illustrations' | $T8 %]</th> |
|
145 |
</tr> |
|
146 |
<tr> |
|
147 |
<th>[% 'Drawing' | $T8 %]</th> |
|
148 |
<td>[% L.input_tag("drawing", "", class="wi-wide") %]</td> |
|
149 |
</tr> |
|
150 |
<tr> |
|
151 |
<th>[% 'Microfiche' | $T8 %]</th> |
|
152 |
<td>[% L.input_tag("microfiche", "", class="wi-wide") %]</td> |
|
153 |
</tr> </tbody> |
|
154 |
</table> |
|
155 |
|
|
156 |
</div><!-- /.wrapper --> |
|
157 |
|
|
158 |
|
|
159 |
<div class="wrapper form-addition control-panel"> |
|
160 |
|
|
161 |
<h3 class="caption"> [% 'Include in Report' | $T8 %] </h3> |
|
162 |
<!-- PENDENT: Klasse col noetig in form-adddition --> |
|
163 |
<div class="col list"> |
|
164 |
<h4>[% 'Article info ' | $T8 %]</h4> |
|
165 |
<p>[% L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</p> |
|
166 |
<p>[% L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</p> |
|
167 |
<p>[% L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</p> |
|
168 |
<p>[% L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]</p> |
|
169 |
<p>[% L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]</p> |
|
170 |
<p>[% L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]</p> |
|
171 |
<p>[% L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</p> |
|
172 |
<p>[% L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]</p> |
|
173 |
<p>[% L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]</p> |
|
174 |
<p>[% L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]</p> |
|
175 |
<p>[% L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]</p> |
|
176 |
<p>[% L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]</p> |
|
177 |
<p>[% L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</p> |
|
178 |
</div> |
|
179 |
|
|
180 |
<div class="col list"> |
|
181 |
<h4>[% 'Prices' | $T8 %]</h4> |
|
182 |
<p>[% L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %]</p> |
|
183 |
<p>[% L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]</p> |
|
184 |
<p>[% L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]</p> |
|
185 |
<p>[% L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %]</p> |
|
186 |
<p>[% L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</p> |
|
187 |
<p>[% L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</p> |
|
188 |
<p>[% L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</p> |
|
189 |
</div> |
|
190 |
|
|
191 |
<div class="col list"> |
|
192 |
<h4>[% 'Handling' | $T8 %]</h4> |
|
193 |
<p>[% L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]</p> |
|
194 |
<p>[% L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</p> |
|
195 |
<p>[% L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %]</p> |
|
196 |
<p> </p> |
|
197 |
<h4>[% 'Vendor' | $T8 %]</h4> |
|
198 |
<p>[% L.checkbox_tag('l_make', label=LxERP.t8('Make'), value='Y') %]</p> |
|
199 |
<p>[% L.checkbox_tag('l_model', label=LxERP.t8('Model'), value='Y') %]</p> |
|
200 |
</div> |
|
201 |
|
|
202 |
<div class="col list"> |
|
203 |
<h4>[% 'Warehouse' | $T8 %]</h4> |
|
204 |
<p>[% L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %]</p> |
|
205 |
<p>[% L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %]</p> |
|
206 |
<p>[% L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]</p> |
|
207 |
<p>[% L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]</p> |
|
208 |
</div> |
|
209 |
|
|
210 |
<div class="col list"> |
|
211 |
<h4>[% 'Illustrations' | $T8 %]</h4> |
|
212 |
<p>[% L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]</p> |
|
213 |
<p>[% L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</p> |
|
214 |
<p>[% L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</p> |
|
215 |
</div> |
|
216 |
|
|
217 |
[% IF CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
218 |
<div class="col list"> |
|
219 |
<h4>[% 'Custom Variables' | $T8 %] </h4> |
|
220 |
[% CUSTOM_VARIABLES_INCLUSION_CODE %] |
|
221 |
</div> |
|
222 |
[% END %] |
|
223 |
|
|
224 |
</div><!-- ./wrapper.form-addition --> |
|
225 |
|
|
226 |
</form> |
templates/webpages/ic/search_update_prices.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
2 |
[%- USE HTML %]
|
|
3 |
[%- USE LxERP %]
|
|
4 |
[%- USE L %]
|
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 | 5 |
<h1>[% 'Update prices' | $T8 %]</h1> |
6 | 6 |
|
7 | 7 |
[% INCLUDE 'common/flash.html' %] |
8 | 8 |
|
9 | 9 |
<form method="post" action="controller.pl" id="form"> |
10 |
<table> |
|
11 |
<tr> |
|
12 |
<th align="right" nowrap>[% 'Part Number' | $T8 %]</th> |
|
13 |
<td>[% L.input_tag('filter.partnumber', FORM.filter.partnumber, size=20) %]</td> |
|
14 |
</tr> |
|
10 |
<div class="wrapper"> |
|
15 | 11 |
|
16 |
<tr> |
|
17 |
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th> |
|
18 |
<td colspan="3">[% L.input_tag('filter.description', FORM.filter.description, size=20) %]</td> |
|
19 |
</tr> |
|
12 |
<table class="tbl-horizontal"> |
|
13 |
<tbody> |
|
14 |
<tr> |
|
15 |
<th>[% 'Part Number' | $T8 %]</th> |
|
16 |
<td>[% L.input_tag('filter.partnumber', FORM.filter.partnumber, size=20) %]</td> |
|
17 |
</tr> |
|
18 |
<tr> |
|
19 |
<th>[% 'Part Description' | $T8 %]</th> |
|
20 |
<td colspan="3">[% L.input_tag('filter.description', FORM.filter.description, size=20) %]</td> |
|
21 |
</tr> |
|
22 |
<tr> |
|
23 |
<th>[% 'Partsgroup' | $T8 %]</th> |
|
24 |
<td>[% L.input_tag('filter.partsgroup', FORM.filter.partsgroup, size=20) %]</td> |
|
25 |
</tr> |
|
26 |
<tr> |
|
27 |
<th>[% 'Serial Number' | $T8 %]</th> |
|
28 |
<td>[% L.input_tag('filter.serialnumber', FORM.filter.serialnumber, size=20) %]</td> |
|
29 |
</tr> |
|
30 |
<tr> |
|
31 |
<th>[% 'Scope' | $T8 %]</th> |
|
32 |
<td> |
|
33 |
<div class="list"> |
|
34 |
[% L.radio_button_tag('filter.itemstatus', value='active', label=LxERP.t8('Active'), checked=!FORM.filter.itemstatus||FORM.filter.itemstatus=='active') %]<br> |
|
35 |
[% L.radio_button_tag('filter.itemstatus', value='onhand', label=LxERP.t8('On Hand'), checked=FORM.filter.itemstatus=='onhand') %]<br> |
|
36 |
[% L.radio_button_tag('filter.itemstatus', value='short', label=LxERP.t8('Short'), checked=FORM.filter.itemstatus=='short') %]<br> |
|
37 |
[% L.radio_button_tag('filter.itemstatus', value='obsolete', label=LxERP.t8('Obsolete'), checked=FORM.filter.itemstatus=='obsolete') %]<br> |
|
38 |
[% L.radio_button_tag('filter.itemstatus', value='orphaned', label=LxERP.t8('Orphaned'), checked=FORM.filter.itemstatus=='orphaned') %] |
|
39 |
</div> |
|
40 |
</td> |
|
41 |
</tr> |
|
42 |
</tbody> |
|
43 |
</table> |
|
20 | 44 |
|
21 |
<tr> |
|
22 |
<th align="right" nowrap>[% 'Partsgroup' | $T8 %]</th> |
|
23 |
<td>[% L.input_tag('filter.partsgroup', FORM.filter.partsgroup, size=20) %]</td> |
|
24 |
<th align="right" nowrap>[% 'Serial Number' | $T8 %]</th> |
|
25 |
<td>[% L.input_tag('filter.serialnumber', FORM.filter.serialnumber, size=20) %]</td> |
|
26 |
</tr> |
|
27 | 45 |
|
28 |
<tr> |
|
29 |
<th align="right" nowrap>[% 'Make' | $T8 %]</th> |
|
30 |
<td>[% L.input_tag('filter.make', FORM.filter.make, size=20) %]</td> |
|
31 |
<th align="right" nowrap>[% 'Model' | $T8 %]</th> |
|
32 |
<td>[% L.input_tag('filter.model', FORM.filter.model, size=20) %]</td> |
|
33 |
</tr> |
|
46 |
<table class="tbl-horizontal"> |
|
47 |
<tbody> |
|
48 |
<tr> |
|
49 |
<th>[% 'Make' | $T8 %]</th> |
|
50 |
<td>[% L.input_tag('filter.make', FORM.filter.make, size=20) %]</td> |
|
51 |
</tr> |
|
52 |
<tr> |
|
53 |
<th>[% 'Model' | $T8 %]</th> |
|
54 |
<td>[% L.input_tag('filter.model', FORM.filter.model, size=20) %]</td> |
|
55 |
</tr> |
|
56 |
</tbody> |
|
57 |
</table> |
|
34 | 58 |
|
35 |
<tr> |
|
36 |
<th align="right" nowrap>[% 'Drawing' | $T8 %]</th> |
|
37 |
<td>[% L.input_tag('filter.drawing', FORM.filter.drawing, size=20) %]</td> |
|
38 |
<th align="right" nowrap>[% 'Microfiche' | $T8 %]</th> |
|
39 |
<td>[% L.input_tag('filter.microfiche', FORM.filter.microfiche, size=20) %]</td> |
|
40 |
</tr> |
|
41 | 59 |
|
42 |
<tr> |
|
43 |
<td></td> |
|
44 |
<td colspan="3"> |
|
45 |
[% L.radio_button_tag('filter.itemstatus', value='active', label=LxERP.t8('Active'), checked=!FORM.filter.itemstatus||FORM.filter.itemstatus=='active') %] |
|
46 |
[% L.radio_button_tag('filter.itemstatus', value='onhand', label=LxERP.t8('On Hand'), checked=FORM.filter.itemstatus=='onhand') %] |
|
47 |
[% L.radio_button_tag('filter.itemstatus', value='short', label=LxERP.t8('Short'), checked=FORM.filter.itemstatus=='short') %] |
|
48 |
[% L.radio_button_tag('filter.itemstatus', value='obsolete', label=LxERP.t8('Obsolete'), checked=FORM.filter.itemstatus=='obsolete') %] |
|
49 |
[% L.radio_button_tag('filter.itemstatus', value='orphaned', label=LxERP.t8('Orphaned'), checked=FORM.filter.itemstatus=='orphaned') %] |
|
50 |
</td> |
|
51 |
</tr> |
|
52 |
</table> |
|
60 |
<table class="tbl-horizontal"> |
|
61 |
<tbody> |
|
62 |
<tr> |
|
63 |
<th>[% 'Drawing' | $T8 %]</th> |
|
64 |
<td>[% L.input_tag('filter.drawing', FORM.filter.drawing, size=20) %]</td> |
|
65 |
</tr> |
|
66 |
<tr> |
|
67 |
<th>[% 'Microfiche' | $T8 %]</th> |
|
68 |
<td>[% L.input_tag('filter.microfiche', FORM.filter.microfiche, size=20) %]</td> |
|
69 |
</tr> |
|
70 |
</tbody> |
|
71 |
</table> |
|
53 | 72 |
|
54 |
<hr size="1" noshade>
|
|
73 |
</div><!-- /.wrapper -->
|
|
55 | 74 |
|
56 |
<table> |
|
57 |
<tr> |
|
58 |
<th class="listheading">[% 'Price group' | $T8 %]</th> |
|
59 |
<th class="listheading">[% 'Preis' | $T8 %]</th> |
|
60 |
<th class="listheading">[% 'Prozentual/Absolut' | $T8 %]</th> |
|
61 |
</tr> |
|
75 |
<div class="wrapper"> |
|
62 | 76 |
|
63 |
<tr> |
|
64 |
<td>[% 'Sell Price' | $T8 %]</td> |
|
65 |
<td>[% L.input_tag('filter.prices.sellprice.price_as_number', FORM.filter.prices.sellprice.price_as_number, size=11) %]</td> |
|
66 |
<td align="center"> |
|
67 |
[% L.radio_button_tag("filter.prices.sellprice.type", |
|
68 |
value="percent", |
|
69 |
checked=!FORM.filter.prices.sellprice.type || FORM.filter.prices.sellprice.type == 'percent') %] / |
|
70 |
[% L.radio_button_tag("filter.prices.sellprice.type", |
|
71 |
value="absolut", |
|
72 |
checked=FORM.filter.prices.sellprice.type == 'absolut') %] |
|
73 |
</td> |
|
74 |
</tr> |
|
77 |
<table class="tbl-horizontal"> |
|
78 |
<thead> |
|
79 |
<tr> |
|
80 |
<th>[% 'Price group' | $T8 %]</th> |
|
81 |
<th>[% 'Preis' | $T8 %]</th> |
|
82 |
<th>[% 'Prozentual/Absolut' | $T8 %]</th> |
|
83 |
</tr> |
|
84 |
</thead> |
|
85 |
<tbody> |
|
86 |
<tr> |
|
87 |
<th>[% 'Sell Price' | $T8 %]</th> |
|
88 |
<td>[% L.input_tag('filter.prices.sellprice.price_as_number', FORM.filter.prices.sellprice.price_as_number, size=11) %]</td> |
|
89 |
<td class="center"> |
|
90 |
[% L.radio_button_tag("filter.prices.sellprice.type", |
|
91 |
value="percent", |
|
92 |
checked=!FORM.filter.prices.sellprice.type || FORM.filter.prices.sellprice.type == 'percent') %] / |
|
93 |
[% L.radio_button_tag("filter.prices.sellprice.type", |
|
94 |
value="absolut", |
|
95 |
checked=FORM.filter.prices.sellprice.type == 'absolut', class='horizontal') %] |
|
96 |
</td> |
|
97 |
</tr> |
|
98 |
<tr> |
|
99 |
<th>[% 'List Price' | $T8 %]</th> |
|
100 |
<td>[% L.input_tag('filter.prices.listprice.price_as_number', FORM.filter.prices.listprice.price_as_number, size=11) %]</td> |
|
101 |
<td class="center"> |
|
102 |
[% L.radio_button_tag("filter.prices.listprice.type", |
|
103 |
value="percent", |
|
104 |
checked=!FORM.filter.prices.listprice.type || FORM.filter.prices.listprice.type == 'percent', class='horizontal') %] / |
|
105 |
[% L.radio_button_tag("filter.prices.listprice.type", |
|
106 |
value="absolut", |
|
107 |
checked=FORM.filter.prices.listprice.type == 'absolut', class='horizontal') %] |
|
108 |
</td> |
|
109 |
</tr> |
|
110 |
[% FOREACH pg = SELF.pricegroups %] |
|
111 |
<tr> |
|
112 |
<th>[% pg.pricegroup | html %]</th> |
|
113 |
<td>[% L.input_tag('filter.prices.' _ pg.id _ '.price_as_number', FORM.filter.prices.${pg.id}.price_as_number, size=11) %]</td> |
|
114 |
<td class="center"> |
|
115 |
[% L.radio_button_tag("filter.prices." _ pg.id _ ".type", |
|
116 |
value="percent", |
|
117 |
checked=!FORM.filter.prices.${pg.id}.type || FORM.filter.prices.${pg.id}.type == 'percent', class='horizontal') %] / |
|
118 |
[% L.radio_button_tag("filter.prices." _ pg.id _ ".type", |
|
119 |
value="absolut", |
|
120 |
checked=FORM.filter.prices.${pg.id}.type == 'absolut', class='horizontal') %] |
|
121 |
</td> |
|
122 |
</tr> |
|
123 |
[% END %] |
|
124 |
</tbody> |
|
125 |
</table> |
|
75 | 126 |
|
76 |
<tr> |
|
77 |
<td>[% 'List Price' | $T8 %]</td> |
|
78 |
<td>[% L.input_tag('filter.prices.listprice.price_as_number', FORM.filter.prices.listprice.price_as_number, size=11) %]</td> |
|
79 |
<td align="center"> |
|
80 |
[% L.radio_button_tag("filter.prices.listprice.type", |
|
81 |
value="percent", |
|
82 |
checked=!FORM.filter.prices.listprice.type || FORM.filter.prices.listprice.type == 'percent') %] / |
|
83 |
[% L.radio_button_tag("filter.prices.listprice.type", |
|
84 |
value="absolut", |
|
85 |
checked=FORM.filter.prices.listprice.type == 'absolut') %] |
|
86 |
</td> |
|
87 |
</tr> |
|
127 |
</div><!-- /.wrapper --> |
|
88 | 128 |
|
89 |
[%- FOREACH pg = SELF.pricegroups %] |
|
90 |
<tr> |
|
91 |
<td>[% pg.pricegroup | html %]</td> |
|
92 |
<td>[% L.input_tag('filter.prices.' _ pg.id _ '.price_as_number', FORM.filter.prices.${pg.id}.price_as_number, size=11) %]</td> |
|
93 |
<td align="center"> |
|
94 |
[% L.radio_button_tag("filter.prices." _ pg.id _ ".type", |
|
95 |
value="percent", |
|
96 |
checked=!FORM.filter.prices.${pg.id}.type || FORM.filter.prices.${pg.id}.type == 'percent') %] / |
|
97 |
[% L.radio_button_tag("filter.prices." _ pg.id _ ".type", |
|
98 |
value="absolut", |
|
99 |
checked=FORM.filter.prices.${pg.id}.type == 'absolut') %] |
|
100 |
</td> |
|
101 |
</tr> |
|
102 |
[%- END %] |
|
103 |
|
|
104 |
</table> |
|
105 | 129 |
</form> |
templates/webpages/io/select_item.html | ||
---|---|---|
1 |
[% USE LxERP %][% USE HTML %][% USE L %][% USE P %] |
|
1 |
[% USE LxERP %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE L %] |
|
4 |
[% USE P %] |
|
2 | 5 |
[% SET COLS = 8 %] |
3 | 6 |
<h1>[% title %]</h1> |
4 | 7 |
|
5 | 8 |
<form method="post" action="[% HTML.escape(script) %]" id="form"> |
6 | 9 |
|
7 |
<table width="100%"> |
|
8 |
<tr class="listheading"> |
|
9 |
[%- IF MYCONFIG.item_multiselect %] |
|
10 |
<th>[% LxERP.t8('Qty') %]</th> |
|
11 |
[%- ELSE %] |
|
12 |
<th> </th> |
|
13 |
[%- END %] |
|
14 |
<th>[% LxERP.t8('Number') %]</th> |
|
15 |
<th>[% LxERP.t8('Part Classification') %]</th> |
|
16 |
<th>[% LxERP.t8('Part Description') %]</th> |
|
17 |
[%- IF INSTANCE_CONF.get_show_longdescription_select_item %] |
|
18 |
[% SET COLS = COLS + 1 %] |
|
19 |
<th>[% LxERP.t8('Long Description') %]</th> |
|
20 |
[%- END %] |
|
21 |
<th>[% LxERP.t8('Other Matches') %]</th> |
|
22 |
<th>[% LxERP.t8('Price') %]</th> |
|
23 |
[%- IF IS_PURCHASE %] |
|
24 |
[% SET COLS = COLS + 1 %] |
|
25 |
<th>[% LxERP.t8('ROP') %]</th> |
|
26 |
[%- END %] |
|
27 |
<th>[% LxERP.t8('Qty') %]</th> |
|
28 |
<th>[% LxERP.t8('Unit') %]</th> |
|
29 |
</tr> |
|
30 |
|
|
31 |
[%- FOREACH item = ITEM_LIST %] |
|
32 |
<tr class="listrow[% loop.count % 2 %]"> |
|
33 |
[%- IF MYCONFIG.item_multiselect %] |
|
34 |
<td>[% L.input_tag('select_qty_' _ HTML.escape(item.id), '', size => 5) %]</td> |
|
35 |
[%- ELSE %] |
|
36 |
<td><input name="select_item_id" class="radio" type="radio" value="[% HTML.escape(item.id) %]"[% IF loop.first %] checked[% END %]></td> |
|
37 |
[%- END %] |
|
38 |
<td>[% HTML.escape(item.partnumber) %]</td> |
|
39 |
<td>[% HTML.escape(item.type_and_classific) %]</td> |
|
40 |
<td>[% HTML.escape(item.description) %]</td> |
|
41 |
[%- IF INSTANCE_CONF.get_show_longdescription_select_item %] |
|
42 |
<td>[% P.restricted_html(item.longdescription) %]</td> |
|
43 |
[%- END %] |
|
44 |
<td>[% HTML.escape(item.matches).join('<br>') %]</td> |
|
45 |
<td align="right">[% LxERP.format_amount(item.display_sellprice, 2) %]</td> |
|
46 |
[%- IF IS_PURCHASE %] |
|
47 |
<td align="right">[% LxERP.format_amount(item.rop, '') %]</td> |
|
48 |
[%- END %] |
|
49 |
<td align="right">[% LxERP.format_amount(item.onhand, '') %]</td> |
|
50 |
<td>[% HTML.escape(item.unit) %]</td> |
|
51 |
</tr> |
|
52 |
[%- END %] |
|
53 |
|
|
54 |
<tr><td colspan="[% COLS %]"><hr size="3" noshade></td></tr> |
|
10 |
<table class="tbl-list wi-moderate"> |
|
11 |
<thead> |
|
12 |
<tr> |
|
13 |
[% IF MYCONFIG.item_multiselect %] |
|
14 |
<th>[% LxERP.t8('Qty') %]</th> |
|
15 |
[% ELSE %] |
|
16 |
<th> </th> |
|
17 |
[% END %] |
|
18 |
<th>[% LxERP.t8('Number') %]</th> |
|
19 |
<th>[% LxERP.t8('Part Classification') %]</th> |
|
20 |
<th>[% LxERP.t8('Part Description') %]</th> |
|
21 |
[% IF INSTANCE_CONF.get_show_longdescription_select_item %] |
|
22 |
[% SET COLS = COLS + 1 %] |
|
23 |
<th>[% LxERP.t8('Long Description') %]</th> |
|
24 |
[% END %] |
|
25 |
<th>[% LxERP.t8('Other Matches') %]</th> |
|
26 |
<th class="right">[% LxERP.t8('Price') %]</th> |
|
27 |
[% IF IS_PURCHASE %] |
|
28 |
[% SET COLS = COLS + 1 %] |
|
29 |
<th class="right">[% LxERP.t8('ROP') %]</th> |
|
30 |
[% END %] |
|
31 |
<th class="right">[% LxERP.t8('Qty') %]</th> |
|
32 |
<th>[% LxERP.t8('Unit') %]</th> |
|
33 |
</tr> |
|
34 |
</thead> |
|
35 |
<tbody> |
|
36 |
[% FOREACH item = ITEM_LIST %] |
|
37 |
<tr class="listrow[% loop.count % 2 %]"> |
|
38 |
[% IF MYCONFIG.item_multiselect %] |
|
39 |
<td>[% L.input_tag('select_qty_' _ HTML.escape(item.id), '', size => 5) %]</td> |
|
40 |
[% ELSE %] |
|
41 |
<td><input name="select_item_id" type="radio" value="[% HTML.escape(item.id) %]"[% IF loop.first %] checked[% END %]></td> |
|
42 |
[% END %] |
|
43 |
<td>[% HTML.escape(item.partnumber) %]</td> |
|
44 |
<td>[% HTML.escape(item.type_and_classific) %]</td> |
|
45 |
<td>[% HTML.escape(item.description) %]</td> |
|
46 |
[% IF INSTANCE_CONF.get_show_longdescription_select_item %] |
|
47 |
<td>[% P.restricted_html(item.longdescription) %]</td> |
|
48 |
[% END %] |
|
49 |
<td>[% HTML.escape(item.matches).join('<br>') %]</td> |
|
50 |
<td class="numeric">[% LxERP.format_amount(item.display_sellprice, 2) %]</td> |
|
51 |
[% IF IS_PURCHASE %] |
|
52 |
<td class="numeric">[% LxERP.format_amount(item.rop, '') %]</td> |
|
53 |
[% END %] |
|
54 |
<td class="numeric">[% LxERP.format_amount(item.onhand, '') %]</td> |
|
55 |
<td>[% HTML.escape(item.unit) %]</td> |
|
56 |
</tr> |
|
57 |
[% END %] |
|
58 |
</tbody> |
|
55 | 59 |
</table> |
56 |
|
|
60 |
<p> </p> |
|
57 | 61 |
[% L.hidden_tag('select_item_mode', MODE) %] |
58 | 62 |
[% L.hidden_tag('select_item_previous_form', PREVIOUS_FORM) %] |
59 | 63 |
[% L.hidden_tag('action', 'item_selected') %] |
60 | 64 |
</form> |
61 | 65 |
|
62 |
[%- IF MYCONFIG.item_multiselect %]
|
|
66 |
[% IF MYCONFIG.item_multiselect %] |
|
63 | 67 |
<script type='text/javascript'> |
64 | 68 |
var first_click = 1;; |
65 |
[%- FOREACH item = ITEM_LIST %]
|
|
69 |
[% FOREACH item = ITEM_LIST %] |
|
66 | 70 |
[% SET THIS_ID = 'select_qty_' _ HTML.escape(item.id) %] |
67 | 71 |
$('#[% THIS_ID %]').click(function(){ |
68 | 72 |
var qty = '1'; |
... | ... | |
74 | 78 |
$('#[% THIS_ID %]').attr('value', qty); $('#[% THIS_ID %]').select(); |
75 | 79 |
} |
76 | 80 |
}); |
77 |
[%- END %]
|
|
81 |
[% END %] |
|
78 | 82 |
</script> |
79 |
[%- END %] |
|
83 |
[% END %] |
templates/webpages/ir/_payments.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE LxERP %] |
|
3 |
[%- USE L %] |
|
4 |
[%- USE HTML %] |
|
5 |
<tr> |
|
6 |
<td> |
|
7 |
<table width="100%"> |
|
8 |
<tr class="listheading"> |
|
9 |
<th colspan="6" class="listheading">[% 'Payments' | $T8 %]</th> |
|
10 |
</tr> |
|
11 |
<tr> |
|
1 |
[% USE T8 %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE L %] |
|
4 |
[% USE HTML %] |
|
5 |
|
|
6 |
|
|
7 |
<table class="tbl-list wi-moderate"> |
|
8 |
<caption> |
|
9 |
[% 'Payments' | $T8 %] |
|
10 |
</caption> |
|
11 |
|
|
12 |
<thead> |
|
13 |
<tr> |
|
12 | 14 |
<th>[% 'Date' | $T8 %]</th> |
13 | 15 |
<th>[% 'Source' | $T8 %]</th> |
14 | 16 |
<th>[% 'Memo' | $T8 %]</th> |
15 | 17 |
<th>[% 'Amount' | $T8 %]</th> |
16 | 18 |
<th></th> |
17 |
[% IF show_exchangerate %]
|
|
19 |
[% IF show_exchangerate %]
|
|
18 | 20 |
<th>[% 'Exch' | $T8 %]</th> |
19 |
[% END %]
|
|
21 |
[% END %]
|
|
20 | 22 |
<th>[% 'Account' | $T8 %]</th> |
21 |
</tr>
|
|
22 |
|
|
23 |
</tr> |
|
24 |
</thead> |
|
23 | 25 |
|
24 |
[% FOREACH i = paid_indices %] |
|
25 |
[% SET changeable = 'changeable_' _ i %] |
|
26 |
[% SET acc_trans_id = 'acc_trans_id_' _ i %] |
|
27 |
[% SET p_gldate = 'gldate_' _ i %] |
|
28 |
[% SET datepaid = 'datepaid_' _ i %] |
|
29 |
[% SET source = 'source_' _ i %] |
|
30 |
[% SET memo = 'memo_' _ i %] |
|
31 |
[% SET paid = 'paid_' _ i %] |
|
32 |
[% SET AP_paid = 'AP_paid_' _ i %] |
|
33 |
[% SET selectAP_paid_ref = 'selectAP_paid_' _ i %] |
|
34 | 26 |
|
35 |
<input type=hidden name="acc_trans_id_[% i %]" value=[% $acc_trans_id %]> |
|
36 |
<input type=hidden name="gldate_[% i %]" value=[% $p_gldate %]> |
|
37 | 27 |
|
38 |
<tr> |
|
28 |
<tbody> |
|
29 |
[% FOREACH i = paid_indices %] |
|
30 |
[% SET changeable = 'changeable_' _ i %] |
|
31 |
[% SET acc_trans_id = 'acc_trans_id_' _ i %] |
|
32 |
[% SET p_gldate = 'gldate_' _ i %] |
|
33 |
[% SET datepaid = 'datepaid_' _ i %] |
|
34 |
[% SET source = 'source_' _ i %] |
|
35 |
[% SET memo = 'memo_' _ i %] |
|
36 |
[% SET paid = 'paid_' _ i %] |
|
37 |
[% SET AP_paid = 'AP_paid_' _ i %] |
|
38 |
[% SET selectAP_paid_ref = 'selectAP_paid_' _ i %] |
|
39 |
<tr> |
|
39 | 40 |
|
40 |
<td align="center"> |
|
41 |
[% IF $changeable %] |
|
42 |
[% IF $datepaid %] |
|
43 |
[% L.date_tag('datepaid_'_ i, $datepaid) %] |
|
41 |
<td> |
|
42 |
<input type=hidden name="acc_trans_id_[% i %]" value=[% $acc_trans_id %]> |
|
43 |
<input type=hidden name="gldate_[% i %]" value=[% $p_gldate %]> |
|
44 |
[% IF $changeable %] |
|
45 |
[% IF $datepaid %] |
|
46 |
[% L.date_tag('datepaid_'_ i, $datepaid) %] |
|
47 |
[% ELSE %] |
|
48 |
[% L.date_tag('datepaid_'_ i, today) %] |
|
49 |
[% END %] |
|
44 | 50 |
[% ELSE %] |
45 |
[% L.date_tag('datepaid_'_ i, today) %]
|
|
51 |
<input type="hidden" name="datepaid_[% i %]" value="[% $datepaid %]">[% $datepaid %]
|
|
46 | 52 |
[% END %] |
47 |
[% ELSE %] |
|
48 |
<input type="hidden" name="datepaid_[% i %]" value="[% $datepaid %]">[% $datepaid %] |
|
49 |
[% END %] |
|
50 |
</td> |
|
51 |
<td align=center> |
|
52 |
[% IF $changeable %] |
|
53 |
<input name="source_[% i %]" size="11" value="[% $source %]"> |
|
54 |
[% ELSE %] |
|
53 |
</td> |
|
54 |
<td> |
|
55 |
[% IF $changeable %] |
|
56 |
<input type="text" name="source_[% i %]" size="11" value="[% $source %]"> |
|
57 |
[% ELSE %] |
|
55 | 58 |
<input type="hidden" name="source_[% i %]" value="[% $source %]">[% $source %] |
56 |
[% END %] |
|
57 |
</td>
|
|
58 |
<td align="center">
|
|
59 |
[% IF $changeable %] |
|
60 |
<input name="memo_[% i %]" size="11" value="[% $memo %]">
|
|
61 |
[% ELSE %] |
|
62 |
<input type="hidden" name="memo_[% i %]" value="[% $memo %]">[% $memo %] |
|
63 |
[% END %] |
|
64 |
</td>
|
|
65 |
<td align="center">
|
|
66 |
[% IF $changeable %] |
|
67 |
<input name="paid_[% i %]" size="11" value="[% LxERP.format_amount($paid, 2, 1) %]">
|
|
68 |
[% ELSE %] |
|
69 |
<input type="hidden" name="paid_[% i %]" value="[% LxERP.format_amount($paid, 2, 1) %]"> |
|
70 |
[% LxERP.format_amount($paid, 2, 1) %] |
|
71 |
[% END %] |
|
72 |
</td>
|
|
73 |
<td>
|
|
74 |
[% IF $changeable && loop.last && paid_missing > 0 %]
|
|
75 |
<input type='button' id='is_set_to_paid_missing' value='[% 'Set to paid missing' | $T8 %]'>
|
|
76 |
[% END %]
|
|
77 |
</td>
|
|
59 |
[% END %]
|
|
60 |
</td> |
|
61 |
<td>
|
|
62 |
[% IF $changeable %]
|
|
63 |
<input type="text" name="memo_[% i %]" size="11" value="[% $memo %]">
|
|
64 |
[% ELSE %]
|
|
65 |
<input type="hidden" name="memo_[% i %]" value="[% $memo %]">[% $memo %]
|
|
66 |
[% END %]
|
|
67 |
</td> |
|
68 |
<td>
|
|
69 |
[% IF $changeable %]
|
|
70 |
<input type="text" name="paid_[% i %]" size="11" value="[% LxERP.format_amount($paid, 2, 1) %]">
|
|
71 |
[% ELSE %]
|
|
72 |
<input type="hidden" name="paid_[% i %]" value="[% LxERP.format_amount($paid, 2, 1) %]">
|
|
73 |
[% LxERP.format_amount($paid, 2, 1) %]
|
|
74 |
[% END %]
|
|
75 |
</td> |
|
76 |
<td> |
|
77 |
[% IF $changeable && loop.last && paid_missing > 0 %] |
|
78 |
<input type='button' id='is_set_to_paid_missing' value='[% 'Set to paid missing' | $T8 %]'> |
|
79 |
[% END %] |
|
80 |
</td> |
|
78 | 81 |
|
79 |
[% IF show_exchangerate %] |
|
80 |
<td align="center">
|
|
81 |
[% SET forex = 'forex_' _ i %] |
|
82 |
[% SET exchangerate = 'exchangerate_' _ i %] |
|
83 |
[% IF $forex %] |
|
84 |
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2) %]"> |
|
85 |
[% LxERP.format_amount($forex, 2) %] |
|
86 |
[% ELSE %] |
|
87 |
[% IF $changeable %] |
|
88 |
<input name="exchangerate_[% i %]" size="10" value="[% LxERP.format_amount($exchangerate, 2, 1) %]">
|
|
89 |
[% ELSE %] |
|
90 |
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2, 1) %]"> |
|
91 |
[% LxERP.format_amount($exchangerate, 2, 1) %] |
|
92 |
[% END %] |
|
93 |
[% END %] |
|
82 |
[% IF show_exchangerate %]
|
|
83 |
<td>
|
|
84 |
[% SET forex = 'forex_' _ i %]
|
|
85 |
[% SET exchangerate = 'exchangerate_' _ i %]
|
|
86 |
[% IF $forex %]
|
|
87 |
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2) %]">
|
|
88 |
[% LxERP.format_amount($forex, 2) %]
|
|
89 |
[% ELSE %]
|
|
90 |
[% IF $changeable %]
|
|
91 |
<input type="text" name="exchangerate_[% i %]" size="10" value="[% LxERP.format_amount($exchangerate, 2, 1) %]">
|
|
92 |
[% ELSE %]
|
|
93 |
<input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2, 1) %]">
|
|
94 |
[% LxERP.format_amount($exchangerate, 2, 1) %]
|
|
95 |
[% END %]
|
|
96 |
[% END %]
|
|
94 | 97 |
<input type="hidden" name="forex_[% i %]" value="[% $forex %]"> |
95 |
</td> |
|
96 |
[% END %] |
|
97 |
|
|
98 |
<td align="center"> |
|
99 |
[% IF $changeable %] |
|
100 |
<select name="AP_paid_[% i %]">[% $selectAP_paid_ref %]</select> |
|
101 |
[% ELSE %] |
|
102 |
<input type="hidden" name="AP_paid_[% i %]" value="[% $AP_paid %]">[% $AP_paid %] |
|
103 |
[% END %] |
|
104 |
</td> |
|
98 |
</td> |
|
99 |
[% END %] |
|
105 | 100 |
|
106 |
</tr> |
|
101 |
<td> |
|
102 |
[% IF $changeable %] |
|
103 |
<select name="AP_paid_[% i %]">[% $selectAP_paid_ref %]</select> |
|
104 |
[% ELSE %] |
|
105 |
<input type="hidden" name="AP_paid_[% i %]" value="[% $AP_paid %]">[% $AP_paid %] |
|
106 |
[% END %] |
|
107 |
</td> |
|
107 | 108 |
|
108 |
[% END # foreach %] |
|
109 |
</tr> |
|
110 |
[% END # foreach %] |
|
111 |
</tbody> |
|
109 | 112 |
|
110 |
<tr> |
|
111 |
<td></td> |
|
112 |
<td></td> |
|
113 |
<td align="center">[% 'Total' | $T8 %]</td> |
|
114 |
<td align="center">[% LxERP.format_amount(totalpaid, 2) | html %]</td> |
|
115 |
</tr> |
|
116 |
<tr> |
|
117 |
<td></td> |
|
118 |
<td></td> |
|
119 |
<td align="center">[% 'Missing amount' | $T8 %]</td> |
|
120 |
<td align="center">[% LxERP.format_amount(paid_missing, 2) | html %]</td> |
|
121 |
</tr> |
|
113 |
<tfoot> |
|
114 |
<tr> |
|
115 |
<td></td> |
|
116 |
<td></td> |
|
117 |
<td>[% 'Total' | $T8 %]</td> |
|
118 |
<td>[% LxERP.format_amount(totalpaid, 2) | html %]</td> |
|
119 |
<td colspan="2"></td> |
|
120 |
</tr> |
|
121 |
<tr> |
|
122 |
<td></td> |
|
123 |
<td></td> |
|
124 |
<td>[% 'Missing amount' | $T8 %]</td> |
|
125 |
<td>[% LxERP.format_amount(paid_missing, 2) | html %]</td> |
|
126 |
<td colspan="2"></td> |
|
127 |
</tr> |
|
128 |
</tfoot> |
|
129 |
</table> |
|
122 | 130 |
|
123 |
<input type="hidden" name="paidaccounts" value="[% paidaccounts %]"> |
|
124 |
<input type="hidden" name="selectAP_paid" value="[% selectAP_paid %]"> |
|
125 |
<input type="hidden" name="oldinvtotal" value="[% oldinvtotal %]"> |
|
131 |
<input type="hidden" name="paidaccounts" value="[% paidaccounts %]"> |
|
132 |
<input type="hidden" name="selectAP_paid" value="[% selectAP_paid %]"> |
|
133 |
<input type="hidden" name="oldinvtotal" value="[% oldinvtotal %]"> |
|
134 |
<input type="hidden" name="oldtotalpaid" value="[% totalpaid %]"> |
|
126 | 135 |
|
127 |
<input type="hidden" name="oldtotalpaid" value="[% totalpaid %]"> |
|
128 |
</table> |
|
129 | 136 |
|
130 |
</td> |
|
131 |
</tr> |
|
132 |
<script type='text/javascript'> |
|
133 |
$('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') }); |
|
134 |
</script> |
|
137 |
<script type='text/javascript'> |
|
138 |
$('#is_set_to_paid_missing').click(function(){ $('input[name^="paid_"]:last').val('[% LxERP.format_amount(paid_missing, 2) %]') }); |
|
139 |
</script> |
templates/webpages/ir/form_footer.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
[%- USE LxERP %] |
|
4 |
[%- USE L %][%- USE P -%] |
|
5 |
<tr> |
|
6 |
<td> |
|
7 |
<table width="100%"> |
|
8 |
<tr valign="bottom"> |
|
9 |
<td> |
|
10 |
<table> |
|
11 |
<tr> |
|
12 |
<th align="left">[% 'Notes' | $T8 %]</th> |
|
13 |
<th align="left">[% 'Internal Notes' | $T8 %]</th> |
|
14 |
<th align="right">[% 'Payment / Delivery Options' | $T8 %]</th> |
|
15 |
</tr> |
|
16 |
<tr valign="top"> |
|
17 |
<td> |
|
18 |
[% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %] |
|
19 |
</td> |
|
20 |
<td> |
|
21 |
<textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea> |
|
22 |
</td> |
|
23 |
<td> |
|
24 |
<table> |
|
25 |
<tr> |
|
26 |
<th align="right">[% 'Delivery Terms' | $T8 %] </th> |
|
27 |
<td> |
|
28 |
[% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description', style = 'width: 250px') %] |
|
29 |
</td> |
|
30 |
</tr> |
|
31 |
<tr> |
|
32 |
<th align="right">[% 'direct debit' | $T8 %]</th> |
|
33 |
<td> |
|
34 |
[%- L.checkbox_tag('direct_debit', 'checked', direct_debit) %] |
|
35 |
</td> |
|
36 |
</tr> |
|
37 |
</table> |
|
38 |
</td> |
|
39 |
</tr> |
|
40 |
[%- IF id && follow_ups.size %] |
|
41 |
<tr> |
|
42 |
<td colspan="2"> |
|
43 |
[%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %] |
|
44 |
<td> |
|
45 |
</tr> |
|
46 |
[%- END %] |
|
47 |
</table> |
|
48 |
</td> |
|
49 |
[%- IF show_weight %] |
|
50 |
<td> |
|
51 |
<table> |
|
52 |
<tr> |
|
53 |
<th align=left>[% 'Total weight' | $T8 %]</th> |
|
54 |
<td> |
|
55 |
[% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %] |
|
56 |
</td> |
|
57 |
</tr> |
|
58 |
</table> |
|
59 |
</td> |
|
60 |
[%- END %] |
|
61 |
<td align="right"> |
|
62 |
[%- IF taxaccounts %] |
|
63 |
<input name="taxincluded" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]> |
|
64 |
<b>[% 'Tax Included' | $T8 %]</b> |
|
65 |
<br> |
|
66 |
<br> |
|
67 |
[%- END %] |
|
68 |
<table> |
|
69 |
|
|
70 |
[%- UNLESS taxincluded %] |
|
71 |
<tr> |
|
72 |
<th align="right">[% 'Subtotal' | $T8 %]</th> |
|
73 |
<td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td> |
|
74 |
</tr> |
|
75 |
[%- END %] |
|
76 |
|
|
77 |
[%# tax %] |
|
78 |
[% FOREACH item = taxaccounts_array %] |
|
79 |
[% SET description_ref = item _ '_description' %] |
|
80 |
[% SET rate_ref = item _ '_rate' %] |
|
81 |
[% SET total_ref = item _ '_total' %] |
|
82 |
[% SET netto_ref = item _ '_netto' %] |
|
83 |
<tr> |
|
84 |
<th align="right">[% 'Including' | $T8 %] [% $description_ref | html %] [% $rate_ref * 100 %]%</th> |
|
85 |
<td align="right">[% LxERP.format_amount($total_ref, 2) %]</td> |
|
86 |
</tr> |
|
87 |
[%- IF taxincluded %] |
|
88 |
<tr> |
|
89 |
<th align="right">[% 'Net amount' | $T8 %]</th> |
|
90 |
<td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td> |
|
91 |
</tr> |
|
92 |
[%- END %] |
|
93 |
[%- END %] |
|
94 |
|
|
95 |
<tr> |
|
96 |
<th align="right">[% 'Total' | $T8 %]</th> |
|
97 |
<td align="right">[% LxERP.format_amount(invtotal, 2) %]</td> |
|
98 |
</tr> |
|
99 |
</table> |
|
100 |
</td> |
|
101 |
</tr> |
|
102 |
</table> |
|
103 |
</td> |
|
104 |
</tr> |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 |
[% USE P %] |
|
6 |
|
|
7 |
|
|
8 |
<div class="list-total"> |
|
9 |
|
|
10 |
<table class="tbl-list footer-only right"> |
|
11 |
<colgroup> <col class="wi-small"><col class="wi-small"><col class="wi-small"><col class="wi-small"><col class="wi-small"> </colgroup> |
|
12 |
<tfoot> |
|
13 |
[% UNLESS taxincluded %] |
|
14 |
<tr> |
|
15 |
<th colspan="3"></th> |
|
16 |
<th>[% 'Subtotal' | $T8 %]</th> |
|
17 |
<td class="numeric">[% LxERP.format_amount(invsubtotal, 2) %]</td> |
|
18 |
</tr> |
|
19 |
[% END %][% # tax %] |
|
20 |
|
|
21 |
[% FOREACH item = taxaccounts_array %] |
|
22 |
[% SET description_ref = item _ '_description' %] |
|
23 |
[% SET rate_ref = item _ '_rate' %] |
|
24 |
[% SET total_ref = item _ '_total' %] |
|
25 |
[% SET netto_ref = item _ '_netto' %] |
|
26 |
<tr> |
|
27 |
<th colspan="3"></th> |
|
28 |
<th>[% 'Including' | $T8 %] [% $description_ref | html %] [% $rate_ref * 100 %]%</th> |
|
29 |
<td class="numeric">[% LxERP.format_amount($total_ref, 2) %]</td> |
|
30 |
</tr> |
|
31 |
[% IF taxincluded %] |
|
32 |
<tr> |
|
33 |
<th colspan="3"></th> |
|
34 |
<th>[% 'Net amount' | $T8 %]</th> |
|
35 |
<td class="numeric">[% LxERP.format_amount($netto_ref, 2) %]</td> |
|
36 |
</tr> |
|
37 |
[% END %] |
|
38 |
[% END %] |
|
39 |
|
|
40 |
<tr> |
|
41 |
[% IF show_weight %] |
|
42 |
<th>[% 'Total weight' | $T8 %]</th> |
|
43 |
<td class="numeric">[% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]</td> |
|
44 |
<th></th> |
|
45 |
[% ELSE %] |
|
46 |
<th colspan="3"></th> |
|
47 |
[% END %] |
|
48 |
<th>[% 'Total' | $T8 %]</th> |
|
49 |
<td class="numeric">[% LxERP.format_amount(invtotal, 2) %]</td> |
|
50 |
</tr> |
|
51 |
</tfoot> |
|
52 |
</table> |
|
53 |
|
|
54 |
[% IF taxaccounts %] |
|
55 |
<div class="after-item"><input name="taxincluded" type="checkbox"[% IF taxincluded %] checked[% END %]> [% 'Tax Included' | $T8 %]</div> |
|
56 |
[% END %] |
|
57 |
|
|
58 |
</div><!-- /.list-total --> |
|
59 |
</div><!-- /.list-table-with-separate-total-table --> |
|
60 |
|
|
61 |
|
|
105 | 62 |
|
106 | 63 |
[% PROCESS 'ir/_payments.html' %] |
107 | 64 |
|
108 |
</table> |
|
109 | 65 |
</div> |
66 |
|
|
110 | 67 |
[% PROCESS 'webdav/_list.html' %] |
111 | 68 |
<div id="ui-tabs-1"> |
112 |
[%- LxERP.t8("Loading...") %]
|
|
69 |
[% LxERP.t8("Loading...") %]
|
|
113 | 70 |
</div> |
114 | 71 |
</div> |
115 | 72 |
|
116 |
<hr size="3" noshade> |
|
73 |
|
|
117 | 74 |
|
118 | 75 |
<p>[% print_options %]</p> |
119 | 76 |
|
templates/webpages/ir/form_header.html | ||
---|---|---|
1 |
[%- USE T8 %] |
|
2 |
[%- USE HTML %] |
|
3 |
[%- USE LxERP %] |
|
4 |
[%- USE L %][%- USE P -%] |
|
1 |
[% USE T8 %] |
|
2 |
[% USE HTML %] |
|
3 |
[% USE LxERP %] |
|
4 |
[% USE L %] |
|
5 |
[% USE P %] |
|
6 |
|
|
5 | 7 |
<h1>[% title %]</h1> |
6 | 8 |
|
7 |
[%- SET follow_up_trans_info = invnumber _ ' (' _ vendor_obj.name _ ')' %]
|
|
9 |
[% SET follow_up_trans_info = invnumber _ ' (' _ vendor_obj.name _ ')' %] |
|
8 | 10 |
<script type="text/javascript" src="js/common.js"></script> |
9 | 11 |
<script type="text/javascript" src="js/calculate_qty.js"></script> |
10 | 12 |
<script type="text/javascript" src="js/follow_up.js"></script> |
... | ... | |
13 | 15 |
|
14 | 16 |
<p>[% saved_message %]</p> |
15 | 17 |
|
16 |
[%- FOREACH key = HIDDENS %]
|
|
18 |
[% FOREACH key = HIDDENS %] |
|
17 | 19 |
<input type="hidden" name="[% HTML.escape(key) %]" value="[% HTML.escape($key) %]"> |
18 |
[%- END %]
|
|
20 |
[% END %] |
|
19 | 21 |
<input type="hidden" name="follow_up_trans_id_1" value="[% id %]"> |
20 | 22 |
<input type="hidden" name="follow_up_trans_type_1" value="purchase_invoice"> |
21 | 23 |
<input type="hidden" name="follow_up_trans_info_1" value="[% HTML.escape(follow_up_trans_info) %]"> |
22 | 24 |
<input type="hidden" name="follow_up_rowcount" value="1"> |
23 | 25 |
<input type="hidden" name="lastmtime" value="[% HTML.escape(lastmtime) %]"> |
24 | 26 |
|
25 |
[%- INCLUDE 'common/flash.html' %]
|
|
26 |
[%- INCLUDE 'generic/set_longdescription.html' %]
|
|
27 |
[% INCLUDE 'common/flash.html' %] |
|
28 |
[% INCLUDE 'generic/set_longdescription.html' %] |
|
27 | 29 |
|
28 | 30 |
<div id="ir_tabs" class="tabwidget"> |
29 |
<ul> |
|
31 |
|
|
32 |
<ul> |
|
30 | 33 |
<li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li> |
31 |
[%- IF INSTANCE_CONF.get_webdav %] |
|
32 |
<li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li> |
|
33 |
[%- END %] |
|
34 |
[%- IF id %] |
|
35 |
[%- IF INSTANCE_CONF.get_doc_storage %] |
|
36 |
<li><a href="controller.pl?action=File/list&file_type=document&object_type=purchase_invoice&object_id=[% HTML.url(id) %]">[% 'Documents' | $T8 %]</a></li> |
|
37 |
<li><a href="controller.pl?action=File/list&file_type=attachment&object_type=purchase_invoice&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li> |
|
38 |
[%- END %] |
|
39 |
[%- IF AUTH.assert('record_links', 1) %] |
|
40 |
<li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=PurchaseInvoice&object_id=[% HTML.url(id) %]">[% 'Linked Records' | $T8 %]</a></li> |
|
41 |
[%- END %] |
|
42 |
<li><a href="[% 'controller.pl?action=AccTrans/list_transactions&trans_id=' _ HTML.url(id) | html %]">[% LxERP.t8('Transactions') %]</a></li> |
|
43 |
[%- END %] |
|
44 |
</ul> |
|
45 |
|
|
46 |
<div id="ui-tabs-basic-data"> |
|
47 |
<table width="100%"> |
|
48 |
<tr> |
|
49 |
<td valign="top"> |
|
50 |
<table> |
|
51 |
<tr> |
|
52 |
<th align="right">[% 'Vendor' | $T8 %]</th> |
|
53 |
<td> |
|
54 |
[% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %] |
|
55 |
[% P.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] |
|
56 |
[% P.hidden_tag("previous_vendor_id", vendor_id) %] |
|
57 |
</td> |
|
58 |
</tr> |
|
59 |
[%- IF ALL_CONTACTS.size %] |
|
60 |
<tr> |
|
61 |
<th align="right">[% 'Contact Person' | $T8 %]</th> |
|
62 |
<td> |
|
63 |
[% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value_key = 'cp_id', title_key = 'full_name_dep', with_empty = 1, style = 'width: 250px') %] |
|
64 |
</td> |
|
65 |
</tr> |
|
66 |
[%- END %] |
|
67 |
<tr> |
|
68 |
<td align="right">[% 'Credit Limit' | $T8 %]</td> |
|
69 |
<td> |
|
70 |
[% LxERP.format_amount(creditlimit, 0, '0') %]; [% 'Remaining' | $T8 %] |
|
71 |
<span class="plus[% IF is_credit_remaining_negativ %]0[% ELSE %]1[% END %]">[% LxERP.format_amount(creditremaining,0 ,'0') %]</span> |
|
72 |
</td> |
|
73 |
</tr> |
|
74 |
[%- IF invoice_obj.sepa_exports.as_list.size %] |
|
75 |
<tr> |
|
76 |
<th align="right">[% LxERP.t8("SEPA exports") %]</th> |
|
77 |
<td> |
|
78 |
[% FOREACH export = invoice_obj.sepa_exports.as_list %] |
|
79 |
<a href="sepa.pl?action=bank_transfer_edit&vc=vendor&id=[% HTML.url(export.id) %]">[% HTML.escape(export.id) %]</a> |
|
80 |
[% UNLESS loop.last %], [% END %] |
|
81 |
[% END %] |
|
82 |
</td> |
|
83 |
</tr> |
|
84 |
[%- END %] |
|
85 |
[%- IF business %] |
|
86 |
<tr> |
|
87 |
<th align="right">[% 'Vendor type' | $T8 %]</th> |
|
88 |
<td>[% business %]; [% 'Trade Discount' | $T8 %] [% LxERP.format_amount(tradediscount * 100) %] %</td> |
|
89 |
</tr> |
|
90 |
[%- END %] |
|
91 |
<tr> |
|
92 |
<th align="right" nowrap>[% 'Record in' | $T8 %]</th> |
|
93 |
<td colspan="3"><select name="AP" style="width:250px;">[% selectAP %]</select></td> |
Auch abrufbar als: Unified diff
Neues kivitendo Design restliche Aenderungen in templates/webpages/i*
Dateien ic/* io/* ir/* is/*