Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7f109935

Von Sven Schöling vor fast 13 Jahren hinzugefügt

  • ID 7f109935fea293ad71b68263a2f13bd1730e9b73
  • Vorgänger 7e6ad220
  • Nachfolger a86de2f3

gelöschte Benutzer in do/search ausblenden

Unterschiede anzeigen:

templates/webpages/do/search.html
1 1
[%- USE T8 %]
2
[%- USE L %]
2 3
[% USE HTML %][% USE LxERP %]<body onload="on_load();">
3 4

  
4 5
 [%- IF vc == 'customer' %]
......
72 73

  
73 74
    <tr>
74 75
     <th align="right">[% 'Employee' | $T8 %]</th>
75
     <td>
76
      <select name="employee_id" class="fixed_width">
77
       <option></option>
78
       [%- FOREACH row = ALL_EMPLOYEES %]
79
       <option value="[% HTML.escape(row.id) %]">[% IF row.name %][% HTML.escape(row.name) %][% ELSE %][% HTML.escape(row.login) %][% END %]</option>
80
       [%- END %]
81
      </select>
82
     </td>
76
     <td>[% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), class='fixed_width') %]</td>
83 77
    </tr>
84 78

  
85 79
    [%- IF is_customer %]
86 80
    <tr>
87 81
     <th align="right">[% 'Salesman' | $T8 %]</th>
88
     <td>
89
      <select name="salesman_id" class="fixed_width">
90
       <option></option>
91
       [%- FOREACH row = ALL_SALESMEN %]
92
       <option value="[% HTML.escape(row.id) %]">[% IF row.name %][% HTML.escape(row.name) %][% ELSE %][% HTML.escape(row.login) %][% END %]</option>
93
       [%- END %]
94
      </select>
95
     </td>
82
     <td>[% L.select_tag('salesman_id', L.options_for_select(ALL_EMPLOYEES, title='safe_name', with_empty=1), class='fixed_width') %]</td>
96 83
    </tr>
97 84
    [%- END %]
98 85

  

Auch abrufbar als: Unified diff