Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 04e9a474

Von Sven Schöling vor mehr als 16 Jahren hinzugefügt

  • ID 04e9a4746bd5f1de726ee00593286cbe48684417
  • Vorgänger a53233e5
  • Nachfolger 41baeaa3

Warendialog umgestellt. Sollte jetzt ohne scrollen auf 1024x768 passen.

Unterschiede anzeigen:

templates/webpages/ic/form_header_de.html
28 28
     <td>
29 29
      <table width="100%">
30 30
       <tr valign="top">
31
        <th align="left">Artikelnummer</th>
32
        <th align="left">Artikelbeschreibung</th>
33
        [%- IF all_partsgroup.size %]
34
        <th align="left">Warengruppe</th>
35
        [% END %]
36
       </tr>
37

  
38
       <tr valign="top">
39
        <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="20"></td>
40 31
        <td>
41
         [%- IF description_area %]
42
         <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
43
         [%- ELSE %]
44
         <input name="description" size="40" value="[% HTML.escape(description) %]">
45
         [%- END %]
46
        </td>
47

  
48
        [%- IF all_partsgroup.size %]
49
        <td>
50
         [%- INCLUDE generic/multibox.html
51
         name       = 'selectpartsgroup',
52
         DATA       = all_partsgroup,
53
         show_empty = 1,
54
         id_sub     = 'pg_keys',
55
         label_key  = 'partsgroup',
56
         -%]
57
        </td>
58
        [%- END %]
59
        <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
60
       </tr>
61
      </table>
62
     </td>
63
    </tr>
64

  
65
    <tr>
66
     <td>
67
      <table width="100%" height="100%">
68
       <tr valign="top">
69
        <td width="70%">
70
         <table width="100%" height="100%">
32
         <table>
71 33
          <tr>
72 34
           <td colspan="2">
73 35
            <table>
36
             <tr>
37
              <th align="right">Artikelnummer</th>
38
              <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
39
             </tr>
40
             <tr>
41
              <th align="right">Artikelbeschreibung</th>
42
              <td>
43
               [%- IF description_area %]
44
               <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
45
               [%- ELSE %]
46
               <input name="description" size="40" value="[% HTML.escape(description) %]">
47
               [%- END %]
48
              </td>
49
             </tr>
50
             <tr>
51
               <th align="right">EAN-Code</th>
52
               <td><input name="ean" size="40" value="[% HTML.escape(ean) %]"></td>
53
             </tr>
54
             <tr>
55
              [%- IF all_partsgroup.size %]
56
              <th align="right">Warengruppe</th>
57
              <td>
58
               [%- INCLUDE generic/multibox.html
59
                     name       = 'selectpartsgroup',
60
                     DATA       = all_partsgroup,
61
                     show_empty = 1,
62
                     id_sub     = 'pg_keys',
63
                     label_key  = 'partsgroup',
64
                     style      = 'width:250px'
65
               -%]
66
              </td>
67
              <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
68
              [% END %]
69
             </tr>
70

  
71

  
74 72
             [%- IF BUCHUNGSGRUPPEN.size %]
75 73
             <tr>
76 74
              <th align="right">Buchungsgruppe</th>
......
80 78
                     DATA       = BUCHUNGSGRUPPEN,
81 79
                     id_key     = 'id',
82 80
                     label_key  = 'description',
81
                     style      = 'width:250px'
83 82
               -%]
84 83
             </tr>
85 84
             [%- END %]
......
90 89
             [%- IF is_part %]
91 90
             <input type="hidden" name="IC" value="[% HTML.escape(IC_default) %]">
92 91
             [%- END %]
92
             <tr>
93
              <th align="right">Zahlungskonditionen</th>
94
              <td>
95
               [%- INCLUDE generic/multibox.html
96
                     name       = 'payment_id',
97
                     DATA       = payment_terms,
98
                     show_empty = 1,
99
                     id_key     = 'id',
100
                     label_key  = 'description',
101
                     style      = 'width:250px'
102
               -%]
103
              </td>
104
             </tr>
93 105
            </table>
