update xpo for nov to feb

This commit is contained in:
omair saleh
2022-04-05 16:17:18 +08:00
parent be7d5bb95f
commit 51bde6eed7
@@ -70,7 +70,7 @@ class AutoPurchaseOrderFillLogic extends AbstractControllerLogic
$q->where('type', TransactionType::PURCHASE_ORDER);
$q->whereIn('status', [ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::APPROVED]);
})->get();
dd($bookings);
foreach ($bookings as $booking) {
$po = Transaction::where('type', TransactionType::PURCHASE_ORDER)
->where('status', ApprovalStatus::APPROVED)->where('issuer', $booking->company_id)