[WIP] ASO Payment

This commit is contained in:
R
2023-01-05 18:28:45 +07:00
parent 0fdad5a6c2
commit 804ac883fa
41 changed files with 882 additions and 177 deletions

View File

@@ -16,9 +16,23 @@ class CorporateServiceConfig extends Model
'name',
'value'
];
protected $hidden = [
'created_at',
'updated_at',
'deleted_at',
'created_by',
'updated_by',
'deleted_by',
];
public function corporateService()
{
return $this->belongsTo(CorporateService::class, 'corporate_service_id');
}
public function exclusions()
{
return $this->morphMany(Exclusion::class, 'exclusionable');
}
}