94 106
           </td>
95 107
          </tr>
96 108

  
97 109
          <tr>
98
           <th align="left">Bemerkungen</th>
99
           [%- UNLESS is_service %]
100
           <th align="left">Formel</th>
101
           [%- END %]
102
          </tr>
103

  
104
          <tr>
105
           <td>
106
            <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
107
           </td>
108

  
109
           [%- UNLESS is_service %]
110 110
           <td>
111
            <ilayer>
112
             <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('Die Formeln m&uuml;ssen in der folgenden Syntax eingegeben werden:<br>Bei normalen Artikeln:<br>Variablenname= Variable Einheit;<br>Variablenname2= Variable2 Einheit2;<br>...<br>###<br>Variable + Variable2 * ( Variable - Variable2 )<br>Bitte achten Sie auf die Leerzeichen in der Formel<br>Es muss jeweils die Gesamte Zeile eingegeben werden')">
113
              <textarea name="formel" rows="4" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
111
            <button type="button" onclick="parts_language_selection_window('language_values')">Spracheinstellungen</button>
114 112
           </td>
115
           [%- END %]
116 113
          </tr>
117 114

  
118
          <tr>
119
           <th align="left"></th>
120
           <th align="left">EAN-Code</th>
121
          </tr>
115
          <tr height="5"></tr>
122 116

  
123 117
          <tr>
124 118
           <td>
125
            <button type="button" onclick="parts_language_selection_window('language_values')">Spracheinstellungen</button>
126
           </td>
127
           <td>
128
            <input name="ean" size="40" value="[% HTML.escape(ean) %]">
129
           </td>
130
          </tr>
131

  
132
          <tr>
133
           <td colspan="2">
134 119
            <table>
135 120
             <tr>
136
              <th align="right">Zahlungskonditionen</th>
121
              <th align="left">Bemerkungen</th>
122
              [%- UNLESS is_service %]
123
              <th align="left">Formel</th>
124
              [%- END %]
125
             </tr>
126
             <tr>
137 127
              <td>
138
               [%- INCLUDE generic/multibox.html
139
                     name       = 'payment_id',
140
                     DATA       = payment_terms,
141
                     show_empty = 1,
142
                     id_key     = 'id',
143
                     label_key  = 'description',
144
               -%]
128
               <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
145 129
              </td>
130
              [%- UNLESS is_service %]
131
              <td>
132
               <ilayer>
133
                <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('Die Formeln m&uuml;ssen in der folgenden Syntax eingegeben werden:<br>Bei normalen Artikeln:<br>Variablenname= Variable Einheit;<br>Variablenname2= Variable2 Einheit2;<br>...<br>###<br>Variable + Variable2 * ( Variable - Variable2 )<br>Bitte achten Sie auf die Leerzeichen in der Formel<br>Es muss jeweils die Gesamte Zeile eingegeben werden')">
134
                 <textarea name="formel" rows="4" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
135
               </td>
136
              [%- END %]
146 137
             </tr>
147 138
            </table>
148 139
           </td>
......
150 141
         </table>
151 142
        </td>
152 143

  
153
        <td width="30%">
154
         <table width="100%">
144
        <td>
145
         <table>
155 146
          <tr>
156 147
           <th align="right" nowrap="true">Erneuert am</th>
157
           <td width="13">
148
           <td>
158 149
            <input name="priceupdate" id="priceupdate" size="11"  title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]">
159 150
            <input type="button" name="priceupdate" id="trigger1" value="?">
160 151
           </td>
......
209 200
           </td>
210 201
          </tr>
211 202

  
212
          [%- UNLESS is_service %]
203
        [%- UNLESS is_service %]
213 204
          <tr>
214 205
           <th align="right" nowrap="true">Gewicht</th>
215 206
           <td>
......
217 208
            <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
218 209
           </td>
219 210
          </tr>
220
          [%- END %]
221

  
222
          [%- UNLESS is_service %]
211
        [%- END %]
212
        [%- UNLESS is_service %]
223 213
          <tr>
224 214
           <th align="right" nowrap>Auf Lager</th>
