mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 04:27:14 +01:00
adress search filter search in delivery adress
This commit is contained in:
parent
1321cb9ece
commit
575c15c333
@ -5276,6 +5276,25 @@ url:strUrl, success:function(html){strReturn = html;}, async:false
|
|||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(isset($parameter['lieferadresse']) && !empty($parameter['lieferadresse'])) {
|
||||||
|
$paramsArray[] = "
|
||||||
|
(
|
||||||
|
a.id IN
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
adresse
|
||||||
|
FROM
|
||||||
|
lieferadressen lfadr
|
||||||
|
WHERE
|
||||||
|
lfadr.name LIKE '%" . $parameter['lieferadresse'] . "%' OR
|
||||||
|
lfadr.strasse LIKE '%" . $parameter['lieferadresse'] . "%' OR
|
||||||
|
lfadr.plz LIKE '%" . $parameter['lieferadresse'] . "%' OR
|
||||||
|
lfadr.ort LIKE '%" . $parameter['lieferadresse'] . "%'
|
||||||
|
)
|
||||||
|
)
|
||||||
|
";
|
||||||
|
}
|
||||||
|
|
||||||
if(isset($parameter['abteilung']) && !empty($parameter['abteilung'])) {
|
if(isset($parameter['abteilung']) && !empty($parameter['abteilung'])) {
|
||||||
$paramsArray[] = "a.abteilung LIKE '%".$parameter['abteilung']."%' ";
|
$paramsArray[] = "a.abteilung LIKE '%".$parameter['abteilung']."%' ";
|
||||||
}
|
}
|
||||||
|
@ -62,10 +62,14 @@
|
|||||||
<td>{|E-Mail|}:</td>
|
<td>{|E-Mail|}:</td>
|
||||||
<td><input type="text" name="email" value=""></td>
|
<td><input type="text" name="email" value=""></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{|Kunde hat Abo|}</td><td><input type="checkbox" name="abo" value="1" /> {|Marketingsperre|}: <input type="checkbox" name="marketingsperre" value="1" /> {|Lead|}: <input type="checkbox" name="lead" value="1" />
|
<td>{|Lieferadresse|}:</td>
|
||||||
</td>
|
<td><input type="text" name="lieferadresse" value=""></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>{|Kunde hat Abo|}</td><td><input type="checkbox" name="abo" value="1" /> {|Marketingsperre|}: <input type="checkbox" name="marketingsperre" value="1" /> {|Lead|}: <input type="checkbox" name="lead" value="1" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -150,13 +154,15 @@
|
|||||||
[ROLLEN]
|
[ROLLEN]
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td>Gruppen:</td>
|
</tr>
|
||||||
<td>
|
<tr>
|
||||||
|
<td>Gruppen:</td>
|
||||||
|
<td>
|
||||||
<select name="gruppe">
|
<select name="gruppe">
|
||||||
<option value="">{|Alle|}</option>
|
<option value="">{|Alle|}</option>
|
||||||
[GRUPPEN]
|
[GRUPPEN]
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user