Two month of work
This commit is contained in:
@@ -20,6 +20,12 @@ class LineItem extends Model
|
||||
'price',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'is_section' => 'boolean',
|
||||
'quantity' => 'integer',
|
||||
'price' => 'decimal:2',
|
||||
];
|
||||
|
||||
public function invoice()
|
||||
{
|
||||
return $this->belongsTo(Invoice::class);
|
||||
|
||||
Reference in New Issue
Block a user