Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 31157ef9

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 31157ef998ed7bf55d1fca0d0a65d632c8d3c787
  • Vorgänger e47b2d70
  • Nachfolger 1dc2e239

Neues kivitendo Design restliche Aenderungen in templates/webpages/*

Dateien gobd/* order_items_search/* parts_price_history/* payment_term/*
presenter/* price_information/* taxzones/* todo/* vk/* webdav/*

Unterschiede anzeigen:

templates/webpages/vk/search_invoice.html
1
[%- USE T8 %][%- USE L %][%- USE P -%]
2
[%- SET style="width: 250px" %]
1
[% USE T8 %]
2
[% USE L %]
3
[% USE P %]
4
[% SET style="width: 250px" %]
5

  
3 6
<h1>[% title %]</h1>
4 7

  
5 8
<form method=post name="search_invoice" action=[% script %]>
6
  <input type="hidden" name="sort" value="transdate">
7
  <input type=hidden name=nextsub value=[% nextsub %]>
9
<div class="wrapper">
10

  
11
<input type="hidden" name="sort" value="transdate">
12
<input type=hidden name=nextsub value=[% nextsub %]>
8 13

  
9
  <table>
14
<div class="col">
10 15

  
16
<table class="tbl-horizontal">
17
  <caption>[% 'Sorting' | $T8 %]</caption>
18
  <colgroup> <col class="wi-small"><col class="wi-small"><col class="wi-mediumsmall"> </colgroup>
19
  <tbody>
11 20
    <tr>
12
      <td align="right">[% 'Main sorting' | $T8 %]</td>
21
      <th>[% 'Main sorting' | $T8 %]</th>
13 22
      <td>
14 23
        <select name="mainsort" id="mainsort">
15 24
          <option value="description">[% 'Part' | $T8 %]</option>
......
21 30
          <option value="month">[% 'Month' | $T8 %]</option>
22 31
        </select>
23 32
      </td>
24
      <td align=left><input name="l_headers_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
25
      <td align=left><input name="l_subtotal_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
33
      <td>
34
        <input name="l_headers_mainsort" id="l_headers_mainsort" type=checkbox value=Y checked><label for="l_headers_mainsort">[% 'Heading' | $T8 %]</label><br>
35
        <input name="l_subtotal_mainsort" id="l_subtotal_mainsort" type=checkbox value=Y checked><label for="l_subtotal_mainsort">[% 'Subtotal' | $T8 %]</label>
36
      </td>
26 37
    </tr>
27

  
28 38
    <tr>
29
      <td align="right">[% 'Secondary sorting' | $T8 %]</td>
39
      <th>[% 'Secondary sorting' | $T8 %]</th>
30 40
      <td>
31 41
        <select name="subsort" id="subsort">
32 42
          <option value="description">[% 'Part' | $T8 %]</option>
......
38 48
          <option value="month" selected="selected">[% 'Month' | $T8 %]</option>
39 49
        </select>
40 50
      </td>
41
      <td align=left><input name="l_headers_subsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
42
      <td align=left><input name="l_subtotal_subsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
51
      <td>
52
        <input name="l_headers_subsort" id="l_headers_subsort" type=checkbox value=Y checked><label for="l_headers_subsort">[% 'Heading' | $T8 %]</label><br>
53
        <input name="l_subtotal_subsort" id="l_subtotal_subsort" type=checkbox value=Y checked><label for="l_subtotal_subsort">[% 'Subtotal' | $T8 %]</label>
54
      </td>
43 55
    </tr>
56
  </tbody>
57
</table>
44 58

  
59
<table class="tbl-horizontal">
60
  <caption>[% 'Item & Sums' | $T8 %]</caption>
61
  <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
62
  <tbody>
45 63
    <tr>
46
      <th align="right">[% 'Item mode' | $T8 %]</th>
47
      <td colspan="3" align=left><input name="l_parts" class=checkbox type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %]) </td>
64
      <th>[% 'Item mode' | $T8 %]</th>
65
      <td><input name="l_parts" type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %])</td>
48 66
    </tr>
49

  
50 67
    <tr>
51
      <th align="right">[% 'Total sum' | $T8 %]</th>
52
      <td colspan="1" align=left><input name="l_total" class=checkbox type=checkbox value=Y checked></td>
53
      <td align="right" nowrap>[% 'Decimalplaces' | $T8 %]: </td>
54
      <td colspan="2"><input name="decimalplaces" size="2" value="2"></td>
68
      <th>[% 'Total sum' | $T8 %]</th>
69
      <td><input name="l_total" type=checkbox value=Y checked> [% 'Decimalplaces' | $T8 %]: <input type="text" name="decimalplaces" size="2" value="2"></td>
55 70
    </tr>
71
  </tbody>
72
</table>
56 73

  
74
<table class="tbl-horizontal">
75
  <caption>[% 'Parts' | $T8 %]</caption>
76
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
77
  <tbody>
57 78
    <tr>
58
      <td></td>
59
      <td colspan="7">
60
        <hr size="1" noshade="">
61
      </td>
79
      <th>[% 'Part Number' | $T8 %]</th>
80
      <td>[% P.input_tag("partnumber", "", class='wi-small') %]</td>
81
    </tr>
62 82
    <tr>
63

  
83
      <th>[% 'Part Description' | $T8 %]</th>
84
      <td>[% P.input_tag("description", "", class='wi-wide') %]</td>
85
    </tr>
64 86
    <tr>
65
      <th align=right>[% 'Customer' | $T8 %]</th>
66
      <td>[% P.input_tag("customer", "", class="initial_focus", style=style) %]</td>
67

  
68
      <th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
69
      <td>[% P.input_tag("customernumber", "", style=style) %]</td>
87
      <th>[% 'Partsgroup' | $T8 %]</th>
88
      <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, class='wi-wide') %]</td>
70 89
    </tr>
90
  </tbody>
91
</table>
71 92

  
93
<table class="tbl-horizontal">
94
  <caption>[% 'Invoices' | $T8 %]</caption>
95
  <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
96
  <tbody>
72 97
    <tr>
73
      <th align=right nowrap>[% 'Department' | $T8 %]</th>
74
      <td>
75
        [%- L.select_tag('department_id',
76
                         ALL_DEPARTMENTS,
77
                         title_key  = 'description',
78
                         with_empty = 1,
79
                         style      = style)
80
      -%]
81
      </td>
82

  
83
      <th align="right">[% 'Project Number' | $T8 %]</th>
84
      <td>[% P.project.picker("project_id", "", style=style) %]</td>
98
      <th>[% 'Invoice Date' | $T8 %]</th>
99
      <td><span class="wi-date">
100
        [% #'From' | $T8 %]
101
        [% L.date_tag('transdatefrom') %]
102
        [% 'Bis' | $T8 %]
103
        [% L.date_tag('transdateto') %]
104
      </span></td>
85 105
    </tr>
106
  </tbody>
107
</table>
108

  
109
</div><!-- /.col -->
110

  
111
<div class="col">
86 112

  
113
<table class="tbl-horizontal">
114
  <caption>[% 'Customers' | $T8 %]</caption>
115
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
116
  <tbody>
87 117
    <tr>
88
      <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
89
      <td>[% P.input_tag("partnumber", "", style=style) %]</td>
118
      <th>[% 'Customer' | $T8 %]</th>
119
      <td>[% P.input_tag( "customer", "", class="initial_focus", class='wi-wide' ) %]</td>
90 120
    </tr>
91

  
92 121
    <tr>
93
      <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
94
      <td>[% P.input_tag("description", "", style=style) %]</td>
122
      <th>[% 'Customer Number' | $T8 %]</th>
123
      <td>[% P.input_tag( "customernumber", "", class='wi-small' ) %]</td>
95 124
    </tr>
96

  
97 125
    <tr>
98
      <th align="right">[% 'Partsgroup' | $T8 %]</th>
99
      <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, style=style) %]</td>
100
      <td align="right" nowrap>[% 'Country' | $T8 %]</td>
101
      <td>[% P.input_tag("country", "", style=style) %]</td>
126
      <th>[% 'Customer type' | $T8 %]</th>
127
      <td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, class='wi-wide') %]</td>
102 128
    </tr>
129
  </tbody>
130
</table>
103 131

  
132
<table class="tbl-horizontal">
133
  <caption>[% 'Handling' | $T8 %]</caption>
134
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
135
  <tbody>
104 136
    <tr>
105
      <th align="right">[% 'Employee' | $T8 %]</th>
106
      <td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td>
107

  
108
      <th align="right">[% 'Salesman' | $T8 %]</th>
109
      <td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td>
137
      <th>[% 'Employee' | $T8 %]</th>
138
      <td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td>
110 139
    </tr>
111

  
112 140
    <tr>
113
      <th align="right">[% 'Customer type' | $T8 %]</th>
114
      <td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, style=style) %]</td>
141
      <th>[% 'Salesman' | $T8 %]</th>
142
      <td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td>
115 143
    </tr>
116

  
117 144
    <tr>
118
      <th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th>
119
      <td>
120
        [% L.date_tag('transdatefrom') %]
121
        [% 'Bis' | $T8 %]
122
        [% L.date_tag('transdateto') %]
123
      </td>
145
      <th>[% 'Department' | $T8 %]</th>
146
      <td>[% L.select_tag( 'department_id', ALL_DEPARTMENTS, title_key='description', with_empty = 1, class='wi-wide' ) %]</td>
124 147
    </tr>
125

  
126

  
127 148
    <tr>
128
      <td></td>
129
      <th colspan="4" align="left">
130
        [% 'Filter for customer variables' | $T8 %]
131
      </th>
149
      <th>[% 'Project Number' | $T8 %]</th>
150
      <td>[% P.project.picker("project_id", "", class='wi-small') %]</td>
132 151
    </tr>
133
    [% CUSTOM_VARIABLES_FILTER_CODE_CT %]
152
    <tr>
153
      <th>[% 'Country' | $T8 %]</th>
154
      <td>[% P.input_tag("country", "", class='wi-wide') %]</td>
155
    </tr>
156
  </tbody>
157
</table>
134 158

  
159
</div><!-- /.col -->
135 160

  
161
<div class="col">
162

  
163
<table class="tbl-horizontal">
164
  <caption>[% 'Filter for customer variables' | $T8 %]</caption>
165
  <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
166
  <tbody>
167
    [% CUSTOM_VARIABLES_FILTER_CODE_CT %]
136 168
    <tr>
137
      <td></td>
138
      <th colspan="4" align="left">
139
        [% 'Filter for item variables' | $T8 %]
140
      </th>
169
      <th class="caption" colspan="2">[% 'Filter for item variables' | $T8 %]</th>
141 170
    </tr>
142 171
    [% CUSTOM_VARIABLES_FILTER_CODE_IC %]
172
  </tbody>
173
</table>
174

  
175
</div>
176

  
177
</div><!-- /.wrapper -->
143 178

  
179
<div class="buttons">
180
  <input type=submit name=action value="[% 'Continue' | $T8 %]">
181
</div>
144 182

  
183
<div class="wrapper form-addition control-panel">
184
  <h3>[% 'Include in Report' | $T8 %]</h3>
145 185

  
186
  <table class="tbl-plain clear">
187
    <colgroup><col class="wi-mediumsmall"><col class="wi-mediumsmall"><col class="wi-mediumsmall"><col class="wi-verywide"></colgroup>
188
    <tbody>
146 189
    <tr>
190
      <th colspan="4"><h4>[% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):</h4></th>
191
    </tr>
192
    <tr>
193
      <td><input name="l_sellprice_total" id="l_sellprice_total" type=checkbox value=Y checked><label for="l_sellprice_total">[% 'Sales price total' | $T8 %]</label></td>
194
      <td><input name="l_lastcost_total" id="l_lastcost_total" type=checkbox value=Y checked><label for="l_lastcost_total">[% 'Purchase price total' | $T8 %]</label></td>
195
      <td><input name="l_marge_total" id="l_marge_total" type=checkbox value=Y checked><label for="l_marge_total">[% 'Margetotal' | $T8 %]</label></td>
196
      <td class="long-desc">([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])</td>
197
    </tr>
198
    <tr>
199
      <td><input name="l_sellprice" id="l_sellprice" type=checkbox value=Y checked><label for="l_sellprice">[% 'Sales price' | $T8 %]</label></td>
200
      <td><input name="l_lastcost" id="l_lastcost" type=checkbox value=Y checked><label for="l_lastcost">[% 'Purchase price' | $T8 %]</label></td>
201
      <td><input name="l_marge_percent" id="l_marge_percent" type=checkbox value=Y checked><label for="l_marge_percent">[% 'Margepercent' | $T8 %]</label></td>
202
      <td class="long-desc">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
203
    </tr>
204
    <tr>
205
      <td><input name="l_qty" id="l_qty" type=checkbox value=Y checked><label for="l_qty">[% 'Quantity' | $T8 %]</label></td>
206
      <td><input name="l_discount" id="l_discount" type=checkbox value=Y><label for="l_discount">[% 'Discount' | $T8 %]</label></td>
147 207
      <td></td>
148
      <td colspan="7">
149
        <hr size="1" noshade="">
150
      </td>
208
      <td class="long-desc">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
209
    </tr>
151 210
    <tr>
152

  
153

  
154

  
211
      <td><input name="l_weight" id="l_weight" type=checkbox value=Y><label for="l_weight">[% 'Weight' | $T8 %]</label></td>
212
      <td></td>
213
      <td></td>
214
      <td></td>
215
    </tr>
155 216
    <tr>
156
      <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
157

  
158
      <td colspan="3">
159
        <table>
160
          <tr>
161
            <td colspan="4">
162
              [% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):
163
            </td>
164
          </tr>
165

  
166
          <tr>
167
            <td align=left><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked>[% 'Sales price total' | $T8 %]</td>
168
            <td align=left><input name="l_lastcost_total" class=checkbox type=checkbox value=Y checked>[% 'Purchase price total' | $T8 %]</td>
169
            <td align=left><input name="l_marge_total" class=checkbox type=checkbox value=Y checked>[% 'Margetotal' | $T8 %]</td>
170
            <td colspan="4"> ([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])
171
          </tr>
172

  
173
          <tr>
174
            <td align=left><input name="l_sellprice" class=checkbox type=checkbox value=Y checked>[% 'Sales price' | $T8 %]</td>
175
            <td align=left><input name="l_lastcost" class=checkbox type=checkbox value=Y checked>[% 'Purchase price' | $T8 %]</td>
176
            <td align=left><input name="l_marge_percent" class=checkbox type=checkbox value=Y checked>[% 'Margepercent' | $T8 %]</td>
177
            <td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
178
          </tr>
179

  
180
          <tr>
181
            <td align=left><input name="l_qty" class=checkbox type=checkbox value=Y checked>[% 'Quantity' | $T8 %]</td>
182
            <td align=left><input name="l_discount" class=checkbox type=checkbox value=Y>[% 'Discount' | $T8 %]</td>
183
            <td></td>
184
            <td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
185
          </tr>
186

  
187
          <tr>
188
            <td align=left><input name="l_weight" class=checkbox type=checkbox value=Y>[% 'Weight' | $T8 %]</td>
189
          </tr>
190

  
191
          <tr>
192
            <td colspan="7">&nbsp;</td>
193
          </tr>
194

  
195
          <tr>
196
            <td colspan="4" align="left">
197
              [% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
198
            </td>
199
          </tr>
200

  
201
          <tr>
202
            <td align=left><input name="l_description" class=checkbox type=checkbox value=Y checked>[% 'Description' | $T8 %]</td>
203
            <td align=left><input name="l_partnumber" class=checkbox type=checkbox value=Y>[% 'Part Number' | $T8 %]</td>
204
            <td align=left><input name="l_invnumber" class=checkbox type=checkbox value=Y>[% 'Invnumber' | $T8 %]</td>
205
            <td align=left><input name="l_transdate" class=checkbox type=checkbox value=Y>[% 'Invdate' | $T8 %]</td>
206
          </tr>
207

  
208
          <tr>
209
            <td align=left><input name="l_parts_unit" class=checkbox type=checkbox value=Y>[% 'Base unit' | $T8 %]</td>
210
            <td align=left><input name="l_partsgroup" class=checkbox type=checkbox value=Y>[% 'Partsgroup' | $T8 %]</td>
211
            <td align=left><input name="l_salesman" class=checkbox type=checkbox value=Y>[% 'Salesperson' | $T8 %]</td>
212
            <td align=left><input name="l_employee" class=checkbox type=checkbox value=Y>[% 'Employee' | $T8 %]</td>
213
          </tr>
214

  
215
          <tr>
216
            <td align=left><input name="l_customernumber" class=checkbox type=checkbox value=Y>[% 'Customer Number' | $T8 %]</td>
217
            <td align=left><input name="l_customername" class=checkbox type=checkbox value=Y>[% 'Customer Name' | $T8 %]</td>
218
            <td align=left><input name="l_country" class=checkbox type=checkbox value=Y>[% 'Country' | $T8 %]</td>
219
            <td align=left><input name="l_business" class=checkbox type=checkbox value=Y>[% 'Customer type' | $T8 %]</td>
220
          </tr>
221

  
222
          <tr>
223
            <th colspan="4" align="left">
224
              [% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
225
            </th>
226
          </tr>
227
          [% CUSTOM_VARIABLES_INCLUSION_CODE_CT %]
228

  
229
          <tr>
230
            <th colspan="4" align="left">
231
              [% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
232
            </th>
233
          </tr>
234
          [% CUSTOM_VARIABLES_INCLUSION_CODE_IC %]
235

  
236
        </table>
237
      </td>
217
      <th colspan="4"><h4>[% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th>
238 218
    </tr>
239

  
219
    <tr>
220
      <td><input name="l_description" id="l_description" type=checkbox value=Y checked><label for="l_description">[% 'Description' | $T8 %]</label></td>
221
      <td><input name="l_partnumber" id="l_partnumber" type=checkbox value=Y><label for="l_partnumber">[% 'Part Number' | $T8 %]</label></td>
222
      <td><input name="l_invnumber" id="l_invnumber" type=checkbox value=Y><label for="l_invnumber">[% 'Invnumber' | $T8 %]</label></td>
223
      <td><input name="l_transdate" id="l_transdate" type=checkbox value=Y><label for="l_transdate">[% 'Invdate' | $T8 %]</label></td>
224
    </tr>
225
    <tr>
226
      <td><input name="l_parts_unit" id="l_parts_unit" type=checkbox value=Y><label for="l_parts_unit">[% 'Base unit' | $T8 %]</label></td>
227
      <td><input name="l_partsgroup" id="l_partsgroup" type=checkbox value=Y><label for="l_partsgroup">[% 'Partsgroup' | $T8 %]</label></td>
228
      <td><input name="l_salesman" id="l_salesman" type=checkbox value=Y><label for="l_salesman">[% 'Salesperson' | $T8 %]</label></td>
229
      <td><input name="l_employee" id="l_employee" type=checkbox value=Y><label for="l_employee">[% 'Employee' | $T8 %]</label></td>
230
    </tr>
231
    <tr>
232
      <td><input name="l_customernumber" id="l_customernumber" type=checkbox value=Y><label for="l_customernumber">[% 'Customer Number' | $T8 %]</label></td>
233
      <td><input name="l_customername" id="l_customername" type=checkbox value=Y><label for="l_customername">[% 'Customer Name' | $T8 %]</label></td>
234
      <td><input name="l_country" id="l_country" type=checkbox value=Y><label for="l_country">[% 'Country' | $T8 %]</label></td>
235
      <td><input name="l_business" id="l_business" type=checkbox value=Y><label for="l_business">[% 'Customer type' | $T8 %]</label></td>
236
    </tr>
237
    </tbody>
240 238
  </table>
241 239

  
242
  <hr size="3" noshade="">
243

  
244
  <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
240
  <table class="tbl-plain clear">
241
    <tbody>
242
    <tr>
243
      <th colspan="4"><h4>[% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th>
244
    </tr>
245
    [% CUSTOM_VARIABLES_INCLUSION_CODE_CT %]
246
    </tbody>
247
  </table>
245 248

  
246
  <br><br>
249
  <table class="tbl-plain clear">
250
    <tbody>
251
    <tr>
252
      <th colspan="4"><h4>[% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th>
253
    </tr>
254
    [% CUSTOM_VARIABLES_INCLUSION_CODE_IC %]
255
    </tbody>
256
  </table>
257
</div>
247 258

  
248 259
</form>
249 260

  
250
<script type="text/javascript">
251
<!--
252
$(document).ready(function(){
253
  $('customer').focus();
254
})
255
//-->
256
</script>
261
<script type="text/javascript"><!--
262
  $(document).ready(function(){
263
    $('customer').focus();
264
  })
265
//--></script>

Auch abrufbar als: Unified diff