update xpo

This commit is contained in:
omair saleh
2022-03-11 10:50:26 +08:00
parent ca6c81c27b
commit 8253b4672d
@@ -70,6 +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)