Add products module #46

This commit is contained in:
vollstock committed 2025-11-26 10:05:43 +01:00
1 parent 155f0d3525
commit 83dd8e9ecb
21 files changed
+607 -50

No files matched your search

+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);
}
}