FIX_CLIENT_DATA_FETCHING

This commit is contained in:
VENKATESHWARAN 2026-02-19 10:42:04 +05:30
parent a44a692667
commit 28bb7728dc

View File

@ -2190,14 +2190,14 @@ class EmployeeRestController extends AdminController
if (!empty($pre_client_id)) {
$client = $this->clientModel->where('md5(id)', $pre_client_id)->first();
$client = $this->clientModel->where('id', $pre_client_id)->first();
if ($client) {
$client['client_logo'] = base_url() . 'public/uploads/logo/' . $client['client_logo'];
$clientPolicy = $this->clientPolicyModel
->where('md5(client_id)', $pre_client_id)
->where('client_id', $pre_client_id)
->where('client_branch_id', $pre_branch_id)
->findAll();