Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision dd5e7c23

Von Thomas Heck vor etwa 12 Jahren hinzugefügt

  • ID dd5e7c23a2ca4dc84f2c945b5dd8ea5c55087374
  • Vorgänger 55af6244
  • Nachfolger e1c783f7

Suchmaske für Verkaufsberichte an das "Kivitendo"-Design angepasst.

Unterschiede anzeigen:

templates/webpages/vk/search_invoice.html
1 1
[%- USE T8 %]
2 2
[%- USE L %]
3 3

  
4
 <form method=post name="search_invoice" action=[% script %]>
5

  
6
  <table width=100% border="0">
7
  <tr><th class=listtop>[% title %]</th></tr>
8
  <tr height="5"></tr>
9
  <tr>
10
   <td>
11
    <table border="0">
12
     <tr>
13
     <td>
14
      <table border="1">
15
       <tr>
16
        <th align=left nowrap>[% 'Configuration' | $T8 %]</th>
17
        <td>
18
         <table border="0">
19
           <tr>
20
             <td align="right">[% 'Main sorting' | $T8 %]</td>
21
             <td>
22
               <select name="mainsort" id="mainsort">
23
               <option value="description">[% 'Part' | $T8 %]</option>
24
               <option value="customername">[% 'Customer' | $T8 %]</option>
25
               <option value="country">[% 'Country' | $T8 %]</option>
26
               <option value="partsgroup">[% 'Group' | $T8 %]</option>
27
               <option value="business">[% 'Customer type' | $T8 %]</option>
28
               <option value="salesman" selected="selected">[% 'Salesman' | $T8 %]</option>
29
               <option value="month">[% 'Month' | $T8 %]</option>
30
               </select>
31
             </td>
32
             <td align=left><input name="l_headers_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
33
             <td align=left><input name="l_subtotal_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
34
             </tr>
35
             <tr>
36
               <td align="right">[% 'Secondary sorting' | $T8 %]</td>
37
               <td>
38
                 <select name="subsort" id="subsort">
39
                 <option value="description">[% 'Part' | $T8 %]</option>
40
                 <option value="customername">[% 'Customer' | $T8 %]</option>
41
                 <option value="country">[% 'Country' | $T8 %]</option>
42
                 <option value="partsgroup">[% 'Group' | $T8 %]</option>
43
                 <option value="business">[% 'Customer type' | $T8 %]</option>
44
                 <option value="salesman">[% 'Salesman' | $T8 %]</option>
45
                 <option value="month" selected="selected">[% 'Month' | $T8 %]</option>
46
                 </select>
47
                 </td>
48
               <td align=left><input name="l_headers_subsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
49
               <td align=left><input name="l_subtotal_subsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
50
             </tr>
51
           <tr>
52
           <th align="right">[% 'Item mode' | $T8 %]</th>
53
           <td colspan="3" align=left><input name="l_parts" class=checkbox type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %]) </td>
54
          </tr>
55
          <tr>
56
           <th align="right">
57
             [% 'Total sum' | $T8 %]
58
           </th>
59
           <td colspan="1" align=left><input name="l_total" class=checkbox type=checkbox value=Y checked></td>
60
            <td align="right" nowrap>[% 'Decimalplaces' | $T8 %]: </td>
61
            <td colspan="2"><input name="decimalplaces" size="2" value="2"></td>
62
          </tr>
63
    </table>
64
    </td>
65
       <tr>
66
        <th align=left nowrap>[% 'Filter' | $T8 %]</th>
67
        <td>
68
         <table border="0">
69
           <tr>
70
      <tr>
71
        <th align=left colspan="4"><br>[% 'Filter' | $T8 %]:</br></th>
72
      </tr>
73
     <tr>
4
<form method=post name="search_invoice" action=[% script %]>
5
  <input type="hidden" name="sort" value="transdate">
6
  <input type=hidden name=nextsub value=[% nextsub %]>
7

  
8
  <div class="listtop">[% title %]</div>
9

  
10

  
11
  <table>
12
    <tr>
74 13
      <th align=right>[% 'Customer' | $T8 %]</th>
75
      <td colspan=3>
