front end fixes

This commit is contained in:
Mark Gregory
2026-07-27 07:37:11 +01:00
parent 0be7be48e7
commit 108f95dbfa
21 changed files with 687 additions and 423 deletions
+7 -1
View File
@@ -10,6 +10,12 @@ final class Product extends Model
protected function casts(): array
{
return ['is_active' => 'boolean'];
return [
'price' => 'decimal:2',
'features' => 'array',
'is_active' => 'boolean',
'is_featured' => 'boolean',
'sort_order' => 'integer',
];
}
}