Add products module #46

This commit is contained in:
2025-11-26 10:05:43 +01:00
parent 155f0d3525
commit 83dd8e9ecb
21 changed files with 607 additions and 50 deletions
+6 -1
View File
@@ -15,8 +15,8 @@ class LineItem extends Model
'is_section',
'title',
'description',
'unit_id',
'quantity',
'unit',
'price',
];
@@ -24,4 +24,9 @@ public function invoice()
{
return $this->belongsTo(Invoice::class);
}
public function unit()
{
return $this->belongsTo(Unit::class);
}
}