First invoice implementation.

This commit is contained in:
2025-01-04 14:25:13 +01:00
parent 96c7fc272a
commit 3b51ab109d
15 changed files with 942 additions and 2 deletions

View File

@@ -7,5 +7,20 @@ use Illuminate\Database\Eloquent\SoftDeletes;
class Invoiceitem extends Model
{
use SoftDeletes;
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'invoice_id',
'amount',
'discount',
'tax',
'price',
'total',
'name',
'description',
];
}