mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-24 13:40:29 +01:00
wareneingang manuell multifilter
This commit is contained in:
parent
1baf957891
commit
fdad52f168
@ -96,6 +96,16 @@
|
||||
</tr>
|
||||
[ISLIEFERANTENDE]
|
||||
[ISNOTLIEFERANTSTART]
|
||||
<tr [HINZUFUEGENHIDDEN]>
|
||||
<td>
|
||||
{|Multifilter|}:
|
||||
</td>
|
||||
</tr>
|
||||
<tr [HINZUFUEGENHIDDEN]>
|
||||
<td>
|
||||
<input type="text" name="multifilter" id="multifilter" value="[MULTIFILTER]" size="20" style="width:98%;" form="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr [HINZUFUEGENHIDDEN]>
|
||||
<td>
|
||||
<button name="submit" class="ui-button-icon" style="width:100%;" value="manuell_hinzufuegen">{|Hinzufügen|}</button>
|
||||
@ -170,6 +180,16 @@
|
||||
<button name="submit" class="ui-button-icon" style="width:100%;" value="speichern" hidden="true"></button>
|
||||
<table width="100%" border="0" class="mkTableFormular">
|
||||
<legend>{|Aktionen|}</legend>
|
||||
<tr [HINZUFUEGENHIDDEN]>
|
||||
<td>
|
||||
{|Multifilter|}:
|
||||
</td>
|
||||
</tr>
|
||||
<tr [HINZUFUEGENHIDDEN]>
|
||||
<td>
|
||||
<input type="text" name="multifilter" id="multifilter" value="[MULTIFILTER]" size="20" style="width:98%;" form="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr [HINZUFUEGENHIDDEN]>
|
||||
<td>
|
||||
<button name="submit" class="ui-button-icon" style="width:100%;" value="manuell_hinzufuegen">{|Hinzufügen|}</button>
|
||||
|
@ -306,6 +306,16 @@ class Wareneingang {
|
||||
";
|
||||
|
||||
$where = "geloescht <> 1";
|
||||
|
||||
$multifilter = $this->app->YUI->TableSearchFilter($name, 8,'multifilter');
|
||||
if (!empty($multifilter)) {
|
||||
$multifilter_array = explode(' ',$multifilter);
|
||||
$where .= " AND (1=0";
|
||||
foreach($multifilter_array as $keyword) {
|
||||
$where .= " OR name_de LIKE '%".$keyword."%'";
|
||||
}
|
||||
$where .= ")";
|
||||
}
|
||||
$count = "";
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user