76
            [%- INCLUDE 'generic/multibox.html'
77
                 name          = 'customer',
78
                 default       = oldcustomer,
79
                 style         = 'width: 250px',
80
                 DATA          = ALL_VC,
81
                 id_sub        = 'vc_keys',
82
                 label_key     = 'name',
83
                 select        = vc_select,
84
                 limit         = vclimit,
85
                 show_empty    = 1,
86
                 allow_textbox = 1,
87
                 -%]
14
      <td>
15
        [%- INCLUDE 'generic/multibox.html'
16
          name          = 'customer',
17
          default       = oldcustomer,
18
          style         = 'width: 250px',
19
          DATA          = ALL_VC,
20
          id_sub        = 'vc_keys',
21
          label_key     = 'name',
22
          select        = vc_select,
23
          limit         = vclimit,
24
          show_empty    = 1,
25
          allow_textbox = 1,
26
        -%]
27
      </td>
28

  
29
      <th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
30
      <td>
31
        <input name="customernumber" size="20">
88 32
      </td>
89
     </tr>
90
      <tr>
91
       <th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
92
       <td colspan="3"><input name="customernumber" size="20"></td>
93
      </tr>
94
     <tr>
33
    </tr>
34

  
35
    <tr>
95 36
      <th align=right nowrap>[% 'Department' | $T8 %]</th>
96
      <td colspan="3">
97
            [%- INCLUDE 'generic/multibox.html'
98
                 name          = 'department',
99
                 style         = 'width: 250px',
100
                 DATA          = ALL_DEPARTMENTS,
101
                 id_key        = 'id',
102
                 label_key     = 'description',
103
                 show_empty    = 1,
104
                 allow_textbox = 0,
105
            -%]
37
      <td>
38
        [%- INCLUDE 'generic/multibox.html'
39
          name          = 'department',
40
          style         = 'width: 250px',
41
          DATA          = ALL_DEPARTMENTS,
42
          id_key        = 'id',
43
          label_key     = 'description',
44
          show_empty    = 1,
45
          allow_textbox = 0,
46
        -%]
106 47
      </td>
107
     </tr>
108
     <tr>
48

  
109 49
      <th align="right">[% 'Project Number' | $T8 %]</th>
110
      <td colspan="3">
111
            [%- INCLUDE 'generic/multibox.html'
112
                 name          =  'project_id',
113
                 style         = "width: 250px",
114
                 DATA          =  ALL_PROJECTS,
115
                 id_key        = 'id',
116
                 label_key     = 'projectnumber',
117
                 limit         = vclimit,
118
                 show_empty    = 1,
119
                 allow_textbox = 0,
120
            -%]
50
      <td>
51
        [%- INCLUDE 'generic/multibox.html'
52
          name          =  'project_id',
53
          style         = "width: 250px",
54
          DATA          =  ALL_PROJECTS,
55
          id_key        = 'id',
56
          label_key     = 'projectnumber',
57
          limit         = vclimit,
58
          show_empty    = 1,
59
          allow_textbox = 0,
60
        -%]
61
      </td>
62
    </tr>
63

  
64
    <tr>
65
      <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
66
      <td><input name="partnumber" size="20"></td>
67
    </tr>
68

  
69
    <tr>
70
      <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
71
      <td>
72
        <input name="description" size="40">
121 73
      </td>
122
     </tr>
123
      <tr>
124
       <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
125
       <td colspan="3"><input name="partnumber" size="20"></td>
126
      </tr>
127
      <tr>
128
       <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
129
       <td colspan="3"><input name="description" size="40"></td>
130
      </tr>
131
     <tr>
74
    </tr>
75

  
76
    <tr>
132 77
      <th align="right">[% 'Group' | $T8 %]</th>
133 78
      <td>
134
             [%- INCLUDE 'generic/multibox.html'
135
                  name          = 'partsgroup_id',
136
                  style         = 'width: 250px',
137
                  DATA          =  ALL_PARTSGROUPS,
138
                  id_key        = 'id',
139
                  label_key     = 'partsgroup',
140
                  show_empty    = 1,
141
                  allow_textbox = 0,
142
             -%]
79
        [%- INCLUDE 'generic/multibox.html'
80
          name          = 'partsgroup_id',
81
          style         = 'width: 250px',
82
          DATA          =  ALL_PARTSGROUPS,
83
          id_key        = 'id',
84
          label_key     = 'partsgroup',
85
          show_empty    = 1,
86
          allow_textbox = 0,
87
        -%]
