feat: Implement order and invoice management, enhance addon features, and remove the 'Type' module.

This commit is contained in:
pbao9
2026-02-11 17:02:07 +07:00
parent 58a9aa685b
commit 556b2c02e6
47 changed files with 1367 additions and 497 deletions
+3 -6
View File
@@ -12,16 +12,13 @@ class Addon extends Model
protected $table = 'product_addon';
protected $fillable = [
'code',
'name',
'price',
'min',
'max',
'prefix',
'step',
'type_id'
'prefix',
'status'
];
public function type()
{
return $this->belongsTo(\App\Models\Type::class);
}
}