update xpo

This commit is contained in:
omair saleh
2022-03-11 10:56:27 +08:00
parent cfbed3917e
commit 0a05a0f980
@@ -64,7 +64,7 @@ class AutoPurchaseOrderFillLogic extends AbstractControllerLogic
*/
public function logic(Request $request) : JsonResponse
{
$bookings = Booking::whereMonth('created_at', 9)
$bookings = Booking::whereMonth('created_at', 10)
->whereYear('created_at', 2021)
->whereDoesntHave('transactions', function($q){
$q->where('type', TransactionType::PURCHASE_ORDER);