OAID / Rimo Workorder update:
- OAIDs are now auto assigned to preorders/wohneinheiten on save - OAIDs can be exported to rimo via Preorder Admin functions - Preorder admin function createWorkorder automatically creates, exports and assigns OAIDs
This commit is contained in:
@@ -9,7 +9,7 @@ class BuildingModel {
|
||||
public $lineworker_id = null;
|
||||
public $networksection_id = null;
|
||||
public $code = null;
|
||||
public $oan_id = null;
|
||||
public $oaid = null;
|
||||
public $street = null;
|
||||
public $zip = null;
|
||||
public $city = null;
|
||||
@@ -215,10 +215,10 @@ class BuildingModel {
|
||||
}
|
||||
}
|
||||
|
||||
if(array_key_exists("oan_id", $filter)) {
|
||||
$oan_id = FronkDB::singleton()->escape($filter['oan_id']);
|
||||
if($oan_id) {
|
||||
$where .= " AND Building.`oan_id` like '%$oan_id%'";
|
||||
if(array_key_exists("oaid", $filter)) {
|
||||
$oaid = FronkDB::singleton()->escape($filter['oaid']);
|
||||
if($oaid) {
|
||||
$where .= " AND Building.`oaid` like '%$oaid%'";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user