From 5c9c9dd65cae782e5f38290281fe86b06f7624de Mon Sep 17 00:00:00 2001 From: Djery-Tom Date: Thu, 28 Oct 2021 13:53:12 +0100 Subject: [PATCH] Fix beneficiaries list bug --- application/controllers/Superviseur_dash.php | 2 +- .../views/nano_health/hyper/infos_insurance_subscription.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Superviseur_dash.php b/application/controllers/Superviseur_dash.php index 92933e78..9dc65c3e 100755 --- a/application/controllers/Superviseur_dash.php +++ b/application/controllers/Superviseur_dash.php @@ -238,7 +238,7 @@ class Superviseur_dash extends CI_Controller if ($wallet) { if ($data['hasWallet']->first_row()->type == 'visa') { $transactions = $this->user_model->getAgentTransactions($wallet->first_row()->wallet_id); - } elseif ($data['hasWallet']->first_row()->type == 'ilink') { + } else if ($data['hasWallet']->first_row()->type == 'ilink') { $transactions = $this->user_model->getAgentiLinkTransactions($wallet->first_row()->wallet_id); } if ($transactions) { diff --git a/application/views/nano_health/hyper/infos_insurance_subscription.php b/application/views/nano_health/hyper/infos_insurance_subscription.php index 185c3035..0cbf2918 100755 --- a/application/views/nano_health/hyper/infos_insurance_subscription.php +++ b/application/views/nano_health/hyper/infos_insurance_subscription.php @@ -220,7 +220,7 @@ $bonus_amount = Money::of(round($row->bonus_amount, 2), $subscription->currency_code, $this->context)->formatTo('fr_FR'); echo " - " . $i+1 . " + " . ($i+1) . " " . $row->lastname.' '.$row->firstname . " " . $row->gender . " " . $row->birthdate . "