143 88
      </td>
144
     </tr>
145
      <tr>
146
       <td align="right" nowrap>[% 'Country' | $T8 %]</td>
147
       <td colspan="3"><input name="country" size="20"></td>
148
      </tr>
149
     <tr>
89

  
90
      <td align="right" nowrap>[% 'Country' | $T8 %]</td>
91
      <td><input name="country" size="20"></td>
92
    </tr>
93

  
94
    <tr>
150 95
      <th align="right">[% 'Employee' | $T8 %]</th>
151 96
      <td>
152
             [%- INCLUDE 'generic/multibox.html'
153
                  name          = 'employee_id',
154
                  style         = 'width: 250px',
155
                  DATA          =  ALL_EMPLOYEES,
156
                  id_key        = 'id',
157
                  label_sub     = 'employee_labels',
158
                  limit         = vclimit,
159
                  show_empty    = 1,
160
                  allow_textbox = 0,
161
                  default       = ' ',
162
             -%]
97
        [%- INCLUDE 'generic/multibox.html'
98
          name          = 'employee_id',
99
          style         = 'width: 250px',
100
          DATA          =  ALL_EMPLOYEES,
101
          id_key        = 'id',
102
          label_sub     = 'employee_labels',
103
          limit         = vclimit,
104
          show_empty    = 1,
105
          allow_textbox = 0,
106
          default       = ' ',
107
        -%]
163 108
      </td>
164
     </tr>
109

  
110
      <th align="right">[% 'Salesman' | $T8 %]</th>
111
      <td>
112
        [%- INCLUDE 'generic/multibox.html'
113
          name          = 'salesman_id',
114
          style         = 'width: 250px',
115
          DATA          =  ALL_SALESMEN,
116
          id_key        = 'id',
117
          label_sub     = 'salesman_labels',
118
          limit         = vclimit,
119
          show_empty    = 1,
120
          allow_textbox = 0,
121
        -%]
122
      </td>
123
    </tr>
124

  
165 125
    <tr>
166
     <th align="right">[% 'Salesman' | $T8 %]</th>
167
     <td>
168
            [%- INCLUDE 'generic/multibox.html'
169
                 name          = 'salesman_id',
170
                 style         = 'width: 250px',
171
                 DATA          =  ALL_SALESMEN,
172
                 id_key        = 'id',
173
                 label_sub     = 'salesman_labels',
174
                 limit         = vclimit,
175
                 show_empty    = 1,
176
                 allow_textbox = 0,
177
            -%]
178
     </td>
179
     </tr>
180
     <tr>
181 126
      <th align="right">[% 'Customer type' | $T8 %]</th>
182
      <td colspan="3">
183
            [%- INCLUDE 'generic/multibox.html'
184
                 name          =  'business_id',
185
                 style         = "width: 250px",
186
                 DATA          =  ALL_BUSINESS_TYPES,
187
                 id_key        = 'id',
188
                 label_key     = 'description',
189
                 limit         = vclimit,
190
                 show_empty    = 1,
191
                 allow_textbox = 0,
192
            -%]
127
      <td>
128
        [%- INCLUDE 'generic/multibox.html'
129
           name          =  'business_id',
130
           style         = "width: 250px",
131
           DATA          =  ALL_BUSINESS_TYPES,
132
           id_key        = 'id',
133
           label_key     = 'description',
134
           limit         = vclimit,
135
           show_empty    = 1,
136
           allow_textbox = 0,
137
        -%]
193 138
      </td>
194
     </tr>
195
     <tr>
139
    </tr>
140

  
141
    <tr>
196 142
      <th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th>
197 143
      <td>
198 144
        [% L.date_tag('transdatefrom') %]
199 145
      </td>
200
     <th align=right>[% 'Bis' | $T8 %]</th>
201
     <td>
202
       [% L.date_tag('transdateto') %]
203
     </td>
146

  
147
      <th align=right>[% 'Bis' | $T8 %]</th>
148

  
149
      <td>
150
        [% L.date_tag('transdateto') %]
151
      </td>
204 152
    </tr>
153

  
154

  
205 155
    <tr>
