Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bb89cd36

Von Moritz Bunkus vor fast 8 Jahren hinzugefügt

  • ID bb89cd364bde4dc194eefa7010880ecb046ce53a
  • Vorgänger 9e02b1f2
  • Nachfolger baf226d0

Angebots/Auftragssuche: Style-Attribut zentral via Variable setzen

Unterschiede anzeigen:

templates/webpages/oe/search.html
22 22
    </tr>
23 23
    <tr>
24 24
     <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
25
     <td colspan="3">[% L.input_tag("cp_name", '', style="width: 250px") %]</td>
25
     <td colspan="3">[% L.input_tag("cp_name", '', style=style) %]</td>
26 26
    </tr>
27 27
[%- IF ALL_DEPARTMENTS.size %]
28 28
    <tr>
29 29
     <th align="right" nowrap>[% 'Department' | $T8 %]</th>
30
     <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style="width: 250px") %]</td>
30
     <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style=style) %]</td>
31 31
    </tr>
32 32
[%- END %]
33 33
    <tr>
34 34
     <th align="right">[% HTML.escape(ordlabel) %]</th>
35
     <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style="width: 250px"></td>
35
     <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style=style></td>
36 36
    </tr>
37 37
[% IF is_order %]
38 38
    <tr>
39 39
     <th align="right">[% LxERP.t8("Customer Order Number") %]</th>
40
     <td colspan="3">[% L.input_tag("cusordnumber", '', style="width: 250px") %]</td>
40
     <td colspan="3">[% L.input_tag("cusordnumber", '', style=style) %]</td>
41 41
    </tr>
42 42
[% END %]
43 43
    <tr>
44 44
     <th align="right">[% 'Employee' | $T8 %]</th>
45
     <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]</td>
45
     <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style=style) %]</td>
46 46
    </tr>
47 47
    <tr>
48 48
     <th align="right">[% 'Salesman' | $T8 %]</th>
49
     <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style='width:250px') %]</td>
49
     <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, style=style) %]</td>
50 50
    </tr>
51 51
    <tr>
52 52
     <th align="right">[% 'Steuersatz' | $T8 %]</th>
53
     <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style='width: 250px') %]</td>
53
     <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style=style) %]</td>
54 54
    </tr>
55 55
    <tr>
56 56
     <th align="right">[% 'Shipping Point' | $T8 %]</th>
57
     <td colspan="3">[% L.input_tag('shippingpoint', '', style='width:250px') %]</td>
57
     <td colspan="3">[% L.input_tag('shippingpoint', '', style=style) %]</td>
58 58
    </tr>
59 59
    <tr>
60 60
     <th align="right">[% 'Transaction description' | $T8 %]</th>
61
     <td><input name="transaction_description" style="width: 250px"></td>
61
     <td><input name="transaction_description" style=style></td>
62 62

  
63 63
     <th align="right">[% 'Part Description' | $T8 %]</th>
64
     <td><input name="parts_description" style="width: 250px"></td>
64
     <td><input name="parts_description" style=style></td>
65 65
    </tr>
66 66
    <tr>
67 67
     <th align="right">[% 'Project' | $T8 %]</th>
68 68
     <td>[% P.project_picker("project_id", '', style=style) %]</td>
69 69

  
70 70
     <th align="right">[% 'Part Number' | $T8 %]</th>
71
     <td><input name="parts_partnumber" style="width: 250px"></td>
71
     <td><input name="parts_partnumber" style=style></td>
72 72
    </tr>
73 73
    [%- UNLESS ALL_BUSINESS_TYPES.size == 0 %]
74 74
    <tr>
75 75
     <th align="right" nowrap>[% vctypelabel %]</th>
76 76
     <td colspan="3">
77
      [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style='width:250px') %]
77
      [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, style=style) %]
78 78
     </td>
79 79
    </tr>
80 80
    [%- END %]

Auch abrufbar als: Unified diff