225 215
           <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]">&nbsp;[% LxERP.format_amount(onhand) %]</th>
226 216
          </tr>
227

  
228 217
          [%- IF is_assembly %]
229 218
          <tr>
230 219
           <th align="right" nowrap>Einlagern</th>
231 220
           <td><input name="stock" size="10" value="[% LxERP.format_amount(stock) %]"></td>
232 221
          </tr>
233 222
          [%- END %]
234

  
235 223
          <tr>
236 224
           <th align="right" nowrap="true">Mindestlagerbestand</th>
237 225
           <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
238 226
          </tr>
239

  
240 227
          <tr>
241 228
           <th align="right" nowrap="true">Lagerplatz</th>
242 229
           <td><input name="bin" size="10" value="[% HTML.escape(bin) %]"></td>
243 230
          </tr>
244

  
245
          <tr>
246
           <th align="right" nowrap><label for="not_discountable">Nicht rabattierf?hig</label></th>
247
           <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
248
          </tr>
249

  
250 231
          <tr>
251 232
           <th align="right" nowrap="true">Verrechnungseinheit</th>
252 233
           <td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
253 234
          </tr>
254

  
255 235
          <tr>
256 236
           <th align="right" nowrap="true">Gesch?ftsvolumen</th>
257 237
           <td><input name="gv" size="10" value="[% LxERP.format_amount(gv) %]"></td>
258 238
          </tr>
259

  
260
          [%- END %]
261
          [%- IF id %]
239
          <tr>
240
           <th align="right" nowrap><label for="not_discountable">Nicht rabattierf?hig</label></th>
241
           <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
242
          </tr>
243
        [%- END %]
244
        [%- IF id %]
262 245
          <tr>
263 246
           <th align="right" nowrap="true"><label for="obsolete">Ung?ltig</label></th>
264 247
           <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
265 248
          </tr>
266
          [%- END %]
267

  
249
        [%- END %]
268 250
          <tr>
269 251
           <th align="right" nowrap><label for="shop">Shopartikel</label></th>
270 252
           <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
......
276 258
     </td>
277 259
    </tr>
278 260

  
261

  
279 262
    [% UNLESS is_service %]
280 263
    <tr>
281 264
     <td>
282
      <table width="100%">
265
      <table>
283 266
       <tr>
284 267
        <th align="right" nowrap>Grafik</th>
285 268
        <td><input name="image" size="40" value="[% HTML.escape(image) %]"></td>
templates/webpages/ic/form_header_master.html
28 28
     <td>
29 29
      <table width="100%">
30 30
       <tr valign="top">
31
        <th align="left"><translate>Part Number</translate></th>
32
        <th align="left"><translate>Part Description</translate></th>
33
        [%- IF all_partsgroup.size %]
34
        <th align="left"><translate>Group</translate></th>
35
        [% END %]
36
       </tr>
37

  
38
       <tr valign="top">
39
        <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="20"></td>
40 31
        <td>
41
         [%- IF description_area %]
42
         <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
43
         [%- ELSE %]
44
         <input name="description" size="40" value="[% HTML.escape(description) %]">
45
         [%- END %]
46
        </td>
47

  
48
        [%- IF all_partsgroup.size %]
49
        <td>
50
         [%- INCLUDE generic/multibox.html
51
         name       = 'selectpartsgroup',
52
         DATA       = all_partsgroup,
53
         show_empty = 1,
54
         id_sub     = 'pg_keys',
55
         label_key  = 'partsgroup',
56
         -%]
57
        </td>
58
        [%- END %]
59
        <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
60
       </tr>
61
      </table>
62
     </td>
63
    </tr>
64

  
65
    <tr>
66
     <td>
67
      <table width="100%" height="100%">
68
       <tr valign="top">
69
        <td width="70%">
70
         <table width="100%" height="100%">
32
         <table>
71 33
          <tr>
72 34
           <td colspan="2">
73 35
            <table>
36
             <tr>
37
              <th align="right"><translate>Part Number</translate></th>
38
              <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
39
             </tr>