206
        <th align=left colspan="4"><br>[% 'Filter for customer variables' | $T8 %]:</br></th>
156
      <td></td>
157
      <th colspan="4" align="left">
158
        [% 'Filter for customer variables' | $T8 %]
159
      </th>
207 160
    </tr>
208
   [% CUSTOM_VARIABLES_FILTER_CODE_CT %]
161
    [% CUSTOM_VARIABLES_FILTER_CODE_CT %]
162

  
163

  
209 164
    <tr>
210
        <th align=left colspan="4"><br>[% 'Filter for item variables' | $T8 %]:</br></th>
165
      <td></td>
166
      <th colspan="4" align="left">
167
        [% 'Filter for item variables' | $T8 %]
168
      </th>
211 169
    </tr>
212
   [% CUSTOM_VARIABLES_FILTER_CODE_IC %]
213
   <input type=hidden name=sort value=transdate>
214
   </table>
215

  
216
    </td>
217
      <tr>
218
        <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
219
        <td>
220
         <table border="0">
221
          <td colspan="4">
222
            [% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):
223
          </td>
170
    [% CUSTOM_VARIABLES_FILTER_CODE_IC %]
171

  
172

  
173

  
174
    <tr>
175
      <td></td>
176
      <td colspan="7">
177
        <hr size="1" noshade="">
178
      </td>
179
    <tr>
180

  
181

  
182

  
183
    <tr>
184
      <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
185

  
186
      <td colspan="3">
187
        <table>
224 188
          <tr>
225
           <td align=left><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked>[% 'Sales price total' | $T8 %]</td>
226
           <td align=left><input name="l_lastcost_total" class=checkbox type=checkbox value=Y checked>[% 'Purchase price total' | $T8 %]</td>
227
           <td align=left><input name="l_marge_total" class=checkbox type=checkbox value=Y checked>[% 'Margetotal' | $T8 %]</td>
228
           <td colspan="4"> ([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])
189
            <td colspan="4">
190
              [% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):
191
            </td>
192
          </tr>
229 193

  
194
          <tr>
195
            <td align=left><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked>[% 'Sales price total' | $T8 %]</td>
196
            <td align=left><input name="l_lastcost_total" class=checkbox type=checkbox value=Y checked>[% 'Purchase price total' | $T8 %]</td>
197
            <td align=left><input name="l_marge_total" class=checkbox type=checkbox value=Y checked>[% 'Margetotal' | $T8 %]</td>
198
            <td colspan="4"> ([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])
230 199
          </tr>
200

  
231 201
          <tr>
232
           <td align=left><input name="l_sellprice" class=checkbox type=checkbox value=Y checked>[% 'Sales price' | $T8 %]</td>
233
           <td align=left><input name="l_lastcost" class=checkbox type=checkbox value=Y checked>[% 'Purchase price' | $T8 %]</td>
234
           <td align=left><input name="l_marge_percent" class=checkbox type=checkbox value=Y checked>[% 'Margepercent' | $T8 %]</td>
235
           <td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
202
            <td align=left><input name="l_sellprice" class=checkbox type=checkbox value=Y checked>[% 'Sales price' | $T8 %]</td>
203
            <td align=left><input name="l_lastcost" class=checkbox type=checkbox value=Y checked>[% 'Purchase price' | $T8 %]</td>
204
            <td align=left><input name="l_marge_percent" class=checkbox type=checkbox value=Y checked>[% 'Margepercent' | $T8 %]</td>
205
            <td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
236 206
          </tr>
207

  
237 208
          <tr>
238
           <td align=left><input name="l_qty" class=checkbox type=checkbox value=Y checked>[% 'Quantity' | $T8 %]</td>
239
           <td align=left><input name="l_discount" class=checkbox type=checkbox value=Y>[% 'Discount' | $T8 %]</td>
240
           <td></td>
241
           <td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
209
            <td align=left><input name="l_qty" class=checkbox type=checkbox value=Y checked>[% 'Quantity' | $T8 %]</td>
210
            <td align=left><input name="l_discount" class=checkbox type=checkbox value=Y>[% 'Discount' | $T8 %]</td>
211
            <td></td>
212
            <td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
242 213
          </tr>
214

  
243 215
          <tr>
