From c209536c0a501d68de4da4caedf3ac313c750eda Mon Sep 17 00:00:00 2001 From: omair saleh Date: Fri, 24 Sep 2021 12:37:12 +0800 Subject: [PATCH] dubug completed bookings with unapproved po's --- routes/web.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routes/web.php b/routes/web.php index 81cd247c..1c0a69bd 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,7 +1,9 @@ whereHas('transactions', function (Builder $query){ $query->where('type', '=', \App\Classes\ValueObjects\Constants\TransactionType::PURCHASE_ORDER)->where('status', '!=', \App\Classes\ValueObjects\Constants\ApprovalStatus::APPROVED); })->get());