Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b6f1681d

Von Moritz Bunkus vor fast 17 Jahren hinzugefügt

  • ID b6f1681d1c169493e72b7ce9d91e2d8af23ccea5
  • Vorgänger 36a9840b
  • Nachfolger e6f938ab

HTML-Code aufgeräumt, Attribute gequotet, HTML-Sonderzeichen in Werten escapet. Die Texte zu Checkboxen und Radiobuttons sind mit <label> eingeschlossen, damit man sie anklicken kann.

Unterschiede anzeigen:

templates/webpages/ic/search_de.html
2 2
[%- USE LxERP %]
3 3
<body>
4 4

  
5
<form method=post action=[% script %]>
5
 <form method="post" action="ic.pl">
6 6

  
7
<input type=hidden name=searchitems value=[% searchitems %]>
8
<input type=hidden name=title value="[% title %]">
7
  <input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]">
8
  <input type="hidden" name="title" value="[% HTML.escape(title) %]">
9 9

  
10
<input type=hidden name=revers value="[% revers %]">
11
<input type=hidden name=lastsort value="[% lastsort %]">
10
  <input type="hidden" name="revers" value="[% HTML.escape(revers) %]">
11
  <input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]">
12 12

  
13
<table width="100%">
14
  <tr><th class=listtop>[% title %]</th></tr>
15
  <tr height="5"></tr>
16
  <tr valign=top>
13
  <input type="hidden" name="nextsub" value="generate_report">
14
  <input type="hidden" name="sort" value="description">
15

  
16
  <input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]">
17

  
18
  <div class="listtop">[% title %]</div>
19

  
20
  <table width="100%">
21
   <tr height="5"></tr>
22
   <tr valign="top">
17 23
    <td>
18
      <table>
19
        <tr>
20
          <th align=right nowrap>Artikelnummer</th>
21
          <td><input name=partnumber size=20></td>
22
          <th align=right nowrap>EAN</th>
23
          <td><input name=ean size=20></td>
24
        </tr>
25
        <tr>
26
          <th align=right nowrap>Artikelbeschreibung</th>
27
          <td colspan=3><input name=description size=40></td>
28
        </tr>
29
	<tr>
30
          <th align=right nowrap>Warengruppe</th>
31
          <td><input name=partsgroup size=20></td>
32
[%- UNLESS is_service %]
33
          <th align=right nowrap>Seriennummer</th> <td><input name=serialnumber size=20></td> 
34
[%- END %]
35
	</tr>
36
[%- UNLESS is_service %]
37
        <tr>
38
          <th align=right nowrap>Hersteller</th> <td><input name=make size=20></td>
39
          <th align=right nowrap>Modell</th> <td><input name=model size=20></td>
40
        </tr>
41
[%- END %]
42
        <tr>
43
          <th align=right nowrap>Zeichnung</th>
44
          <td><input name=drawing size=20></td>
45
          <th align=right nowrap>Mikrofilm</th>
46
          <td><input name=microfiche size=20></td>
47
        </tr>
48
[%- IF is_assembly %]
49
        <tr>
50
	  <td></td>
51
          <td colspan=3>
52
	  <input name=null class=radio type=radio value=1 checked>&nbsp;Hauptartikelbezeichnung
53
	  <input name=bom class=checkbox type=checkbox value=1>&nbsp;Einzelteile
54
          </td>
55
        </tr>
56
[%- END %]
57
        <tr>
58
          <td></td>
59
          <td colspan=3>
60
            <input name=itemstatus class=radio type=radio value=active checked>&nbsp;Aktiv
61
[%- UNLESS is_service %]
62
	    <input name=itemstatus class=radio type=radio value=onhand>&nbsp;Auf Lager
63
            <input name=itemstatus class=radio type=radio value=short>&nbsp;Knapp 
64
[%- END %]
65
            <input name=itemstatus class=radio type=radio value=obsolete>&nbsp;Ung?ltig
66
            <input name=itemstatus class=radio type=radio value=orphaned>&nbsp;Nie benutzt
67
	  </td>
68
	</tr>
69
        <tr>
70
          <td></td>
71
          <td colspan=3>
24
     <table>
25
      <tr>
26
       <th align="right" nowrap>Artikelnummer</th>
27
       <td><input name="partnumber" size="20"></td>
28
       <th align="right" nowrap>EAN</th>
29
       <td><input name="ean" size="20"></td>
30
      </tr>
31

  
32
      <tr>
33
       <th align="right" nowrap>Artikelbeschreibung</th>
34
       <td colspan="3"><input name="description" size="40"></td>
35
      </tr>
36

  
37
      <tr>
38
       <th align="right" nowrap>Warengruppe</th>
39
       <td><input name="partsgroup" size="20"></td>
40
       [%- UNLESS is_service %]
41
       <th align="right" nowrap>Seriennummer</th> <td><input name="serialnumber" size="20"></td>
42
       [%- END %]
43
      </tr>
44

  
45
      [%- UNLESS is_service %]
