Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d25334c6

Von Hans Peter Schlaepfer vor mehr als 6 Jahren hinzugefügt

  • ID d25334c6f26a49abac9707a54e5b987bd587d96e
  • Vorgänger e7c11f83
  • Nachfolger 3740d9a0

Aenderungen hpschlaepfer

Unterschiede anzeigen:

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 7
<h1>
8 8
  [% title %]
......
10 10
<form method="post" action="ic.pl" id="form">
11 11
  <input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]"> <input type="hidden" name="title" value="[% HTML.escape(title) %]"> <input type="hidden" name="revers" value="[% HTML.escape(revers) %]"> <input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]"> <input type="hidden" name="sort" value="description"> <input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]">
12 12

  
13
<div class="cols">
14

  
15

  
16
  <table class="tbl-horizontal col">
17
    <caption>[% 'Article data' | $T8 %]</caption>
18
    <tr>
19
      <th> [% 'Part Type' | $T8 %] </th>
20
      <td>
21
        <input name="l_part" id="l_part" type="checkbox" value="Y" checked>
22
        <label for="l_part"> [% 'Part' | $T8 %] </label><br>
23
        <input name="l_service" id="l_service" type="checkbox" value="Y" checked>
24
        <label for="l_service"> [% 'Service' | $T8 %] </label><br>
25
        <input name="l_assembly" id="l_assembly" type="checkbox" value="Y" checked>
26
        <label for="l_assembly"> [% 'Assembly' | $T8 %] </label><br>
27
        [%- IF INSTANCE_CONF.get_feature_experimental %]
28
        <input name="l_assortment" id="l_assortment" type="checkbox" value="Y" checked>
29
        <label for="l_assortment"> [% 'Assortment' | $T8 %] </label>
30
        [%- END %]
31
      </td>
32
    </tr>
33
    <tr>
34
      <th> [% 'Part Number' | $T8 %] </th>
35
      <td> [% L.input_tag("partnumber", "", value='asfasdf', class='wi-mediumsmall') %] </td>
36
    </tr>
37
    <tr>
38
      <th> [% 'Part Description' | $T8 %] </th>
39
      <td> [% L.input_tag("description", "", class='initial_focus wi-lightwide') %] </td>
40
    </tr>
41
    <tr>
42
      <th> [% 'Part Classification' | $T8 %]: </th>
43
      <td> [% P.select_classification('classification_id', class='wi-lightwide', with_empty=1, empty_title='') %] </td>
44
    </tr>
45
    <tr>
46
      <th> [% 'Partsgroup' | $T8 %] </th>
47
      <td> [% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, empty_title='', default=partsgroup, title_key="partsgroup", class='wi-lightwide') %] </td>
48
    </tr>
49
    <tr>
50
      <th> [% 'Serial Number' | $T8 %] </th>
51
      <td> [% L.input_tag("serialnumber", "", class='wi-mediumsmall') %] </td>
52
    </tr>
53
    <tr>
54
      <th> [% 'EAN' | $T8 %] </th>
55
      <td> [% L.input_tag("ean", "", class='wi-mediumsmall') %] </td>
56
    </tr>
57
    <tr>
58
      <th> [% 'Make' | $T8 %] </th>
59
      <td> [% L.input_tag("make", "", class='wi-lightwide') %] </td>
60
    </tr>
61
    <tr>
62
      <th> [% 'Model' | $T8 %] </th>
63
      <td> [% L.input_tag("model", "", class='wi-mediumsmall') %] </td>
64
    </tr>
65
    <tr>
66
      <th> [% 'Shop article' | $T8 %] </th>
67
      <td> [% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='', class='wi-verysmall') %] </td>
68
    </tr>
69
    [% CUSTOM_VARIABLES_FILTER_CODE %]
70
  </table>
71

  
72

  
73
  <table class="tbl-horizontal col">
74
    <caption> [% 'Scope' | $T8 %]</caption>
75
    <tr>
76
      <th> [% 'Scope' | $T8 %] </th>
77
      <td>
78
        [%- L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]
79
        [%- L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]
80
        [%- L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]
81
        [%- L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]
82
        [%- L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]
