finished basic AddressDB view
This commit is contained in:
@@ -56,7 +56,7 @@ class AddressDBController extends mfBaseController {
|
||||
$my_adb_networks[$network->adb_netzgebiet_id] = new ADBNetzgebiet($network->adb_netzgebiet_id);
|
||||
}
|
||||
}
|
||||
//var_dump($filter, $my_adb_networks);
|
||||
//var_dump($my_networks, $my_adb_networks);
|
||||
if(!$this->me->is("Admin") && array_key_exists("network_id", $filter)) {
|
||||
if(array_key_exists($filter['network_id'], $my_adb_networks)) {
|
||||
$filter['netzgebiet_id'] = $filter['network_id'];
|
||||
@@ -70,7 +70,7 @@ class AddressDBController extends mfBaseController {
|
||||
if(!array_key_exists("netzgebiet_id", $addressdb_filter)) {
|
||||
$addressdb_filter['netzgebiet_id'] = $netzgebiet_ids;
|
||||
}
|
||||
|
||||
//var_dump($my_adb_networks);exit;
|
||||
$this->layout()->set("my_networks", ADBNetzgebietModel::getAll());
|
||||
$this->layout()->set("my_adb_networks", $my_adb_networks);
|
||||
//var_dump($addressdb_filter);exit;
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
<?php
|
||||
|
||||
class NetworkModel {
|
||||
public $name = null;
|
||||
public $owner_id = null;
|
||||
public $sytemowner_action_status = null;
|
||||
public $note = null;
|
||||
public $name;
|
||||
public $owner_id ;
|
||||
public $adb_netzgebiet_id;
|
||||
public $sytemowner_action_status;
|
||||
public $note;
|
||||
|
||||
public $create_by = null;
|
||||
public $edit_by = null;
|
||||
public $create = null;
|
||||
public $edit = null;
|
||||
public $create_by;
|
||||
public $edit_by;
|
||||
public $create;
|
||||
public $edit;
|
||||
|
||||
|
||||
public static function create(Array $data) {
|
||||
|
||||
Reference in New Issue
Block a user