46
      <tr>
47
       <th align="right" nowrap>Hersteller</th> <td><input name="make" size="20"></td>
48
       <th align="right" nowrap>Modell</th> <td><input name="model" size="20"></td>
49
      </tr>
50
      [%- END %]
51

  
52
      <tr>
53
       <th align="right" nowrap>Zeichnung</th>
54
       <td><input name="drawing" size="20"></td>
55
       <th align="right" nowrap>Mikrofilm</th>
56
       <td><input name="microfiche" size="20"></td>
57
      </tr>
58

  
59
      [%- IF is_assembly %]
60
      <tr>
61
       <td></td>
62
       <td colspan="3">
63
        <input name="null" id="null_1" class="radio" type="radio" value="1" checked>&nbsp;<label for="null_1">Hauptartikelbezeichnung</label>
64
        <input name="bom" id="bom" class="checkbox" type="checkbox" value="1">&nbsp;<label for="bom">Einzelteile</label>
65
       </td>
66
      </tr>
67
      [%- END %]
68

  
69
      <tr>
70
       <td></td>
71
       <td colspan="3">
72
        <input name="itemstatus" id="itemstatus_active" class="radio" type="radio" value="active" checked>
73
        <label for="itemstatus_active">Aktiv</label>
74
        [%- UNLESS is_service %]
75
        <input name="itemstatus" id="itemstatus_onhand" class="radio" type="radio" value="onhand">
76
        <label for="itemstatus_onhand">Auf Lager</label>
77
        <input name="itemstatus" id="itemstatus_short" class="radio" type="radio" value="short">
78
        <label for="itemstatus_short">Knapp</label>
79
        [%- END %]
80
        <input name="itemstatus" id="itemstatus_obsolete" class="radio" type="radio" value="obsolete">
81
        <label for="itemstatus_obsolete">Ung?ltig</label>
82
        <input name="itemstatus" id="itemstatus_orphaned" class="radio" type="radio" value="orphaned">
83
        <label for="itemstatus_orphaned">Nie benutzt</label>
84
       </td>
85
      </tr>
86

  
87
      <tr>
88
       <td></td>
89
       <td colspan="3">
72 90
        <table>
73
          <tr>
74
            <td>
75
          <table>
91
         <tr>
92
          <td>
93
           <table>
76 94
            <tr>
77
[%- UNLESS is_assembly %]
78
              <td><input name=bought class=checkbox type=checkbox value=1></td> <td nowrap>Gekauft</td>
79
[%- END %]
80
              <td><input name=sold class=checkbox type=checkbox value=1></td> <td nowrap>Verkauft</td>
95
             [%- UNLESS is_assembly %]
96
             <td><input name="bought" id="bought" class="checkbox" type="checkbox" value="1"></td>
97
             <td nowrap><label for="bought">Gekauft</label></td>
98
             [%- END %]
99
             <td><input name="sold" id="sold" class="checkbox" type="checkbox" value="1"></td>
100
             <td nowrap><label for="sold">Verkauft</label></td>
81 101
            </tr>
102

  
82 103
            <tr>
83
              <td colspan=4><hr size=1 noshade></td>
104
             <td colspan="4"><hr size="1" noshade></td>
84 105
            </tr>
106

  
85 107
            <tr>
86
[%- UNLESS is_assembly %]
87
              <td><input name=onorder class=checkbox type=checkbox value=1></td> <td nowrap>Ist bestellt</td>
88
[%- END %]
89
              <td><input name=ordered class=checkbox type=checkbox value=1></td> <td nowrap>Vom Kunde bestellt</td>
108
             [%- UNLESS is_assembly %]
109
             <td><input name="onorder" id="onorder" class="checkbox" type="checkbox" value="1"></td>
110
             <td nowrap><label for="onorder">Ist bestellt</label></td>
111
             [%- END %]
112
             <td><input name="ordered" id="ordered" class="checkbox" type="checkbox" value="1"></td>
113
             <td nowrap><label for="ordered">Vom Kunde bestellt</label></td>
90 114
            </tr>
115

  
91 116
            <tr>
92
              <td colspan=4><hr size=1 noshade></td>
117
             <td colspan="4"><hr size="1" noshade></td>
93 118
            </tr>
119

  
94 120
            <tr>
95
[%- UNLESS is_assembly %]
96
              <td><input name=rfq class=checkbox type=checkbox value=1></td> <td nowrap>Anfrage</td>
97
[%- END %]
98
              <td><input name=quoted class=checkbox type=checkbox value=1></td> <td nowrap>Angeboten</td>
121
             [%- UNLESS is_assembly %]
122
             <td><input name="rfq" id="rfq" class="checkbox" type="checkbox" value="1"></td>
123
             <td nowrap><label for="rfq">Anfrage</label></td>
124
             [%- END %]
125
             <td><input name="quoted" id="quoted" class="checkbox" type="checkbox" value="1"></td>
126
             <td nowrap><label for="quoted">Angeboten</label></td>
