This commit is contained in:
邓皓元 2019-11-19 17:41:20 +08:00
parent 21be6e8530
commit 96d82f942e

View File

@ -207,7 +207,7 @@ trait OrderCardConcern
break;
case 4:
$this->model = $this->model->whereHas('card', function ($relation) {
$this->model = $this->model->whereHas('card', function ($relation) use ($date) {
$relation->where('cancelled_at', ">=", $date);
});
break;