40
             <tr>
41
              <th align="right"><translate>Part Description</translate></th>
42
              <td>
43
               [%- IF description_area %]
44
               <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
45
               [%- ELSE %]
46
               <input name="description" size="40" value="[% HTML.escape(description) %]">
47
               [%- END %]
48
              </td>
49
             </tr>
50
             <tr>
51
               <th align="right"><translate>EAN-Code</translate></th>
52
               <td><input name="ean" size="40" value="[% HTML.escape(ean) %]"></td>
53
             </tr>
54
             <tr>
55
              [%- IF all_partsgroup.size %]
56
              <th align="right"><translate>Group</translate></th>
57
              <td>
58
               [%- INCLUDE generic/multibox.html
59
                     name       = 'selectpartsgroup',
60
                     DATA       = all_partsgroup,
61
                     show_empty = 1,
62
                     id_sub     = 'pg_keys',
63
                     label_key  = 'partsgroup',
64
                     style      = 'width:250px'
65
               -%]
66
              </td>
67
              <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
68
              [% END %]
69
             </tr>
70

  
71

  
74 72
             [%- IF BUCHUNGSGRUPPEN.size %]
75 73
             <tr>
76 74
              <th align="right"><translate>Buchungsgruppe</translate></th>
......
80 78
                     DATA       = BUCHUNGSGRUPPEN,
81 79
                     id_key     = 'id',
82 80
                     label_key  = 'description',
81
                     style      = 'width:250px'
83 82
               -%]
84 83
             </tr>
85 84
             [%- END %]
......
90 89
             [%- IF is_part %]
91 90
             <input type="hidden" name="IC" value="[% HTML.escape(IC_default) %]">
92 91
             [%- END %]
92
             <tr>
93
              <th align="right"><translate>Payment Terms</translate></th>
94
              <td>
95
               [%- INCLUDE generic/multibox.html
96
                     name       = 'payment_id',
97
                     DATA       = payment_terms,
98
                     show_empty = 1,
99
                     id_key     = 'id',
100
                     label_key  = 'description',
101
                     style      = 'width:250px'
102
               -%]
103
              </td>
104
             </tr>
93 105
            </table>
94 106
           </td>
95 107
          </tr>
96 108

  
97 109
          <tr>
98
           <th align="left"><translate>Notes</translate></th>
99
           [%- UNLESS is_service %]
100
           <th align="left"><translate>Formula</translate></th>
101
           [%- END %]
102
          </tr>
103

  
104
          <tr>
105
           <td>
106
            <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
107
           </td>
108

  
109
           [%- UNLESS is_service %]
110 110
           <td>
111
            <ilayer>
112
             <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('<translate>The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br></translate>')">
113
              <textarea name="formel" rows="4" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
111
            <button type="button" onclick="parts_language_selection_window('language_values')"><translate>Set Language Values</translate></button>
114 112
           </td>
115
           [%- END %]
116 113
          </tr>
117 114

  
118
          <tr>
119
           <th align="left"></th>
120
           <th align="left"><translate>EAN-Code</translate></th>
121
          </tr>
115
          <tr height="5"></tr>
122 116

  
123 117
          <tr>
124 118
           <td>
125
            <button type="button" onclick="parts_language_selection_window('language_values')"><translate>Set Language Values</translate></button>
126
           </td>
127
           <td>
128
            <input name="ean" size="40" value="[% HTML.escape(ean) %]">
129
           </td>
130
          </tr>
131

  
132
          <tr>
133
           <td colspan="2">
134 119
            <table>
135 120
             <tr>
136
              <th align="right"><translate>Payment Terms</translate></th>
121
              <th align="left"><translate>Notes</translate></th>
122
              [%- UNLESS is_service %]
123
              <th align="left"><translate>Formula</translate></th>
124
              [%- END %]
125
             </tr>
126
             <tr>
137 127
              <td>
138
               [%- INCLUDE generic/multibox.html
139
                     name       = 'payment_id',
140
                     DATA       = payment_terms,
141
                     show_empty = 1,
142
                     id_key     = 'id',
143
                     label_key  = 'description',
144
               -%]
