Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c3a2f815

Von Sven Schöling vor etwa 15 Jahren hinzugefügt

  • ID c3a2f815a6c8f9b878f9f2a8b7d8a9291b76e1ea
  • Vorgänger 8332f181
  • Nachfolger 67b0f6a6

Autoconpletion für Kunden in Lieferscheinen.

Unterschiede anzeigen:

templates/webpages/do/form_header_de.html
108 108
        <td>
109 109
         [%- UNLESS !delivered && SHOW_VC_DROP_DOWN %]
110 110
         <input type="text" value="[% HTML.escape(oldvcname) %]" name="[% HTML.escape(vc) %]"[% RO %]>
111
[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
112
  { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } },
113
]
114
%]
111 115
         [%- ELSE %]
112 116
         <select name="[% vc %]" class="fixed_width" onchange="document.do.update_button.click();"[% RO %]>
113 117
          [%- FOREACH row = ALL_VC %]
templates/webpages/do/form_header_master.html
108 108
        <td>
109 109
         [%- UNLESS !delivered && SHOW_VC_DROP_DOWN %]
110 110
         <input type="text" value="[% HTML.escape(oldvcname) %]" name="[% HTML.escape(vc) %]"[% RO %]>
111
[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
112
  { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } },
113
]
114
%]
111 115
         [%- ELSE %]
112 116
         <select name="[% vc %]" class="fixed_width" onchange="document.do.update_button.click();"[% RO %]>
113 117
          [%- FOREACH row = ALL_VC %]
templates/webpages/do/search_de.html
33 33
     <td colspan="3">
34 34
      [%- UNLESS SHOW_VC_DROP_DOWN %]
35 35
      <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width">
36
[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
37
  { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } },
38
]
39
%]
36 40
      [%- ELSE %]
37 41
      <select name="[% vc %]" class="fixed_width">
38 42
       <option></option>
templates/webpages/do/search_master.html
33 33
     <td colspan="3">
34 34
      [%- UNLESS SHOW_VC_DROP_DOWN %]
35 35
      <input type="text" name="[% HTML.escape(vc) %]" class="fixed_width">
36
[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
37
  { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } },
38
]
39
%]
36 40
      [%- ELSE %]
37 41
      <select name="[% vc %]" class="fixed_width">
38 42
       <option></option>

Auch abrufbar als: Unified diff