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)); + // } }