Optimise Service model

This commit is contained in:
2024-07-07 15:02:02 +10:00
parent b4f3db04fc
commit 0d9dbafcf1
10 changed files with 153 additions and 242 deletions

View File

@@ -11,8 +11,8 @@ class Cost extends Model
{
use HasFactory;
protected $dates = [
'billed_at',
protected $casts = [
'billed_at' => 'datetime:Y-m-d',
];
protected $with = [