First invoice implementation.
This commit is contained in:
@@ -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',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user