244
           <td align=left><input name="l_weight" class=checkbox type=checkbox value=Y>[% 'Weight' | $T8 %]</td>
216
            <td align=left><input name="l_weight" class=checkbox type=checkbox value=Y>[% 'Weight' | $T8 %]</td>
245 217
          </tr>
246
          <tr><td colspan="7">&nbsp;</td></tr>
247
          <td colspan="4" align="left">
248
          [% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
249
          </td>
218

  
250 219
          <tr>
251
           <td align=left><input name="l_description" class=checkbox type=checkbox value=Y checked>[% 'Description' | $T8 %]</td>
252
           <td align=left><input name="l_partnumber" class=checkbox type=checkbox value=Y>[% 'Part Number' | $T8 %]</td>
253
           <td align=left><input name="l_invnumber" class=checkbox type=checkbox value=Y>[% 'Invnumber' | $T8 %]</td>
254
           <td align=left><input name="l_transdate" class=checkbox type=checkbox value=Y>[% 'Invdate' | $T8 %]</td>
220
            <td colspan="7">&nbsp;</td>
255 221
          </tr>
222

  
256 223
          <tr>
257
           <td align=left><input name="l_parts_unit" class=checkbox type=checkbox value=Y>[% 'Base unit' | $T8 %]</td>
258
           <td align=left><input name="l_partsgroup" class=checkbox type=checkbox value=Y>[% 'Group' | $T8 %]</td>
259
           <td align=left><input name="l_salesman" class=checkbox type=checkbox value=Y>[% 'Salesperson' | $T8 %]</td>
260
           <td align=left><input name="l_employee" class=checkbox type=checkbox value=Y>[% 'Employee' | $T8 %]</td>
224
            <td colspan="4" align="left">
225
              [% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
226
            </td>
261 227
          </tr>
228

  
262 229
          <tr>
263
           <td align=left><input name="l_customernumber" class=checkbox type=checkbox value=Y>[% 'Customer Number' | $T8 %]</td>
264
           <td align=left><input name="l_customername" class=checkbox type=checkbox value=Y>[% 'Customer Name' | $T8 %]</td>
265
           <td align=left><input name="l_country" class=checkbox type=checkbox value=Y>[% 'Country' | $T8 %]</td>
266
           <td align=left><input name="l_business" class=checkbox type=checkbox value=Y>[% 'Customer type' | $T8 %]</td>
230
            <td align=left><input name="l_description" class=checkbox type=checkbox value=Y checked>[% 'Description' | $T8 %]</td>
231
            <td align=left><input name="l_partnumber" class=checkbox type=checkbox value=Y>[% 'Part Number' | $T8 %]</td>
232
            <td align=left><input name="l_invnumber" class=checkbox type=checkbox value=Y>[% 'Invnumber' | $T8 %]</td>
233
            <td align=left><input name="l_transdate" class=checkbox type=checkbox value=Y>[% 'Invdate' | $T8 %]</td>
267 234
          </tr>
235

  
268 236
          <tr>
237
            <td align=left><input name="l_parts_unit" class=checkbox type=checkbox value=Y>[% 'Base unit' | $T8 %]</td>
238
            <td align=left><input name="l_partsgroup" class=checkbox type=checkbox value=Y>[% 'Group' | $T8 %]</td>
239
            <td align=left><input name="l_salesman" class=checkbox type=checkbox value=Y>[% 'Salesperson' | $T8 %]</td>
240
            <td align=left><input name="l_employee" class=checkbox type=checkbox value=Y>[% 'Employee' | $T8 %]</td>
269 241
          </tr>
270
     <tr><td colspan="7">&nbsp;</td></tr>
242

  
243
          <tr>
244
            <td align=left><input name="l_customernumber" class=checkbox type=checkbox value=Y>[% 'Customer Number' | $T8 %]</td>
245
            <td align=left><input name="l_customername" class=checkbox type=checkbox value=Y>[% 'Customer Name' | $T8 %]</td>
246
            <td align=left><input name="l_country" class=checkbox type=checkbox value=Y>[% 'Country' | $T8 %]</td>
247
            <td align=left><input name="l_business" class=checkbox type=checkbox value=Y>[% 'Customer type' | $T8 %]</td>
248
          </tr>
249

  
250
          <tr>
251
            <th colspan="4" align="left">
252
              [% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
253
            </th>
254
          </tr>
255
          [% CUSTOM_VARIABLES_INCLUSION_CODE_CT %]
256

  
257
          <tr>
258
            <th colspan="4" align="left">
259
              [% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
260
            </th>
261
          </tr>
262
          [% CUSTOM_VARIABLES_INCLUSION_CODE_IC %]
263

  
264
        </table>
265
      </td>
266
    </tr>
267

  
268

  
269

  
270
    <tr>
271
      <td></td>
272
      <td colspan="7">
273
        <hr size="1" noshade="">
274
      </td>
275
    <tr>
276

  
277

  
278

  
271 279
    <tr>
272
    <th colspan="4" align="left">
273
    [% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
274
    </th>
280
      <td align="right">[% 'Main sorting' | $T8 %]</td>
281
      <td>
282
        <select name="mainsort" id="mainsort">
283
          <option value="description">[% 'Part' | $T8 %]</option>
284
          <option value="customername">[% 'Customer' | $T8 %]</option>
285
          <option value="country">[% 'Country' | $T8 %]</option>
286
          <option value="partsgroup">[% 'Group' | $T8 %]</option>
287
          <option value="business">[% 'Customer type' | $T8 %]</option>
288
          <option value="salesman" selected="selected">[% 'Salesman' | $T8 %]</option>
289
          <option value="month">[% 'Month' | $T8 %]</option>
290
        </select>
291
      </td>
292
      <td align=left><input name="l_headers_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
293
      <td align=left><input name="l_subtotal_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
275 294
    </tr>
276
        [% CUSTOM_VARIABLES_INCLUSION_CODE_CT %]
277 295

  
278
     <tr><td colspan="7">&nbsp;</td></tr>
279 296
    <tr>
280
    <th colspan="4" align="left">
281
    [% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
282
    </th>
297
      <td align="right">[% 'Secondary sorting' | $T8 %]</td>
298
      <td>
299
        <select name="subsort" id="subsort">
300
          <option value="description">[% 'Part' | $T8 %]</option>
301
          <option value="customername">[% 'Customer' | $T8 %]</option>
302
          <option value="country">[% 'Country' | $T8 %]</option>
303
          <option value="partsgroup">[% 'Group' | $T8 %]</option>
304
          <option value="business">[% 'Customer type' | $T8 %]</option>
305
          <option value="salesman">[% 'Salesman' | $T8 %]</option>
306
          <option value="month" selected="selected">[% 'Month' | $T8 %]</option>
307
        </select>
308
      </td>
309
      <td align=left><input name="l_headers_subsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
310
      <td align=left><input name="l_subtotal_subsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
283 311
    </tr>
284
      [% CUSTOM_VARIABLES_INCLUSION_CODE_IC %]
285
         </table>
286
        </td>
287
       </tr>
288
      </table>
289
     </td>
312

  
313
    <tr>
314
      <th align="right">[% 'Item mode' | $T8 %]</th>
315
      <td colspan="3" align=left><input name="l_parts" class=checkbox type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %]) </td>
290 316
    </tr>
317

  
291 318
    <tr>
319
      <th align="right">[% 'Total sum' | $T8 %]</th>
320
      <td colspan="1" align=left><input name="l_total" class=checkbox type=checkbox value=Y checked></td>
321
      <td align="right" nowrap>[% 'Decimalplaces' | $T8 %]: </td>
322
      <td colspan="2"><input name="decimalplaces" size="2" value="2"></td>
292 323
    </tr>
293
   </table>
294
   <input type=hidden name=nextsub value=[% nextsub %]>
295
   <br>
296
   <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
297
  </form>
298
 <script type="text/javascript">
299
 <!--
300
   $(document).ready(function(){
301
    $('customer').focus();
302
   })
303
 //-->
304
 </script>
324
  </table>
325

  
326
  <hr size="3" noshade="">
327

  
328
  <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
329

  
330
  <br><br>
331

  
332
</form>
333

  
334
<script type="text/javascript">
335
<!--
336
$(document).ready(function(){
337
  $('customer').focus();
338
})
339
//-->
340
</script>

Auch abrufbar als: Unified diff