salesentry filters

This commit is contained in:
Sampanna Rimal
2024-09-17 16:34:40 +05:45
parent afb2c202d6
commit 0b438e302d
19 changed files with 303 additions and 50 deletions

View File

@ -15,7 +15,16 @@ class SalesEntry extends Model
USE StatusTrait;
protected $table = 'tbl_salesentries';
protected $guarded = [];
protected $fillable = [
'customer_id',
'sales_date',
'payment',
'paymentmode_id',
'paymentref',
'total_amt',
'created_at',
'updated_at'
];
protected $appends = ['status_name'];