128
               <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
145 129
              </td>
130
              [%- UNLESS is_service %]
131
              <td>
132
               <ilayer>
133
                <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('<translate>The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br></translate>')">
134
                 <textarea name="formel" rows="4" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
135
               </td>
136
              [%- END %]
146 137
             </tr>
147 138
            </table>
148 139
           </td>
......
150 141
         </table>
151 142
        </td>
152 143

  
153
        <td width="30%">
154
         <table width="100%">
144
        <td>
145
         <table>
155 146
          <tr>
156 147
           <th align="right" nowrap="true"><translate>Updated</translate></th>
157
           <td width="13">
148
           <td>
158 149
            <input name="priceupdate" id="priceupdate" size="11"  title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]">
159 150
            <input type="button" name="priceupdate" id="trigger1" value="?">
160 151
           </td>
......
209 200
           </td>
210 201
          </tr>
211 202

  
212
          [%- UNLESS is_service %]
203
        [%- UNLESS is_service %]
213 204
          <tr>
214 205
           <th align="right" nowrap="true"><translate>Weight</translate></th>
215 206
           <td>
......
217 208
            <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
218 209
           </td>
219 210
          </tr>
220
          [%- END %]
221

  
222
          [%- UNLESS is_service %]
211
        [%- END %]
212
        [%- UNLESS is_service %]
223 213
          <tr>
224 214
           <th align="right" nowrap><translate>On Hand</translate></th>
225 215
           <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]">&nbsp;[% LxERP.format_amount(onhand) %]</th>
226 216
          </tr>
227

  
228 217
          [%- IF is_assembly %]
229 218
          <tr>
230 219
           <th align="right" nowrap><translate>Stock</translate></th>
231 220
           <td><input name="stock" size="10" value="[% LxERP.format_amount(stock) %]"></td>
232 221
          </tr>
233 222
          [%- END %]
234

  
235 223
          <tr>
236 224
           <th align="right" nowrap="true"><translate>ROP</translate></th>
237 225
           <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
238 226
          </tr>
239

  
240 227
          <tr>
241 228
           <th align="right" nowrap="true"><translate>Bin</translate></th>
242 229
           <td><input name="bin" size="10" value="[% HTML.escape(bin) %]"></td>
243 230
          </tr>
244

  
245
          <tr>
246
           <th align="right" nowrap><label for="not_discountable"><translate>Not Discountable</translate></label></th>
247
           <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
248
          </tr>
249

  
250 231
          <tr>
251 232
           <th align="right" nowrap="true"><translate>Verrechnungseinheit</translate></th>
252 233
           <td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
253 234
          </tr>
254

  
255 235
          <tr>
256 236
           <th align="right" nowrap="true"><translate>Business Volume</translate></th>
257 237
           <td><input name="gv" size="10" value="[% LxERP.format_amount(gv) %]"></td>
258 238
          </tr>
259

  
260
          [%- END %]
261
          [%- IF id %]
239
          <tr>
240
           <th align="right" nowrap><label for="not_discountable"><translate>Not Discountable</translate></label></th>
241
           <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
242
          </tr>
243
        [%- END %]
244
        [%- IF id %]
262 245
          <tr>
263 246
           <th align="right" nowrap="true"><label for="obsolete"><translate>Obsolete</translate></label></th>
264 247
           <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
265 248
          </tr>
266
          [%- END %]
267

  
249
        [%- END %]
268 250
          <tr>
269 251
           <th align="right" nowrap><label for="shop"><translate>Shopartikel</translate></label></th>
270 252
           <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
......
276 258
     </td>
277 259
    </tr>
278 260

  
261

  
279 262
    [% UNLESS is_service %]
280 263
    <tr>
281 264
     <td>
282
      <table width="100%">
265
      <table>
283 266
       <tr>
284 267
        <th align="right" nowrap><translate>Image</translate></th>
285 268
        <td><input name="image" size="40" value="[% HTML.escape(image) %]"></td>

Auch abrufbar als: Unified diff