mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-28 17:03:59 +00:00
fix route name for xpo generator controller
This commit is contained in:
@@ -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([]);
|
||||
|
||||
Reference in New Issue
Block a user