Merge branch 'GewichtinVerkaufsbericht'
[kivitendo-erp.git] / templates / webpages / amcvar / render_inputs.html
index f4f1c63..dc9c09f 100644 (file)
 [%- ELSIF var.type == 'customer' %]
 [% L.customer_picker(var_name, var.value) %]
 
+[%- ELSIF var.type == 'vendor' %]
+[% L.vendor_selector(var_name, var.value) %]
+
+[%- ELSIF var.type == 'part' %]
+[% L.part_selector(var_name, var.value) %]
+
 [%- ELSIF var.type == 'select' %]
 
 <select name="[% var_name %]">
  [%- FOREACH option = var.OPTIONS %]
- <option[% IF option.value == var.value %] selected[% END %]>[% HTML.escape(option.value) %]</option>
+ <option value="[% option.value | html %]"[% IF option.value == var.value %] selected[% END %]>[% HTML.escape(option.value) %]</option>
  [%- END %]
 </select>