update xpo to sep

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