|
@@ -26,11 +26,13 @@ $id = http::value("id", "int");
|
|
|
$ids = http::value("ids", "int");
|
|
$ids = http::value("ids", "int");
|
|
|
$internal_id = http::value("internal_id", "trim");
|
|
$internal_id = http::value("internal_id", "trim");
|
|
|
$name = http::value("name", "trim");
|
|
$name = http::value("name", "trim");
|
|
|
|
|
+$legal_entity_name = http::value("legal_entity_name", "trim");
|
|
|
|
|
|
|
|
if($id) $nvp["id"] = $id;
|
|
if($id) $nvp["id"] = $id;
|
|
|
if($ids) $nvp["id"] = $ids;
|
|
if($ids) $nvp["id"] = $ids;
|
|
|
if($internal_id) $nvp["internal_id"] = Constraint::contains($internal_id);
|
|
if($internal_id) $nvp["internal_id"] = Constraint::contains($internal_id);
|
|
|
if($name) $nvp["name"] = Constraint::contains($name);
|
|
if($name) $nvp["name"] = Constraint::contains($name);
|
|
|
|
|
+if($legal_entity_name) $nvp["legal_entity_name"] = Constraint::contains($legal_entity_name);
|
|
|
|
|
|
|
|
$sort = http::value("sort");
|
|
$sort = http::value("sort");
|
|
|
switch($sort) {
|
|
switch($sort) {
|
|
@@ -126,5 +128,3 @@ $filter_count = count($nvp) - 1;
|
|
|
View::includeOnce("header", compact("page_title"));
|
|
View::includeOnce("header", compact("page_title"));
|
|
|
View::include("locations", compact("customer", "filter_count", "sorts", "sort", "locations"));
|
|
View::include("locations", compact("customer", "filter_count", "sorts", "sort", "locations"));
|
|
|
View::includeOnce("footer");
|
|
View::includeOnce("footer");
|
|
|
-
|
|
|
|
|
-?>
|
|
|