diff --git a/app/Models/Log.php b/app/Models/Log.php index e462cb4..890299c 100644 --- a/app/Models/Log.php +++ b/app/Models/Log.php @@ -94,6 +94,6 @@ class Log extends Model */ public function coupons(): HasMany { - return $this->hasMany(Coupon::class, 'redemptionCode', 'coupon_no')->where('status', 2); + return $this->hasMany(Coupon::class, 'redemptionCode', 'coupon_no'); } }