99 127
            </tr>
100
          </table>
101
        </td>
102
        <td width=5%>&nbsp;</td>
103
        <td>
104
          <table>
128
           </table>
129
          </td>
130

  
131
          <td width="5%">&nbsp;</td>
132

  
133
          <td>
134
           <table>
105 135
            <tr>
106
              <th>Von</th>
107
                      <td><input name=transdatefrom id=transdatefrom size=11 title="[% dateformat %]"></td>
108
                      <td><input type=button name=transdatefrom id="trigger1" value="?"></td>
109
              <th>Bis</th>
110
                      <td><input name=transdateto id=transdateto size=11 title="[% dateformat %]"></td>
111
                      <td><input type=button name=transdateto name=transdateto id="trigger2" value="?"></td>
136
             <th>Von</th>
137
             <td><input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]"></td>
138
             <td><input type="button" name="transdatefrom" id="trigger1" value="?"></td>
139
             <th>Bis</th>
140
             <td><input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]"></td>
141
             <td><input type="button" name="transdateto" name="transdateto" id="trigger2" value="?"></td>
112 142
            </tr>
113
          </table>
114
        </td>
115
          </tr>
143
           </table>
144
          </td>
145
         </tr>
116 146
        </table>
117
      </td>
118
    </tr>
119
        <tr>
120
	  <td></td>
121
          <td colspan=3>
122
	    <hr size=1 noshade>
123
	  </td>
124
	</tr>
125
	<tr>
126
          <th align=right nowrap>In Bericht aufnehmen</th> <td colspan=3>
127
            <table>
128
              <tr>
129
                <td><input name=l_partnumber class=checkbox type=checkbox value=Y checked>&nbsp;Artikelnummer</td>
130
		<td><input name=l_description class=checkbox type=checkbox value=Y checked>&nbsp;Artikelbeschreibung</td>
131
[%- UNLESS is_service %]
132
                <td><input name=l_serialnumber class=checkbox type=checkbox value=Y>&nbsp;Seriennummer</td> 
133
[%- END %]
134
		<td><input name=l_unit class=checkbox type=checkbox value=Y checked>&nbsp;Ma?einheit</td>
135
	      </tr>
136
	      <tr>
137
                <td><input name=l_listprice class=checkbox type=checkbox value=Y>&nbsp;Listenpreis</td>
138
		<td><input name=l_sellprice class=checkbox type=checkbox value=Y checked>&nbsp;Verkaufspreis</td>
139
		<td><input name=l_lastcost class=checkbox type=checkbox value=Y checked>&nbsp;Einkaufspreis</td>
140
		<td><input name=l_linetotal class=checkbox type=checkbox value=Y checked>&nbsp;Zeilensumme</td>
141
	      </tr>
142
	      <tr>
143
                <td><input name=l_priceupdate class=checkbox type=checkbox value=Y>&nbsp;Erneuert am</td>
144
		<td><input name=l_bin class=checkbox type=checkbox value=Y>&nbsp;Lagerplatz</td>
145
		<td><input name=l_rop class=checkbox type=checkbox value=Y>&nbsp;Mindestlagerbestand</td>
146
		<td><input name=l_weight class=checkbox type=checkbox value=Y>&nbsp;Gewicht</td>
147
              </tr>
148
	      <tr>
149
                <td><input name=l_image class=checkbox type=checkbox value=Y>&nbsp;Grafik</td>
150
		<td><input name=l_drawing class=checkbox type=checkbox value=Y>&nbsp;Zeichnung</td>
151
		<td><input name=l_microfiche class=checkbox type=checkbox value=Y>&nbsp;Mikrofilm</td>
152
		<td><input name=l_partsgroup class=checkbox type=checkbox value=Y>&nbsp;Warengruppe</td>
153
              </tr>
154
	      <tr>
155
                <td><input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;Zwischensumme</td>
156
		<td><input name=l_soldtotal class=checkbox type=checkbox value=Y>&nbsp;Verkaufte Anzahl</td>
157
		<td><input name=l_deliverydate class=checkbox type=checkbox value=Y>&nbsp;Lieferdatum</td>    
158
	      </tr>
159
            </table>
160
          </td>
161
        </tr>
162
      </table>
163
    </td>
164
  </tr>
165
  <tr><td colspan=4><hr size=3 noshade></td></tr>
166
</table>
147
       </td>
148
      </tr>
