Company update issue solved. ( #2zftb0k )

This commit is contained in:
Cüneyt Şentürk 2022-06-07 09:45:04 +03:00
parent 593ef5b98f
commit 31eaafdbc1

View File

@ -70,7 +70,8 @@ class Company extends Eloquent implements Ownable
{
parent::boot();
try { // TODO will optimize..
try {
// TODO will optimize..
static::retrieved(function($model) {
$model->setCommonSettingsAsAttributes();
});
@ -336,6 +337,7 @@ class Company extends Eloquent implements Ownable
}
$this->offsetUnset('logo');
$this->offsetUnset('currency');
} catch(\Throwable $e) {
}