Multi-db fixes

This commit is contained in:
Hillel Coren 2017-05-11 10:52:13 +03:00
parent 6a02c6e80e
commit 2e76d9772a
2 changed files with 12 additions and 1 deletions

View File

@ -49,4 +49,10 @@ class LookupAccount extends LookupModel
static::setDbServer($current);
}
public function getDbServer()
{
return $this->lookupCompany->dbServer->name;
}
}

View File

@ -22,4 +22,9 @@ class LookupCompany extends LookupModel
return $this->belongsTo('App\Models\DbServer');
}
public function getDbServer()
{
return $this->dbServer->name;
}
}