From 973dd08fda66fd2d33f7f860d5bd0fac6ade70d7 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Tue, 27 Sep 2022 11:44:16 +0800 Subject: [PATCH] fix 1688 xpo --- routes/web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index 938e4839..b3904b29 100644 --- a/routes/web.php +++ b/routes/web.php @@ -382,9 +382,9 @@ Route::get('/payments/manual', function(){ Route::get('/1688/fix', function(){ $bookings = Booking::where('service_id', 4)->where('status', 2)->whereHas('transactions', function($query){ return $query->where('type', TransactionType::PURCHASE_ORDER)->where('bill_no', 'like', 'XPO-%'); - })->get(); + }); - dd($bookings->pluck('created_at')); + $bookings->dd(); // $purchaseOrderDocuments = \App\Models\Document::where('document_type', DocumentType::ECOMMERCE_PURCHASE_ORDER)->get(); // // foreach($purchaseOrderDocuments as $document){