Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ed14204d

Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt

  • ID ed14204df3eb35e33247c5f5b0fec0298a141ef2
  • Vorgänger fa7b6442
  • Nachfolger 55036afc

Suche nach und Anzeige von Abteilungen bei Lieferscheinsuche

Implementiert #1952.

Unterschiede anzeigen:

templates/webpages/do/search.html
62 62
      <select name="department" class="fixed_width">
63 63
       <option></option>
64 64
       [%- FOREACH row = ALL_DEPARTMENTS %]
65
       <option[% IF department == row.value %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
65
       <option[% IF department == row.id %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
66 66
       [%- END %]
67 67
      </select>
68 68
     </td>
......
182 182
        [% END %]
183 183
       </tr>
184 184

  
185
       <tr>
186
        <td>
187
         <input name="l_department" id="l_department" class="checkbox" type="checkbox" value="Y">
188
         <label for="l_department">[% "Department" | $T8 %]</label>
189
        </td>
190

  
191
        <td>
192
         <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
193
         <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
194
        </td>
195
       </tr>
196

  
185 197
       <tr>
186 198
        <td>
187 199
         <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
......
192 204
         <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
193 205
         <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
194 206
        </td>
195

  
196
        <td>
197
         <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
198
         <label for="l_shipvia">[% 'Ship via' | $T8 %]</label>
199
        </td>
200 207
       </tr>
201 208

  
202 209
       <tr>
......
230 237

  
231 238
</body>
232 239
</html>
233

  

Auch abrufbar als: Unified diff