slider adminka
This commit is contained in:
parent
e9322b8b51
commit
681af9b5f7
|
|
@ -36,7 +36,7 @@ class Sliders extends ShopController
|
|||
|
||||
return $query->where(function ($q){
|
||||
$q->whereNull('expired_at')
|
||||
->orWhereDate('expired_at','<=',Carbon::today());
|
||||
->orWhereDate('expired_at','>=',Carbon::today());
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue