Archived
Add products module #46
This commit is contained in:
1 parent
155f0d3525
commit
83dd8e9ecb
21 files changed
+607
-50
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user