[WIP] Store Limit

This commit is contained in:
R
2022-12-05 04:30:00 +07:00
parent 2d5c7b571e
commit f5372e5d0a
19 changed files with 525 additions and 76 deletions

View File

@@ -106,4 +106,9 @@ class Corporate extends Model
{
return $this->hasMany(Corporate::class, 'parent_id');
}
public function getLimitBalanceAttribute()
{
return $this->currentPolicy->limit_balance;
}
}