83
        [%- L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
84
      </td>
85
    </tr>
86
    <tr>
87
      <th> [% 'Composition' | $T8 %] </th>
88
      <td> [% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %] <br>
89
      [% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %] </td>
90
    </tr>
91
    <tr>
92
      <th class="caption" colspan="2">[% 'State' | $T8 %]</th>
93
    </tr>
94
    <tr>
95
      <td>
96
        [%- L.checkbox_tag('bought', label=LxERP.t8('Bought')) %] <br>
97
        [%- L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]
98
      </td>
99
      <td>
100
        <div style="float:left;padding-right:3.0em;">
101
          [%- L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %] <br>
102
          [%- L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]
103
        </div>
104
        <div style="float:left;">
105
          [%- L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %] <br>
106
          [%- L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]
107
        </div>
108
      </td>
109
    </tr>
110
    <tr>
111
      <td colspan="2" nowrap style="vertical-align:middle;">
112
        [% 'From' | $T8 %] [% L.date_tag('transdatefrom') %] [% 'To (time)' | $T8 %]
113
        [% L.date_tag('transdateto') %]
114
      </td>
115
    </tr>
116
    <tr>
117
      <th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th>
118
    </tr>
119
    <tr>
120
      <th> [% 'Insert Date' | $T8 %] </th>
121
      <td>
122
        [% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]
123
      </td>
124
    </tr>
125
    <tr>
126
      <th class="caption" colspan="2"> [% 'Illustrations' | $T8 %] </th>
127
    </tr>
128
    <tr>
129
      <th> [% 'Drawing' | $T8 %] </th>
130
      <td> [% L.input_tag("drawing", "", style=style) %] </td>
131
    </tr>
132
    <tr>
133
      <th> [% 'Microfiche' | $T8 %] </th>
134
      <td> [% L.input_tag("microfiche", "", style=style) %] </td>
135
    </tr>
136

  
137
  </table>
138
</div>
13
<div class="wrapper">
14

  
15

  
16
<table class="tbl-horizontal">
17
  <caption>[% 'Article data' | $T8 %]</caption>
18
  <tr>
19
    <th> [% 'Part Type' | $T8 %] </th>
20
    <td>
21
      <input name="l_part" id="l_part" type="checkbox" value="Y" checked>
22
      <label for="l_part"> [% 'Part' | $T8 %] </label><br>
23
      <input name="l_service" id="l_service" type="checkbox" value="Y" checked>
24
      <label for="l_service"> [% 'Service' | $T8 %] </label><br>
25
      <input name="l_assembly" id="l_assembly" type="checkbox" value="Y" checked>
26
      <label for="l_assembly"> [% 'Assembly' | $T8 %] </label><br>
27
      [% IF INSTANCE_CONF.get_feature_experimental %]
28
      <input name="l_assortment" id="l_assortment" type="checkbox" value="Y" checked>
29
      <label for="l_assortment"> [% 'Assortment' | $T8 %] </label>
30
      [% END %]
31
    </td>
32
  </tr>
33
  <tr>
34
    <th> [% 'Part Number' | $T8 %] </th>
35
    <td> [% L.input_tag("partnumber", "", value='asfasdf', class='wi-mediumsmall') %] </td>
36
  </tr>
37
  <tr>
38
    <th> [% 'Part Description' | $T8 %] </th>
39
    <td> [% L.input_tag("description", "", class='initial_focus wi-lightwide') %] </td>
40
  </tr>
41
  <tr>
42
    <th> [% 'Part Classification' | $T8 %]: </th>
43
    <td> [% P.select_classification('classification_id', class='wi-lightwide', with_empty=1, empty_title='') %] </td>
44
  </tr>
45
  <tr>
46
    <th> [% 'Partsgroup' | $T8 %] </th>
47
    <td> [% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, empty_title='', default=partsgroup, title_key="partsgroup", class='wi-lightwide') %] </td>
48
  </tr>
49
  <tr>
50
    <th> [% 'Serial Number' | $T8 %] </th>
51
    <td> [% L.input_tag("serialnumber", "", class='wi-mediumsmall') %] </td>
52
  </tr>
53
  <tr>
54
    <th> [% 'EAN' | $T8 %] </th>
55
    <td> [% L.input_tag("ean", "", class='wi-mediumsmall') %] </td>
56
  </tr>
57
  <tr>
58
    <th> [% 'Make' | $T8 %] </th>
59
    <td> [% L.input_tag("make", "", class='wi-lightwide') %] </td>
60
  </tr>
61
  <tr>
62
    <th> [% 'Model' | $T8 %] </th>
63
    <td> [% L.input_tag("model", "", class='wi-mediumsmall') %] </td>
64
  </tr>
65
  <tr>
66
    <th> [% 'Shop article' | $T8 %] </th>
67
    <td> [% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='', class='wi-verysmall') %] </td>
68
  </tr>
69
  [% CUSTOM_VARIABLES_FILTER_CODE %]
70
</table>
71

  
72

  
73
<table class="tbl-horizontal">
74
  <caption> [% 'Scope' | $T8 %]</caption>
75
  <tr class="head">
76
    <th> [% 'Scope' | $T8 %] </th>
77
    <th> [% 'Composition' | $T8 %] </th>
78
  </tr>
79
  <tr>
80
    <td>
81
      [% L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]<br>
82
      [% L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]<br>
83
      [% L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]<br>
84
      [% L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]<br>
85
      [% L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]<br>
