Fix bug while fetch admin campaign menu

This commit is contained in:
Djery-Tom 2023-03-16 10:52:22 +01:00
parent 322160a631
commit d909e2f291
4 changed files with 18 additions and 12 deletions

View File

@ -1050,5 +1050,7 @@ $lang['opening_account_request_accepted'] = "Customer account opening request ac
$lang['opening_account_request_rejected'] = "The request to open an account has been rejected";
$lang['opening_account_request_more_information'] = "The request to open an account has been rejected";
$lang['payment_period_days'] = "Payment period (in days)";
$lang['required_payment_period_days'] = "Payment period is required"
$lang['required_payment_period_days'] = "Payment period is required";
$lang['ACCEPTED_UNPAID'] = "Accepted unpaid";
$lang['ACCEPTED_PAID'] = "Accepted paid"
?>

View File

@ -1058,5 +1058,7 @@ $lang['opening_account_request_accepted'] = "La demande d'ouverture de compte cl
$lang['opening_account_request_rejected'] = "La demande d'ouverture de compte client été rejetée";
$lang['opening_account_request_more_information'] = "La demande d'ouverture de compte client en attente de complement d'informations";
$lang['payment_period_days'] = "Délai de paiement (en jours)";
$lang['required_payment_period_days'] = "Délai de paiement est obligatoire"
$lang['required_payment_period_days'] = "Délai de paiement est obligatoire";
$lang['ACCEPTED_UNPAID'] = "Accepté Non payé";
$lang['ACCEPTED_PAID'] = "Acceptée payé"
?>

View File

@ -1270,9 +1270,9 @@ class User_model extends CI_Model
$query = $this->db->query("SELECT COUNT(*) AS c FROM `codeGenerer`
INNER JOIN `networks_agents` ON codeGenerer.id=networks_agents.codeGenerer_id
WHERE codeGenerer.date_creation>= '".$debut."' AND codeGenerer.date_creation<='".$fin."'
AND networks_agents.phone NOT LIKE '+241+241%' AND networks_agents.phone NOT LIKE '+2410000%' AND codeGenerer.code_parrain=
AND networks_agents.phone NOT LIKE '+241+241%' AND networks_agents.phone NOT LIKE '+2410000%' AND codeGenerer.code_parrain IN
(SELECT code_membre FROM codeGenerer WHERE category='super' AND
id=(SELECT codeGenerer_id FROM networks_agents WHERE network_id='".$id_network."' AND
id IN (SELECT codeGenerer_id FROM networks_agents WHERE network_id='".$id_network."' AND
agent_id IN (SELECT id FROM agents WHERE lastname='".$lastname."')
)
)

View File

@ -211,14 +211,16 @@
<span>Wallet<?php //echo $this->lang->line('Game'); ?></span>
</a>
</li>
<li class="<?php if ($active == "wallet_validating_account_opening_agents") {
echo "active";
} ?>">
<a href="<?= base_url('Hyperviseur_dash/validating_agents/account_opening_agents') ?>">
<i class="fa fa-users"></i>
<span><?= $this->lang->line('account_opening_agents'); ?></span>
</a>
</li>
<?php if ($hasWallet->first_row()->type == 'ilink') { ?>
<li class="<?php if ($active == "wallet_validating_account_opening_agents") {
echo "active";
} ?>">
<a href="<?= base_url('Hyperviseur_dash/validating_agents/account_opening_agents') ?>">
<i class="fa fa-users"></i>
<span><?= $this->lang->line('account_opening_agents'); ?></span>
</a>
</li>
<?php } ?>
<?php if ($hasWallet->first_row()->type == 'ilink_sante') { ?>
<li class="<?php if ($active == "wallet_drugs_and_devices") {
echo "active";