fix route name for xpo generator controller

This commit is contained in:
omair saleh
2022-01-12 15:53:14 +08:00
parent 9b20734a04
commit 2e3d002dc6
@@ -51,7 +51,7 @@ class AutoPurchaseOrderFillLogic extends AbstractControllerLogic
->whereDoesntHave('transactions', function($q){
$q->where('type', TransactionType::PURCHASE_ORDER);
$q->whereIn('status', [ApprovalStatus::PENDING_VERIFICATION, ApprovalStatus::APPROVED]);
})->limit(100)->get();
})->limit(10)->get();
foreach ($booking as $key => $row) {
$amount = $row->fix_amount;
@@ -105,7 +105,7 @@ class AutoPurchaseOrderFillLogic extends AbstractControllerLogic
'products' => $products
]);
$create_transaction = $this->createPurchaseOrderTransactionLogic->logic($request, $row->id);
$this->createPurchaseOrderTransactionLogic->logic($request, $row->id);
}
return $this->response([]);