86
      [% L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
87
    </td>
88
    <td> 
89
      [% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %] <br>
90
      [% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %] 
91
    </td>
92
  </tr>
93
  <tr>
94
    <th class="caption" colspan="2">[% 'State' | $T8 %]</th>
95
  </tr>
96
  <tr>
97
    <td>
98
      [% L.checkbox_tag('bought', label=LxERP.t8('Bought')) %] <br>
99
      [% L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]
100
    </td>
101
    <td>
102
      <div style="float:left;padding-right:3.0em;">
103
        [% L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %] <br>
104
        [% L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]
105
      </div>
106
      <div style="float:left;">
107
        [% L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %] <br>
108
        [% L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]
109
      </div>
110
    </td>
111
  </tr>
112
  <tr>
113
    <td colspan="2" style="vertical-align:middle;">
114
      [% 'From' | $T8 %] 
115
      [% L.date_tag('transdatefrom') %] 
116
      [% 'To (time)' | $T8 %]
117
      [% L.date_tag('transdateto') %]
118
    </td>
119
  </tr>
120
  <tr>
121
    <th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th>
122
  </tr>
123
  <tr>
124
    <th> [% 'Insert Date' | $T8 %] </th>
125
    <td>
126
      [% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]
127
    </td>
128
  </tr>
129
  <tr>
130
    <th class="caption" colspan="2"> [% 'Illustrations' | $T8 %] </th>
131
  </tr>
132
  <tr>
133
    <th> [% 'Drawing' | $T8 %] </th>
134
    <td> [% L.input_tag("drawing", "", style=style) %] </td>
135
  </tr>
136
  <tr>
137
    <th> [% 'Microfiche' | $T8 %] </th>
138
    <td> [% L.input_tag("microfiche", "", style=style) %] </td>
139
  </tr>
140

  
141
</table>
142

  
143

  
144
</div><!-- /.wrapper -->
139 145

  
140 146

  
141
<div class="cols">
147
<div class="wrapper form-addition">
142 148

  
143 149
  <h3 class="caption"> [% 'Include in Report' | $T8 %] </h3>
144 150

  
145 151
  <div class="col list">
146 152
    <h4>[% 'Article info ' | $T8 %]</h4>
147
    <p> [%- L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %] </p>
148
    <p> [%- L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %] </p>
149
    <p> [%- L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %] </p>
150
    <p> [%- L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %] </p>
151
    <p> [%- L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %] </p>
152
    <p> [%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %] </p>
153
    <p> [%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %] </p>
154
    <p> [%- L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %] </p>
155
    <p> [%- L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %] </p>
156
    <p> [%- L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %] </p>
157
    <p> [%- L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %] </p>
158
    <p> [%- L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %] </p>
159
    <p> [%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %] </p>
153
    <p> [% L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %] </p>
154
    <p> [% L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %] </p>
155
    <p> [% L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %] </p>
156
    <p> [% L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %] </p>
157
    <p> [% L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %] </p>
158
    <p> [% L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %] </p>
159
    <p> [% L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %] </p>
160
    <p> [% L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %] </p>
161
    <p> [% L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %] </p>
162
    <p> [% L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %] </p>
163
    <p> [% L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %] </p>
164
    <p> [% L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %] </p>
165
    <p> [% L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %] </p>
160 166
  </div>
161 167

  
162 168
  <div class="col list">
163 169
    <h4>[% 'Prices' | $T8 %]</h4>
164
    <p> [%- L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %] </p>
165
    <p> [%- L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %] </p>
166
    <p> [%- L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %] </p>
167
    <p> [%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %] </p>
168
    <p> [%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %] </p>
169
    <p> [%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %] </p>
170
    <p> [%- L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %] </p>
170
    <p> [% L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %] </p>
171
    <p> [% L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %] </p>
172
    <p> [% L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %] </p>
173
    <p> [% L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %] </p>
174
    <p> [% L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %] </p>
175
    <p> [% L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %] </p>
176
    <p> [% L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %] </p>
171 177
  </div>
172 178

  
173 179
  <div class="col list">
174 180
    <h4>[% 'Handling' | $T8 %]</h4>
175
    <p> [%- L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %] </p>
176
    <p> [%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %] </p>
177
    <p> [%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %] </p>
181
    <p> [% L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %] </p>
182
    <p> [% L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %] </p>
183
    <p> [% L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %] </p>
178 184
  </div>
179 185

  
180 186
  <div class="col list">
181 187
    <h4>[% 'Warehouse' | $T8 %]</h4>
182
    <p> [%- L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %] </p>
183
    <p> [%- L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %] </p>
184
    <p> [%- L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %] </p>
185
    <p> [%- L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %] </p>
188
    <p> [% L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %] </p>
189
    <p> [% L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %] </p>
190
    <p> [% L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %] </p>
191
    <p> [% L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %] </p>
186 192
  </div>
187 193

  
188 194
  <div class="col list">
189 195
    <h4>[% 'Illustrations' | $T8 %]</h4>
190
    <p> [%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %] </p>
191
    <p> [%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %] </p>
192
    <p> [%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %] </p>
196
    <p> [% L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %] </p>
197
    <p> [% L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %] </p>
198
    <p> [% L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %] </p>
193 199
  </div>
194 200
  [% CUSTOM_VARIABLES_INCLUSION_CODE %]
195 201
</div>

Auch abrufbar als: Unified diff