mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-21 21:44:01 +00:00
multi payment final - finish top up and trsanction history
This commit is contained in:
+6
-2
@@ -24,7 +24,7 @@ class FetchWalletByCompanyModuleControllerLogic extends AbstractControllerLogic
|
||||
protected function notification():array {
|
||||
return [
|
||||
'title' => 'Retrieved Wallet',
|
||||
'message' => 'You have successfully created a wallet'
|
||||
'message' => 'You have successfully retrieved a wallet'
|
||||
];
|
||||
}
|
||||
|
||||
@@ -78,7 +78,11 @@ class FetchWalletByCompanyModuleControllerLogic extends AbstractControllerLogic
|
||||
return $this->resourceResponse(new WalletResource($wallet));
|
||||
}
|
||||
|
||||
$query = $this->fetchesWallet->execute(['owner_id' => $request->route('company_module_id')]);
|
||||
$filters = $this->fetchesWallet->deserializeFilters($request->input('filters'));
|
||||
|
||||
$filters['owner_id'] = $request->route('company_module_id');
|
||||
|
||||
$query = $this->fetchesWallet->execute($filters);
|
||||
|
||||
return $this->resourceResponse(new WalletResource($query));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user