mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
v5.0.0 update
This commit is contained in:
@ -2,27 +2,17 @@
|
||||
|
||||
namespace Crater\Models;
|
||||
|
||||
use Crater\Traits\HasCustomFieldsTrait;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class EstimateItem extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
use HasCustomFieldsTrait;
|
||||
|
||||
protected $fillable = [
|
||||
'estimate_id',
|
||||
'name',
|
||||
'item_id',
|
||||
'description',
|
||||
'quantity',
|
||||
'company_id',
|
||||
'price',
|
||||
'discount_type',
|
||||
'discount_val',
|
||||
'tax',
|
||||
'total',
|
||||
'discount',
|
||||
'unit_name',
|
||||
protected $guarded = [
|
||||
'id'
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
|
||||
Reference in New Issue
Block a user