Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ea8aeffe

Von Kivitendo Admin vor fast 2 Jahren hinzugefügt

  • ID ea8aeffe0e48aa1ad1959f9a48dd9195061e1947
  • Vorgänger 23eb3597
  • Nachfolger 703033e4

Design 4.0 - VK-Rechnungssuche mit colgroup statt style

Breiten wie im EK übernommen

Unterschiede anzeigen:

templates/design40_webpages/ar/search.html
1 1
[% USE T8 %]
2 2
[% USE L %]
3 3
[% USE P %]
4
[% SET style="width: 250px" %]
5 4
<h1>[% title %]</h1>
6 5

  
7 6
<form method=post name="search" id="form" action=[% script %]>
......
12 11

  
13 12
  <div class="col">
14 13
    <table class="tbl-horizontal">
14
      <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
15 15
      <caption>[% 'Customer' | $T8 %]</caption>
16 16
      <tbody>
17 17
        <tr>
18 18
          <th>[% 'Customer' | $T8 %]</th>
19
          <td>[% L.input_tag("customer", customer, style=style, class="initial_focus") %]</td>
19
          <td>[% L.input_tag("customer", customer, class="initial_focus") %]</td>
20 20
        </tr>
21 21
        <tr>
22 22
          <th>[% 'Contact Person' | $T8 %]</th>
23
          <td>[% L.input_tag("cp_name", '', style=style) %]</td>
23
          <td>[% L.input_tag("cp_name", '') %]</td>
24 24
        </tr>
25 25
        <tr>
26 26
          <th>[% 'Department' | $T8 %]</th>
27
          <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]</td>
27
          <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1) %]</td>
28 28
        </tr>
29 29
        <tr>
30 30
          <th class="caption" colspan="2">[% 'Employee' | $T8 %]</th>
31 31
        </tr>
32 32
        <tr>
33 33
          <th>[% 'Employee' | $T8 %]</th>
34
          <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style=style) %]</td>
34
          <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
35 35
        </tr>
36 36
        <tr>
37 37
          <th>[% 'Salesman' | $T8 %]</th>
38
          <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style=style) %]</td>
38
          <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1) %]</td>
39 39
        </tr>
40 40
        <tr>
41 41
          <th class="caption" colspan="2">[% 'Miscellaneous' | $T8 %]</th>
42 42
        </tr>
43 43
        <tr>
44 44
          <th>[% 'Transaction description' | $T8 %]</th>
45
          <td>[% L.input_tag("transaction_description", "", style=style) %]</td>
45
          <td>[% L.input_tag("transaction_description", "") %]</td>
46 46
        </tr>
47 47
        <tr>
48 48
          <th>[% 'Notes' | $T8 %]</th>
49
          <td>[% L.input_tag("notes", "", style=style) %]</td>
49
          <td>[% L.input_tag("notes", "") %]</td>
50 50
        </tr>
51 51
        <tr>
52 52
          <th>[% 'Part Description' | $T8 %]</th>
53
          <td>[% L.input_tag("parts_description", "", style=style) %]</td>
53
          <td>[% L.input_tag("parts_description", "") %]</td>
54 54
        </tr>
55 55
        <tr>
56 56
          <th>[% 'Part Number' | $T8 %]</th>
57
          <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
57
          <td>[% L.input_tag("parts_partnumber", "") %]</td>
58 58
        </tr>
59 59
      </tbody>
60 60
    </table>
......
66 66
      <tbody>
67 67
        <tr>
68 68
          <th>[% 'Invoice Number' | $T8 %]</th>
69
          <td>[% L.input_tag("invnumber", "", style=style) %]</td>
69
          <td>[% L.input_tag("invnumber", "") %]</td>
70 70
        </tr>
71 71
        <tr>
72 72
          <th>[% 'Order Number' | $T8 %]</th>
73
          <td>[% L.input_tag("ordnumber", "", style=style) %]</td>
73
          <td>[% L.input_tag("ordnumber", "") %]</td>
74 74
        </tr>
75 75
        <tr>
76 76
          <th>[% 'Customer Order Number' | $T8 %]</th>
77
          <td>[% L.input_tag("cusordnumber", "", style=style) %]</td>
77
          <td>[% L.input_tag("cusordnumber", "") %]</td>
78 78
        </tr>
79 79
        <tr>
80 80
          <th>[% 'Project Number' | $T8 %]</th>
81
          <td>[% P.project.picker("project_id", project_id, active="both", valid="both", style=style) %]</td>
81
          <td>[% P.project.picker("project_id", project_id, active="both", valid="both") %]</td>
82 82
        </tr>
83 83
        [% IF ALL_BUSINESS_TYPES.as_list.size > 0 %]
84 84
          <tr>
85 85
            <th>[% 'Customer type' | $T8 %]</th>
86
            <td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, with_empty=1, title_key="description", style=style) %]</td>
86
            <td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, with_empty=1, title_key="description") %]</td>
87 87
          </tr>
88 88
        [% END %]
89 89
        <tr>
......
114 114
        </tr>
115 115
        <tr>
116 116
         <th>[% 'Steuersatz' | $T8 %]</th>
117
         <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style=style) %]</td>
117
         <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description') %]</td>
118 118
        </tr>
119 119
        [% IF CT_CUSTOM_VARIABLES.size %]
120 120
          <tr>

Auch abrufbar als: Unified diff