167 149

  
168
<script type="text/javascript">
169
<!-- 
170
 Calendar.setup({ inputField : "transdatefrom",  ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
171
 Calendar.setup({ inputField : "transdateto",    ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
172
 //-->
173
</script>
150
      <tr>
151
       <td></td>
152
       <td colspan="3">
153
        <hr size="1" noshade>
154
       </td>
155
      </tr>
156

  
157
      <tr>
158
       <th align="right" nowrap>In Bericht aufnehmen</th> <td colspan="3">
159
        <table>
160
         <tr>
161
          <td>
162
           <input name="l_partnumber" id="l_partnumber" class="checkbox" type="checkbox" value="Y" checked>
163
           <label for="l_partnumber">Artikelnummer</label>
164
          </td>
165
          <td>
166
           <input name="l_description" id="l_description" class="checkbox" type="checkbox" value="Y" checked>
167
           <label for="l_description">Artikelbeschreibung</label>
168
          </td>
169
          [%- UNLESS is_service %]
170
          <td>
171
           <input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
172
           <label for="l_serialnumber">Seriennummer</label>
173
          </td>
174
          [%- END %]
175
          <td>
176
           <input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
177
           <label for="l_unit">Ma?einheit</label>
178
          </td>
179
         </tr>
174 180

  
181
         <tr>
182
          <td>
183
           <input name="l_listprice" id="l_listprice" class="checkbox" type="checkbox" value="Y">
184
           <label for="l_listprice">Listenpreis</label>
185
          </td>
186
          <td>
187
           <input name="l_sellprice" id="l_sellprice" class="checkbox" type="checkbox" value="Y" checked>
188
           <label for="l_sellprice">Verkaufspreis</label>
189
          </td>
190
          <td>
191
           <input name="l_lastcost" id="l_lastcost" class="checkbox" type="checkbox" value="Y" checked>
192
           <label for="l_lastcost">Einkaufspreis</label>
193
          </td>
194
          <td>
195
           <input name="l_linetotal" id="l_linetotal" class="checkbox" type="checkbox" value="Y" checked>
196
           <label for="l_linetotal">Zeilensumme</label>
197
          </td>
198
         </tr>
175 199

  
200
         <tr>
201
          <td>
202
           <input name="l_priceupdate" id="l_priceupdate" class="checkbox" type="checkbox" value="Y">
203
           <label for="l_priceupdate">Erneuert am</label>
204
          </td>
205
          <td>
206
           <input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
207
           <label for="l_bin">Lagerplatz</label>
208
          </td>
209
          <td>
210
           <input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
211
           <label for="l_rop">Mindestlagerbestand</label>
212
          </td>
213
          <td>
214
           <input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
215
           <label for="l_weight">Gewicht</label>
216
          </td>
217
         </tr>
176 218

  
177
<input type=hidden name=nextsub value=generate_report>
219
         <tr>
220
          <td>
221
           <input name="l_image" id="l_image" class="checkbox" type="checkbox" value="Y">
222
           <label for="l_image">Grafik</label>
223
          </td>
224
          <td>
225
           <input name="l_drawing" id="l_drawing" class="checkbox" type="checkbox" value="Y">
226
           <label for="l_drawing">Zeichnung</label>
227
          </td>
228
          <td>
229
           <input name="l_microfiche" id="l_microfiche" class="checkbox" type="checkbox" value="Y">
230
           <label for="l_microfiche">Mikrofilm</label>
231
          </td>
232
          <td>
233
           <input name="l_partsgroup" id="l_partsgroup" class="checkbox" type="checkbox" value="Y">
234
           <label for="l_partsgroup">Warengruppe</label>
235
          </td>
236
         </tr>
178 237

  
179
<input type=hidden name=revers value="[% revers %]">
180
<input type=hidden name=lastsort value="[% lastsort %]">
181
<input type=hidden name=sort value="description">
238
         <tr>
239
          <td>
240
           <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
241
           <label for="l_subtotal">Zwischensumme</label>
242
          </td>
243
          <td>
244
           <input name="l_soldtotal" id="l_soldtotal" class="checkbox" type="checkbox" value="Y">
245
           <label for="l_soldtotal">Verkaufte Anzahl</label>
246
          </td>
247
          <td>
248
           <input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
249
           <label for="l_deliverydate">Lieferdatum</label>
250
          </td>
251
         </tr>
252
        </table>
253
       </td>
254
      </tr>
255
     </table>
256
    </td>
257
   </tr>
258
   <tr><td colspan="4"><hr size="3" noshade></td></tr>
259
  </table>
182 260

  
183
<input type=hidden name=ndxs_counter value="[% ndxs_counter %]">
261
  <script type="text/javascript">
262
   <!--
263
       Calendar.setup({ inputField : "transdatefrom",  ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
264
       Calendar.setup({ inputField : "transdateto",    ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
265
       //-->
266
  </script>
184 267

  
185
<br>
186
<input class=submit type=submit name=action value="Weiter">
187
<input class=submit type=submit name=action value="Top 100">
188
</form>
268
  <p>
269
   <input class="submit" type="submit" name="action" value="Weiter">
270
   <input class="submit" type="submit" name="action" value="Top 100">
271
  </p>
272
 </form>
189 273

  
190 274
</body>
191 275
</html>
templates/webpages/ic/search_master.html
2 2
[%- USE LxERP %]
3 3
<body>
4 4

  
5
<form method=post action=[% script %]>
5
 <form method="post" action="ic.pl">
6 6

  
7
<input type=hidden name=searchitems value=[% searchitems %]>
8
<input type=hidden name=title value="[% title %]">
7
  <input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]">
8
  <input type="hidden" name="title" value="[% HTML.escape(title) %]">
9 9

  
10
<input type=hidden name=revers value="[% revers %]">
11
<input type=hidden name=lastsort value="[% lastsort %]">
10
  <input type="hidden" name="revers" value="[% HTML.escape(revers) %]">
11
  <input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]">
12 12

  
13
<table width="100%">
14
  <tr><th class=listtop>[% title %]</th></tr>
15
  <tr height="5"></tr>
16
  <tr valign=top>
13
  <input type="hidden" name="nextsub" value="generate_report">
14
  <input type="hidden" name="sort" value="description">
15

  
16
  <input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]">
17

  
18
  <div class="listtop">[% title %]</div>
19

  
20
  <table width="100%">
21
   <tr height="5"></tr>
22
   <tr valign="top">
17 23
    <td>
18
      <table>
19
        <tr>
20
          <th align=right nowrap><translate>Part Number</translate></th>
21
          <td><input name=partnumber size=20></td>
22
          <th align=right nowrap><translate>EAN</translate></th>
23
          <td><input name=ean size=20></td>
24
        </tr>
25
        <tr>
26
          <th align=right nowrap><translate>Part Description</translate></th>
27
          <td colspan=3><input name=description size=40></td>
28
        </tr>
29
	<tr>
30
          <th align=right nowrap><translate>Group</translate></th>
31
          <td><input name=partsgroup size=20></td>
32
[%- UNLESS is_service %]
33
          <th align=right nowrap><translate>Serial Number</translate></th> <td><input name=serialnumber size=20></td> 
34
[%- END %]
35
	</tr>
36
[%- UNLESS is_service %]
37
        <tr>
38
          <th align=right nowrap><translate>Make</translate></th> <td><input name=make size=20></td>
39
          <th align=right nowrap><translate>Model</translate></th> <td><input name=model size=20></td>
40
        </tr>
41
[%- END %]
42
        <tr>
43
          <th align=right nowrap><translate>Drawing</translate></th>
44
          <td><input name=drawing size=20></td>
45
          <th align=right nowrap><translate>Microfiche</translate></th>
46
          <td><input name=microfiche size=20></td>
47
        </tr>
48
[%- IF is_assembly %]
49
        <tr>
50
	  <td></td>
51
          <td colspan=3>
52
	  <input name=null class=radio type=radio value=1 checked>&nbsp;<translate>Top Level</translate>
53
	  <input name=bom class=checkbox type=checkbox value=1>&nbsp;<translate>Individual Items</translate>
54
          </td>
55
        </tr>
56
[%- END %]
57
        <tr>
58
          <td></td>
59
          <td colspan=3>
60
            <input name=itemstatus class=radio type=radio value=active checked>&nbsp;<translate>Active</translate>
61
[%- UNLESS is_service %]
62
	    <input name=itemstatus class=radio type=radio value=onhand>&nbsp;<translate>On Hand</translate>
63
            <input name=itemstatus class=radio type=radio value=short>&nbsp;<translate>Short</translate> 
64
[%- END %]
65
            <input name=itemstatus class=radio type=radio value=obsolete>&nbsp;<translate>Obsolete</translate>
66
            <input name=itemstatus class=radio type=radio value=orphaned>&nbsp;<translate>Orphaned</translate>
67
	  </td>
68
	</tr>
69
        <tr>
70
          <td></td>
71
          <td colspan=3>
24
     <table>
25
      <tr>
26
       <th align="right" nowrap><translate>Part Number</translate></th>
27
       <td><input name="partnumber" size="20"></td>
28
       <th align="right" nowrap><translate>EAN</translate></th>
29
       <td><input name="ean" size="20"></td>
30
      </tr>
31

  
32
      <tr>
33
       <th align="right" nowrap><translate>Part Description</translate></th>
34
       <td colspan="3"><input name="description" size="40"></td>
35
      </tr>
36

  
37
      <tr>
38
       <th align="right" nowrap><translate>Group</translate></th>
39
       <td><input name="partsgroup" size="20"></td>
40
       [%- UNLESS is_service %]
41
       <th align="right" nowrap><translate>Serial Number</translate></th> <td><input name="serialnumber" size="20"></td>
42
       [%- END %]
43
      </tr>
44

  
45
      [%- UNLESS is_service %]
46
      <tr>
47
       <th align="right" nowrap><translate>Make</translate></th> <td><input name="make" size="20"></td>
48
       <th align="right" nowrap><translate>Model</translate></th> <td><input name="model" size="20"></td>
49
      </tr>
50
      [%- END %]
51

  
52
      <tr>
53
       <th align="right" nowrap><translate>Drawing</translate></th>
54
       <td><input name="drawing" size="20"></td>
55
       <th align="right" nowrap><translate>Microfiche</translate></th>
56
       <td><input name="microfiche" size="20"></td>
57
      </tr>
58

  
59
      [%- IF is_assembly %]
60
      <tr>
61
       <td></td>
62
       <td colspan="3">
63
        <input name="null" id="null_1" class="radio" type="radio" value="1" checked>&nbsp;<label for="null_1"><translate>Top Level</translate></label>
64
        <input name="bom" id="bom" class="checkbox" type="checkbox" value="1">&nbsp;<label for="bom"><translate>Individual Items</translate></label>
65
       </td>
66
      </tr>
67
      [%- END %]
68

  
69
      <tr>
70
       <td></td>
71
       <td colspan="3">
72
        <input name="itemstatus" id="itemstatus_active" class="radio" type="radio" value="active" checked>
73
        <label for="itemstatus_active"><translate>Active</translate></label>
74
        [%- UNLESS is_service %]
75
        <input name="itemstatus" id="itemstatus_onhand" class="radio" type="radio" value="onhand">
76
        <label for="itemstatus_onhand"><translate>On Hand</translate></label>
77
        <input name="itemstatus" id="itemstatus_short" class="radio" type="radio" value="short">
78
        <label for="itemstatus_short"><translate>Short</translate></label>
79
        [%- END %]
80
        <input name="itemstatus" id="itemstatus_obsolete" class="radio" type="radio" value="obsolete">
81
        <label for="itemstatus_obsolete"><translate>Obsolete</translate></label>
82
        <input name="itemstatus" id="itemstatus_orphaned" class="radio" type="radio" value="orphaned">
83
        <label for="itemstatus_orphaned"><translate>Orphaned</translate></label>
84
       </td>
85
      </tr>
86

  
87
      <tr>
88
       <td></td>
89
       <td colspan="3">
72 90
        <table>
73
          <tr>
74
            <td>
75
          <table>
91
         <tr>
92
          <td>
93
           <table>
76 94
            <tr>
77
[%- UNLESS is_assembly %]
78
              <td><input name=bought class=checkbox type=checkbox value=1></td> <td nowrap><translate>Bought</translate></td>
79
[%- END %]
80
              <td><input name=sold class=checkbox type=checkbox value=1></td> <td nowrap><translate>Sold</translate></td>
95
             [%- UNLESS is_assembly %]
96
             <td><input name="bought" id="bought" class="checkbox" type="checkbox" value="1"></td>
97
             <td nowrap><label for="bought"><translate>Bought</translate></label></td>
98
             [%- END %]
99
             <td><input name="sold" id="sold" class="checkbox" type="checkbox" value="1"></td>
100
             <td nowrap><label for="sold"><translate>Sold</translate></label></td>
81 101
            </tr>
102

  
82 103
            <tr>
83
              <td colspan=4><hr size=1 noshade></td>
104
             <td colspan="4"><hr size="1" noshade></td>
84 105
            </tr>
106

  
85 107
            <tr>
86
[%- UNLESS is_assembly %]
87
              <td><input name=onorder class=checkbox type=checkbox value=1></td> <td nowrap><translate>On Order</translate></td>
88
[%- END %]
89
              <td><input name=ordered class=checkbox type=checkbox value=1></td> <td nowrap><translate>Ordered</translate></td>
108
             [%- UNLESS is_assembly %]
109
             <td><input name="onorder" id="onorder" class="checkbox" type="checkbox" value="1"></td>
110
             <td nowrap><label for="onorder"><translate>On Order</translate></label></td>
111
             [%- END %]
112
             <td><input name="ordered" id="ordered" class="checkbox" type="checkbox" value="1"></td>
113
             <td nowrap><label for="ordered"><translate>Ordered</translate></label></td>
90 114
            </tr>
115

  
91 116
            <tr>
92
              <td colspan=4><hr size=1 noshade></td>
117
             <td colspan="4"><hr size="1" noshade></td>
93 118
            </tr>
119

  
94 120
            <tr>
95
[%- UNLESS is_assembly %]
96
              <td><input name=rfq class=checkbox type=checkbox value=1></td> <td nowrap><translate>RFQ</translate></td>
97
[%- END %]
98
              <td><input name=quoted class=checkbox type=checkbox value=1></td> <td nowrap><translate>Quoted</translate></td>
121
             [%- UNLESS is_assembly %]
122
             <td><input name="rfq" id="rfq" class="checkbox" type="checkbox" value="1"></td>
123
             <td nowrap><label for="rfq"><translate>RFQ</translate></label></td>
124
             [%- END %]
125
             <td><input name="quoted" id="quoted" class="checkbox" type="checkbox" value="1"></td>
126
             <td nowrap><label for="quoted"><translate>Quoted</translate></label></td>
99 127
            </tr>
100
          </table>
101
        </td>
102
        <td width=5%>&nbsp;</td>
103
        <td>
104
          <table>
128
           </table>
129
          </td>
130

  
131
          <td width="5%">&nbsp;</td>
132

  
133
          <td>
134
           <table>
105 135
            <tr>
106
              <th><translate>From</translate></th>
107
                      <td><input name=transdatefrom id=transdatefrom size=11 title="[% dateformat %]"></td>
108
                      <td><input type=button name=transdatefrom id="trigger1" value="<translate>button</translate>"></td>
109
              <th><translate>To (time)</translate></th>
110
                      <td><input name=transdateto id=transdateto size=11 title="[% dateformat %]"></td>
111
                      <td><input type=button name=transdateto name=transdateto id="trigger2" value="<translate>button</translate>"></td>
136
             <th><translate>From</translate></th>
137
             <td><input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]"></td>
138
             <td><input type="button" name="transdatefrom" id="trigger1" value="<translate>button</translate>"></td>
139
             <th><translate>To (time)</translate></th>
140
             <td><input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]"></td>
141
             <td><input type="button" name="transdateto" name="transdateto" id="trigger2" value="<translate>button</translate>"></td>
112 142
            </tr>
113
          </table>
114
        </td>
115
          </tr>
143
           </table>
144
          </td>
145
         </tr>
116 146
        </table>
117
      </td>
118
    </tr>
119
        <tr>
120
	  <td></td>
121
          <td colspan=3>
122
	    <hr size=1 noshade>
123
	  </td>
124
	</tr>
125
	<tr>
126
          <th align=right nowrap><translate>Include in Report</translate></th> <td colspan=3>
127
            <table>
128
              <tr>
129
                <td><input name=l_partnumber class=checkbox type=checkbox value=Y checked>&nbsp;<translate>Part Number</translate></td>
130
		<td><input name=l_description class=checkbox type=checkbox value=Y checked>&nbsp;<translate>Part Description</translate></td>
131
[%- UNLESS is_service %]
132
                <td><input name=l_serialnumber class=checkbox type=checkbox value=Y>&nbsp;<translate>Serial Number</translate></td> 
133
[%- END %]
134
		<td><input name=l_unit class=checkbox type=checkbox value=Y checked>&nbsp;<translate>Unit of measure</translate></td>
135
	      </tr>
136
	      <tr>
137
                <td><input name=l_listprice class=checkbox type=checkbox value=Y>&nbsp;<translate>List Price</translate></td>
138
		<td><input name=l_sellprice class=checkbox type=checkbox value=Y checked>&nbsp;<translate>Sell Price</translate></td>
139
		<td><input name=l_lastcost class=checkbox type=checkbox value=Y checked>&nbsp;<translate>Last Cost</translate></td>
140
		<td><input name=l_linetotal class=checkbox type=checkbox value=Y checked>&nbsp;<translate>Line Total</translate></td>
141
	      </tr>
142
	      <tr>
143
                <td><input name=l_priceupdate class=checkbox type=checkbox value=Y>&nbsp;<translate>Updated</translate></td>
144
		<td><input name=l_bin class=checkbox type=checkbox value=Y>&nbsp;<translate>Bin</translate></td>
145
		<td><input name=l_rop class=checkbox type=checkbox value=Y>&nbsp;<translate>ROP</translate></td>
146
		<td><input name=l_weight class=checkbox type=checkbox value=Y>&nbsp;<translate>Weight</translate></td>
147
              </tr>
148
	      <tr>
149
                <td><input name=l_image class=checkbox type=checkbox value=Y>&nbsp;<translate>Image</translate></td>
150
		<td><input name=l_drawing class=checkbox type=checkbox value=Y>&nbsp;<translate>Drawing</translate></td>
151
		<td><input name=l_microfiche class=checkbox type=checkbox value=Y>&nbsp;<translate>Microfiche</translate></td>
152
		<td><input name=l_partsgroup class=checkbox type=checkbox value=Y>&nbsp;<translate>Group</translate></td>
153
              </tr>
154
	      <tr>
155
                <td><input name=l_subtotal class=checkbox type=checkbox value=Y>&nbsp;<translate>Subtotal</translate></td>
156
		<td><input name=l_soldtotal class=checkbox type=checkbox value=Y>&nbsp;<translate>soldtotal</translate></td>
157
		<td><input name=l_deliverydate class=checkbox type=checkbox value=Y>&nbsp;<translate>deliverydate</translate></td>    
158
	      </tr>
159
            </table>
160
          </td>
161
        </tr>
162
      </table>
163
    </td>
164
  </tr>
165
  <tr><td colspan=4><hr size=3 noshade></td></tr>
166
</table>
147
       </td>
148
      </tr>
167 149

  
168
<script type="text/javascript">
169
<!-- 
170
 Calendar.setup({ inputField : "transdatefrom",  ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
171
 Calendar.setup({ inputField : "transdateto",    ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
172
 //-->
173
</script>
150
      <tr>
151
       <td></td>
152
       <td colspan="3">
153
        <hr size="1" noshade>
154
       </td>
155
      </tr>
156

  
157
      <tr>
158
       <th align="right" nowrap><translate>Include in Report</translate></th> <td colspan="3">
159
        <table>
160
         <tr>
161
          <td>
162
           <input name="l_partnumber" id="l_partnumber" class="checkbox" type="checkbox" value="Y" checked>
163
           <label for="l_partnumber"><translate>Part Number</translate></label>
164
          </td>
165
          <td>
166
           <input name="l_description" id="l_description" class="checkbox" type="checkbox" value="Y" checked>
167
           <label for="l_description"><translate>Part Description</translate></label>
168
          </td>
169
          [%- UNLESS is_service %]
170
          <td>
171
           <input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
172
           <label for="l_serialnumber"><translate>Serial Number</translate></label>
173
          </td>
174
          [%- END %]
175
          <td>
176
           <input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
177
           <label for="l_unit"><translate>Unit of measure</translate></label>
178
          </td>
179
         </tr>
174 180

  
181
         <tr>
182
          <td>
183
           <input name="l_listprice" id="l_listprice" class="checkbox" type="checkbox" value="Y">
184
           <label for="l_listprice"><translate>List Price</translate></label>
185
          </td>
186
          <td>
187
           <input name="l_sellprice" id="l_sellprice" class="checkbox" type="checkbox" value="Y" checked>
188
           <label for="l_sellprice"><translate>Sell Price</translate></label>
189
          </td>
190
          <td>
191
           <input name="l_lastcost" id="l_lastcost" class="checkbox" type="checkbox" value="Y" checked>
192
           <label for="l_lastcost"><translate>Last Cost</translate></label>
193
          </td>
194
          <td>
195
           <input name="l_linetotal" id="l_linetotal" class="checkbox" type="checkbox" value="Y" checked>
196
           <label for="l_linetotal"><translate>Line Total</translate></label>
197
          </td>
198
         </tr>
175 199

  
200
         <tr>
201
          <td>
202
           <input name="l_priceupdate" id="l_priceupdate" class="checkbox" type="checkbox" value="Y">
203
           <label for="l_priceupdate"><translate>Updated</translate></label>
204
          </td>
205
          <td>
206
           <input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
207
           <label for="l_bin"><translate>Bin</translate></label>
208
          </td>
209
          <td>
210
           <input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
211
           <label for="l_rop"><translate>ROP</translate></label>
212
          </td>
213
          <td>
214
           <input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
215
           <label for="l_weight"><translate>Weight</translate></label>
216
          </td>
217
         </tr>
176 218

  
177
<input type=hidden name=nextsub value=generate_report>
219
         <tr>
220
          <td>
221
           <input name="l_image" id="l_image" class="checkbox" type="checkbox" value="Y">
222
           <label for="l_image"><translate>Image</translate></label>
223
          </td>
224
          <td>
225
           <input name="l_drawing" id="l_drawing" class="checkbox" type="checkbox" value="Y">
226
           <label for="l_drawing"><translate>Drawing</translate></label>
227
          </td>
228
          <td>
229
           <input name="l_microfiche" id="l_microfiche" class="checkbox" type="checkbox" value="Y">
230
           <label for="l_microfiche"><translate>Microfiche</translate></label>
231
          </td>
232
          <td>
233
           <input name="l_partsgroup" id="l_partsgroup" class="checkbox" type="checkbox" value="Y">
234
           <label for="l_partsgroup"><translate>Group</translate></label>
235
          </td>
236
         </tr>
178 237

  
179
<input type=hidden name=revers value="[% revers %]">
180
<input type=hidden name=lastsort value="[% lastsort %]">
181
<input type=hidden name=sort value="description">
238
         <tr>
239
          <td>
240
           <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
241
           <label for="l_subtotal"><translate>Subtotal</translate></label>
242
          </td>
243
          <td>
244
           <input name="l_soldtotal" id="l_soldtotal" class="checkbox" type="checkbox" value="Y">
245
           <label for="l_soldtotal"><translate>soldtotal</translate></label>
246
          </td>
247
          <td>
248
           <input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
249
           <label for="l_deliverydate"><translate>deliverydate</translate></label>
250
          </td>
251
         </tr>
252
        </table>
253
       </td>
254
      </tr>
255
     </table>
256
    </td>
257
   </tr>
258
   <tr><td colspan="4"><hr size="3" noshade></td></tr>
259
  </table>
182 260

  
183
<input type=hidden name=ndxs_counter value="[% ndxs_counter %]">
261
  <script type="text/javascript">
262
   <!--
263
       Calendar.setup({ inputField : "transdatefrom",  ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });
264
       Calendar.setup({ inputField : "transdateto",    ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
265
       //-->
266
  </script>
184 267

  
185
<br>
186
<input class=submit type=submit name=action value="<translate>Continue</translate>">
187
<input class=submit type=submit name=action value="<translate>TOP100</translate>">
188
</form>
268
  <p>
269
   <input class="submit" type="submit" name="action" value="<translate>Continue</translate>">
270
   <input class="submit" type="submit" name="action" value="<translate>TOP100</translate>">
271
  </p>
272
 </form>
189 273

  
190 274
</body>
191 275
</html>

Auch abrufbar als: Unified diff