Skip to content

Commit

Permalink
wallet search issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Sep 8, 2024
1 parent cabf990 commit 351998c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Repositories/Eloquent/UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public function list(array $filters = [])
$query->where('mobile', '=', $filters['mobile']);
}

if (!empty($filters['wallet_recipient'])) {
$query->where('mobile', 'like', "%{$filters['wallet_recipient']}%");
}

if (!empty($filters['name'])) {
$query->where('name', '=', $filters['name']);
}
Expand Down

0 comments on commit 351998c

Please sign in to comment.