mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Multi-db fixes
This commit is contained in:
parent
6a02c6e80e
commit
2e76d9772a
@ -49,4 +49,10 @@ class LookupAccount extends LookupModel
|
||||
|
||||
static::setDbServer($current);
|
||||
}
|
||||
|
||||
public function getDbServer()
|
||||
{
|
||||
return $this->lookupCompany->dbServer->name;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -22,4 +22,9 @@ class LookupCompany extends LookupModel
|
||||
return $this->belongsTo('App\Models\DbServer');
|
||||
}
|
||||
|
||||
public function getDbServer()
|
||||
{
|
||||
return $this->dbServer->name;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user