From 8afafb52cd9dceba176975aec8b47e21fcb4faa3 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 5 Jun 2026 09:15:26 +0530 Subject: [PATCH] Added three column sin serial validation model file --- app/Models/SerialValidation.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app/Models/SerialValidation.php b/app/Models/SerialValidation.php index a78a639..eff5e2e 100644 --- a/app/Models/SerialValidation.php +++ b/app/Models/SerialValidation.php @@ -10,7 +10,7 @@ use Illuminate\Database\Eloquent\SoftDeletes; class SerialValidation extends Model { - use Prunable; + // use Prunable; use SoftDeletes; protected $fillable = [ @@ -30,6 +30,9 @@ class SerialValidation extends Model 'batch_number', 'quantity', 'operator_id', + 'created_by', + 'updated_by', + 'panel_box_code', ]; public function plant(): BelongsTo @@ -47,8 +50,8 @@ class SerialValidation extends Model return $this->belongsTo(StickerMaster::class, 'sticker_master_id'); } - public function prunable(): Builder - { - return static::where('created_at', '<=', now()->subMonthsNoOverflow(6)); - } + // public function prunable(): Builder + // { + // return static::where('created_at', '<=', now()->subMonthsNoOverflow(6)); + // } }