feat: updates

This commit is contained in:
JP
2024-08-15 20:11:21 +08:00
parent 52431a2c61
commit 3af7207ec3
61 changed files with 1674 additions and 480 deletions

View File

@@ -24,13 +24,13 @@ class Client extends Model
return $this->lname.', '.$this->fname.' '.$this->mname;
}
public function getVatableAttribute()
public function getVatableAttribute(): bool
{
return $this->type->type == 'Vatable' ? true : false;
}
/**
* Get all of the branches for the Client
* Get all the branches for the Client
*/
public function branches(): HasMany
{