projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"Vertreter" sind Kunden mit Kundentyp mit Vertreter-Flag, nicht die Kundentypen selber
[kivitendo-erp.git]
/
templates
/
webpages
/
oe
/
search_en.html
diff --git
a/templates/webpages/oe/search_en.html
b/templates/webpages/oe/search_en.html
index
5d3d103
..
fe150bd
100644
(file)
--- a/
templates/webpages/oe/search_en.html
+++ b/
templates/webpages/oe/search_en.html
@@
-1,5
+1,6
@@
[%- USE HTML %]
[%- SET vclabel = vc == 'customer' ? 'Customer' : 'Vendor' %]
[%- USE HTML %]
[%- SET vclabel = vc == 'customer' ? 'Customer' : 'Vendor' %]
+[%- SET vcnumberlabel = vc == 'customer' ? 'Customer Number' : 'Vendor Number' %]
<body>
<form method="post" action="oe.pl">
<body>
<form method="post" action="oe.pl">
@@
-25,6
+26,10
@@
show_empty = 1,
allow_textbox = 1,
-%]
show_empty = 1,
allow_textbox = 1,
-%]
+[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
+ { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } },
+]
+%]
</td>
</tr>
[%- IF ALL_DEPARTMENTS.size %]
</td>
</tr>
[%- IF ALL_DEPARTMENTS.size %]
@@
-227,9
+232,13
@@
</td>
</tr>
<tr>
</td>
</tr>
<tr>
- <td colspan=4 align=left><b>
Customer
</td>
+ <td colspan=4 align=left><b>
[% HTML.escape(vclabel) %]
</td>
</tr>
<tr>
</tr>
<tr>
+ <td>
+ <input name="l_vcnumber" id="l_vcnumber" class="checkbox" type="checkbox" value="Y">
+ <label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
+ </td>
<td>
<input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
<label for="l_country">Country</label>
<td>
<input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
<label for="l_country">Country</label>