Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 634b8a55

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 634b8a55eef6619b10a9b1a20057f25906dfc8ca
  • Vorgänger 4c9ac6ac
  • Nachfolger 82c9ec1f

Neues Design 2019 Standard-Code templates/webpages/ic/

Unterschiede anzeigen:

templates/webpages/ic/confirm_price_update.html
3 3
[% USE LxERP %]
4 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 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/search.html
4 4
[% USE L %]
5 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
        [% L.radio_button_tag('bom', id='bom_2', value=2,            label=LxERP.t8('Search for Items used in Assemblies')) %]
106
       </td>
86
        <th>[% 'Scope' | $T8 %]</th>
87
        <th>[% 'Composition' | $T8 %]</th>
107 88
      </tr>
108

  
89
    </thead>
90
    <tbody>
109 91
      <tr>
110
       <td></td>
111
       <td colspan="3">
112
        [%- L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]
113
        [%- L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]
114
        [%- L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]
115
        [%- L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]
116
        [%- L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]
117
        [%- L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
118
       </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')) %]<br>
103
          [% L.radio_button_tag('bom', id='bom_2', value=2, label=LxERP.t8('Search for Items used in Assemblies')) %]
104
        </td>
119 105
      </tr>
120

  
121 106
      <tr>
122
       <td></td>
123
       <td colspan="3">
124
        <table>
125
         <tr>
126
          <td>
127
           <table>
128
            <tr>
129
             <td>[%- L.checkbox_tag('bought', label=LxERP.t8('Bought')) %]</td>
130
             <td>[%- L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]</td>
131
            </tr>
132

  
133
            <tr>
134
             <td colspan="2"><hr size="1" noshade></td>
135
            </tr>
136

  
137
            <tr>
138
             <td>[%- L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %]</td>
139
             <td>[%- L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]</td>
140
            </tr>
141

  
142
            <tr>
143
             <td colspan="2"><hr size="1" noshade></td>
144
            </tr>
145

  
146
            <tr>
147
             <td>[%- L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %]</td>
148
             <td>[%- L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]</td>
149
            </tr>
150
           </table>
151
          </td>
152

  
153
          <td width="5%">&nbsp;</td>
154

  
155
          <td>
156
           <table>
157
            <tr>
158
             <th>[% 'From' | $T8 %]</th>
159
             <td nowrap>[% L.date_tag('transdatefrom') %]</td>
160
             <th>[% 'To (time)' | $T8 %]</th>
161
             <td nowrap>[% L.date_tag('transdateto') %]</td>
162
            </tr>
163
           </table>
164
          </td>
165
         </tr>
166
        </table>
167
       </td>
107
        <th class="caption" colspan="2">[% 'State' | $T8 %]</th>
168 108
      </tr>
169

  
170 109
      <tr>
171
       <td></td>
172
       <td colspan="3">
173
        <hr size="1" noshade>
174
       </td>
110
        <td colspan="2">
111
          <div class="list wi-verysmall col">
112
            <div class="field">[% L.checkbox_tag('bought', label=LxERP.t8('Bought')) %]</div>
113
            <div class="field">[% L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]</div>
114
          </div>
115
          <div class="list wi-mediumsmall col">
116
            <div class="field">[% L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %]</div>
117
            <div class="field">[% L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]</div>
118
          </div>
119
          <div class="list wi-verysmall col">
120
            <div class="field">[% L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %]</div>
121
            <div class="field">[% L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]</div>
122
          </div>
123
        </td>
175 124
      </tr>
176

  
177 125
      <tr>
178
       <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> <td colspan="3">
179
        <table>
180
         <tr>
181
          <td>[%- L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</td>
182
          <td>[%- L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</td>
183
          <td>[%- L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</td>
184
          <td>[%- L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]</td>
185
         </tr>
186

  
187
         <tr>
188
          <td>[%- L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %]</td>
189
          <td>[%- L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]</td>
190
          <td>[%- L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]</td>
191
          <td>[%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</td>
192
         </tr>
193

  
194
         <tr>
195
          <td>[%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %]</td>
196
          <td>[%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</td>
197
          <td>[%- L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]</td>
198
          <td>[%- L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]</td>
199
         </tr>
200

  
201
         <tr>
202
          <td>[%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]</td>
203
          <td>[%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</td>
204
          <td>[%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</td>
205
          <td>[%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]</td>
206
          </td>
207
         </tr>
208

  
209
         <tr>
210
          <td>[%- L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]</td>
211
          <td>[%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</td>
212
          <td>[%- L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]</td>
213
          <td>[%- L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]</td>
214
         </tr>
215

  
216
         <tr>
217
          <td>[%- L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]</td>
218
          <td>[%- L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]</td>
219
          <td>[%- L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]</td>
220
          <td>[%- L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</td>
221
         </tr>
222

  
223
         <tr>
224
          <td>[%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</td>
225
          <td>[%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %]</td>
226
          <td>[%- L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]</td>
227
          <td>[%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</td>
228
         </tr>
229
         <tr>
230
          <td>[%- L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %]</td>
231
          <td>[%- L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %]</td>
232
          <td>[%- L.checkbox_tag('l_make', label=LxERP.t8('Make'), value='Y') %]</td>
233
          <td>[%- L.checkbox_tag('l_model', label=LxERP.t8('Model'), value='Y') %]</td>
234
         </tr>
235

  
236
         [% CUSTOM_VARIABLES_INCLUSION_CODE %]
237
        </table>
238
       </td>
126
        <td class="wi-date" colspan="2" style="vertical-align:middle;padding-top:1.2em;">
127
          [% 'From' | $T8 %]
128
          [% L.date_tag('transdatefrom') %]
129
          [% 'To (time)' | $T8 %]
130
          [% L.date_tag('transdateto') %]
131
        </td>
239 132
      </tr>
240
     </table>
241
    </td>
242
   </tr>
243
   <tr><td colspan="4"><hr size="3" noshade></td></tr>
133
    </tbody>
244 134
  </table>
245
 </form>
135

  
136
<table class="tbl-horizontal">
137
  <caption>[% 'Handling' | $T8 %]</caption>
138
  <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
139
  <tbody>
140
    <tr>
141
      <th>[% 'Insert Date' | $T8 %]</th>
142
      <td class="wi-date">[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]</td>
143
    </tr>
144
    <tr>
145
      <th class="caption" colspan="2"> [% 'Illustrations' | $T8 %]</th>
146
    </tr>
147
    <tr>
148
      <th>[% 'Drawing' | $T8 %]</th>
149
      <td>[% L.input_tag("drawing", "", class="wi-wide") %]</td>
150
    </tr>
151
    <tr>
152
      <th>[% 'Microfiche' | $T8 %]</th>
153
      <td>[% L.input_tag("microfiche", "", class="wi-wide") %]</td>
154
    </tr> </tbody>
155
</table>
156

  
157
  </div><!-- /.wrapper -->
158

  
159

  
160
<div class="wrapper form-addition control-panel">
161

  
162
  <h3 class="caption"> [% 'Include in Report' | $T8 %] </h3>
163
  <!-- PENDENT: Klasse col noetig in form-adddition -->
164
  <div class="col list">
165
    <h4>[% 'Article info ' | $T8 %]</h4>
166
    <p>[% L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</p>
167
    <p>[% L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</p>
168
    <p>[% L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</p>
169
    <p>[% L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]</p>
170
    <p>[% L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]</p>
171
    <p>[% L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]</p>
172
    <p>[% L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</p>
173
    <p>[% L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]</p>
174
    <p>[% L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]</p>
175
    <p>[% L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]</p>
176
    <p>[% L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]</p>
177
    <p>[% L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]</p>
178
    <p>[% L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</p>
179
  </div>
180

  
181
  <div class="col list">
182
    <h4>[% 'Prices' | $T8 %]</h4>
183
    <p>[% L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %]</p>
184
    <p>[% L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]</p>
185
    <p>[% L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]</p>
186
    <p>[% L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %]</p>
187
    <p>[% L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</p>
188
    <p>[% L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</p>
189
    <p>[% L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</p>
190
  </div>
191

  
192
  <div class="col list">
193
    <h4>[% 'Handling' | $T8 %]</h4>
194
    <p>[% L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]</p>
195
    <p>[% L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</p>
196
    <p>[% L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %]</p>
197
    <p>&nbsp;</p>
198
    <h4>[% 'Vendor' | $T8 %]</h4>
199
    <p>[% L.checkbox_tag('l_make', label=LxERP.t8('Make'), value='Y') %]</p>
200
    <p>[% L.checkbox_tag('l_model', label=LxERP.t8('Model'), value='Y') %]</p>
201
  </div>
202

  
203
  <div class="col list">
204
    <h4>[% 'Warehouse' | $T8 %]</h4>
205
    <p>[% L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %]</p>
206
    <p>[% L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %]</p>
207
    <p>[% L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]</p>
208
    <p>[% L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]</p>
209
  </div>
210

  
211
  <div class="col list">
212
    <h4>[% 'Illustrations' | $T8 %]</h4>
213
    <p>[% L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]</p>
214
    <p>[% L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</p>
215
    <p>[% L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</p>
216
  </div>
217

  
218
  [% IF CUSTOM_VARIABLES_INCLUSION_CODE %]
219
    <div class="col list">
220
      <h4>[% 'Custom Variables' | $T8 %] </h4>
221
      [% CUSTOM_VARIABLES_INCLUSION_CODE %]
222
    </div>
223
  [% END %]
224

  
225
</div><!-- ./wrapper.form-addition -->
226

  
227
</form>
templates/webpages/ic/search_update_prices.html
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>

Auch abrufbar als: Unified diff