+ Update management of transmitting networks

This commit is contained in:
Djery-Tom 2020-10-30 12:20:54 +01:00
parent 70e78cd509
commit 3f2d7ca7c4
7 changed files with 281 additions and 75 deletions

View File

@ -1039,6 +1039,9 @@ class Hyperviseur_dash extends CI_Controller
$network->url = null; $network->url = null;
} }
$network->is_transmitting_network = $res2 ? true : false; $network->is_transmitting_network = $res2 ? true : false;
$network->rate_transmitting = $res2 ? $res2->first_row()->taux_partage : null;
$network->url_transmitting = $res2 ? $res2->first_row()->url : null;
$data['networks'][] = $network; $data['networks'][] = $network;
} }
} }
@ -1161,6 +1164,7 @@ class Hyperviseur_dash extends CI_Controller
$res = $this->wallet_model->getWalletPassword($this->session->userdata('network_id')); $res = $this->wallet_model->getWalletPassword($this->session->userdata('network_id'));
$data['walletPassword'] = $res ? $res->first_row() : null; $data['walletPassword'] = $res ? $res->first_row() : null;
$data['networks'] = $this->wallet_model->getPayingNetworksByConfigWallet($data['idConfig']); $data['networks'] = $this->wallet_model->getPayingNetworksByConfigWallet($data['idConfig']);
$data['transmitting_networks'] = $this->wallet_model->getTransmittingNetworksByConfigWallet($data['idConfig']);
$this->load->view('header_hyp', $data); $this->load->view('header_hyp', $data);
$this->load->view('gestion_wallet_ilink_paying_network_account'); $this->load->view('gestion_wallet_ilink_paying_network_account');
@ -1612,12 +1616,25 @@ class Hyperviseur_dash extends CI_Controller
{ {
if ($this->isLogged()) { if ($this->isLogged()) {
if (isset($_POST)) { if (isset($_POST)) {
$data = array(
'id_configWallet' => $this->input->post('config_id'),
'id_network' => $this->input->post('network_id')
);
$query = $this->db->insert('transmitting_networks', $data); if($this->input->post('is_enabled')){
$data = array(
'url' => $this->input->post('url'),
'taux_partage' => $this->input->post('rate')
);
$this->db->where('id_configWallet', $this->input->post('config_id'));
$this->db->where('id_network', $this->input->post('network_id'));
$query = $this->db->update('transmitting_networks', $data);
}else{
$data = array(
'id_configWallet' => $this->input->post('config_id'),
'id_network' => $this->input->post('network_id'),
'url' => $this->input->post('url'),
'taux_partage' => $this->input->post('rate')
);
$query = $this->db->insert('transmitting_networks', $data);
}
if ($query) { if ($query) {
echo json_encode("200"); echo json_encode("200");

View File

@ -534,4 +534,7 @@ $lang['transmitting_networks'] = "Transmitting networks";
$lang['transmitter_network_activated'] = "Transmitter network activated"; $lang['transmitter_network_activated'] = "Transmitter network activated";
$lang['transmitter_network_deactivated'] = "Transmitter network deactivated"; $lang['transmitter_network_deactivated'] = "Transmitter network deactivated";
$lang['paying_networks'] = 'Paying networks'; $lang['paying_networks'] = 'Paying networks';
$lang['configure_transmitter_network'] = 'Configure the sending network';
$lang['paying_and_transmitting_networks_accounts'] = "Accounts of paying and issuing networks";
$lang['transmitting_networks_accounts'] = 'Accounts of transmitting networks';
?> ?>

View File

@ -403,7 +403,7 @@ $lang['ilink_third_rule'] = 'La somme des répartitions de commission sur opéra
$lang['ilink_fourth_rule'] = 'La somme des répartitions de commission sur opération de retrait dans la carte doit etre égale à 100 %'; $lang['ilink_fourth_rule'] = 'La somme des répartitions de commission sur opération de retrait dans la carte doit etre égale à 100 %';
$lang['ilink_fifth_rule'] = 'La somme des répartitions de commission sur opération de retrait dans la carte pour utilisateur iLink doit etre égale à 100 %'; $lang['ilink_fifth_rule'] = 'La somme des répartitions de commission sur opération de retrait dans la carte pour utilisateur iLink doit etre égale à 100 %';
$lang['ilink_sixth_rule'] = 'La somme des répartitions de commission sur opération d\'envoi de wallet vers la carte pour utilisateur iLink doit etre égale à 100 %'; $lang['ilink_sixth_rule'] = 'La somme des répartitions de commission sur opération d\'envoi de wallet vers la carte pour utilisateur iLink doit etre égale à 100 %';
$lang['edit_paying_and_transmitting_networks'] = 'Configuration des réseaux payeurs et emetteurs'; $lang['edit_paying_and_transmitting_networks'] = 'Configuration des réseaux payeurs et émetteurs';
$lang['configure'] = 'Configurer'; $lang['configure'] = 'Configurer';
$lang['configure_share_rate'] = 'Configurer le taux de partage'; $lang['configure_share_rate'] = 'Configurer le taux de partage';
$lang['share_rate'] = 'Taux de partage'; $lang['share_rate'] = 'Taux de partage';
@ -543,8 +543,11 @@ $lang['bank_deactivation'] = "Désactivation de la banque";
$lang['modify_bank'] = "Modifier la banque"; $lang['modify_bank'] = "Modifier la banque";
$lang['assign_bank_to_country'] = "Assigner une banque à un pays"; $lang['assign_bank_to_country'] = "Assigner une banque à un pays";
$lang['transmitting_networks'] = "Réseaux émetteurs"; $lang['transmitting_networks'] = "Réseaux émetteurs";
$lang['transmitter_network_activated'] = "Réseau emetteur activé"; $lang['transmitter_network_activated'] = "Réseau émetteur activé";
$lang['transmitter_network_deactivated'] = "Réseau emetteur desactivé"; $lang['transmitter_network_deactivated'] = "Réseau émetteur desactivé";
$lang['paying_networks'] = 'Réseaux payeurs'; $lang['paying_networks'] = 'Réseaux payeurs';
$lang['configure_transmitter_network'] = 'Configurer le réseau émetteur';
$lang['paying_and_transmitting_networks_accounts'] = "Comptes des reseaux payeurs et émetteurs";
$lang['transmitting_networks_accounts'] = 'Comptes des reseaux émetteurs';
?> ?>

View File

@ -917,10 +917,13 @@ LEFT JOIn networks_banks nb ON nb.id_bank_country = bc.id AND nb.id_network = n.
networks n ON n.country_id = c.id WHERE n.status = 1 AND c.id = ? networks n ON n.country_id = c.id WHERE n.status = 1 AND c.id = ?
) AND id_configWallet = ? ;"; ) AND id_configWallet = ? ;";
$query = $this->db->query($sql , array($id_country, $idConfig)); $query = $this->db->query($sql , array($id_country, $idConfig));
if($query->num_rows()>0){ return $query->num_rows() > 0 ? $query : false ;
return $query; }
}else{
return false; public function getTransmittingNetworksByConfigWallet($id_config)
} {
$query = $this->db->query("SELECT n.name , n.id , cw.type , c.name as country ,c.currency_code, pw.taux_partage as rate , pw.balance_com , pw.balance_compensation, pw.id_configWallet as config_id FROM networks n INNER JOIN countries_currencies c ON n.country_id=c.id
INNER JOIN configWallet cw ON cw.id_network = n.id INNER JOIN transmitting_networks pw ON pw.id_network = n.id WHERE pw.id_configWallet = $id_config ");
return $query->num_rows() > 0 ? $query : false ;
} }
} }

View File

@ -96,31 +96,35 @@
<td><?= $row->url ?></td> <td><?= $row->url ?></td>
<td> <td>
<button type="button" data-network-id="<?php echo $row->id ?>" <button type="button" data-network-id="<?php echo $row->id ?>"
data-config-id="<?= $idConfig ?>" data-num ="<?=$num?>" data-config-id="<?= $idConfig ?>" data-num="<?= $num ?>"
data-toggle="modal" data-target="<?='#configureRate'.$num?>" data-toggle="modal" data-target="<?= '#configureRate' . $num ?>"
class="btn btn-primary btn-block openModal"> class="btn btn-primary btn-block openModal">
<b><?php echo $this->lang->line('configure_paying_network'); ?></b> <b><?php echo $this->lang->line('configure_paying_network'); ?></b>
</button> </button>
</td> </td>
<div class="modal fade" id="<?='configureRate'.$num?>" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal fade" id="<?= 'configureRate' . $num ?>" tabindex="-1"
role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<h3 class="modal-title"><?php echo $this->lang->line('configure_share_rate'); ?></h3> <h3 class="modal-title"><?php echo $this->lang->line('configure_paying_network'); ?></h3>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<form id="<?='rateForm'.$num?>"> <form id="<?= 'rateForm' . $num ?>">
<div class="form-group"> <div class="form-group">
<label for="rate" <label for="rate"
class="col-form-label"><?php echo $this->lang->line('share_rate') . ' (%)'; ?></label> class="col-form-label"><?php echo $this->lang->line('share_rate') . ' (%)'; ?></label>
<input type="number" min="0" step=".01" max="100" required class="form-control" <input type="number" min="0" step=".01" max="100"
name="rate" id="<?='rate'.$num?>" value="<?=$row->rate?>"> required class="form-control"
name="rate" id="<?= 'rate' . $num ?>"
value="<?= $row->rate ?>">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="url" <label for="url"
class="col-form-label">URL</label> class="col-form-label">URL</label>
<input type="text" required class="form-control" value="<?=$row->url?>" <input type="text" required class="form-control"
id="<?='url'.$num?>" name="url"> value="<?= $row->url ?>"
id="<?= 'url' . $num ?>" name="url">
</div> </div>
</form> </form>
</div> </div>
@ -164,7 +168,7 @@
<?php <?php
$sql2 = $networks; $sql2 = $networks;
if ($sql2 != false) { if ($sql2 != false) {
$sql2 = array_filter($sql2,function ($val){ $sql2 = array_filter($sql2, function ($val) {
return $val->type == 'autre'; return $val->type == 'autre';
}); });
$numrows = sizeof($sql2); $numrows = sizeof($sql2);
@ -178,7 +182,9 @@
<th><?= $this->lang->line('Nom'); ?></th> <th><?= $this->lang->line('Nom'); ?></th>
<th align='center'>Wallet</th> <th align='center'>Wallet</th>
<th align='center'><?php echo $this->lang->line('Statut'); ?></th> <th align='center'><?php echo $this->lang->line('Statut'); ?></th>
<th align='center'> Action</th> <th align='center'> <?php echo $this->lang->line('share_rate') ?></th>
<th align='center'> URL</th>
<th align="center"> Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -193,21 +199,103 @@
<td><span class='label label-success'>" . strtoupper($row->type) . "</span></td>"; <td><span class='label label-success'>" . strtoupper($row->type) . "</span></td>";
?> ?>
<?php <?php
if($row->is_transmitting_network){ if ($row->is_transmitting_network) {
?> ?>
<td><span class="label label-success"><?= $this->lang->line('Actif'); ?></span></td> <td>
<td><button type="button" data-network-id="<?php echo $row->id ?>" <span class="label label-success"><?= $this->lang->line('Actif'); ?></span>
data-config-id="<?= $idConfig ?>" data-num ="<?=$num?>" class="btn btn-danger openModal disableTransmitting"><?= $this->lang->line('Désactiver'); ?></button></td> </td>
<?php <?php
}else{ } else {
?> ?>
<td><span class="label label-danger"><?= $this->lang->line('Inactif'); ?></span></td> <td>
<td><button type="button" data-network-id="<?php echo $row->id ?>" <span class="label label-danger"><?= $this->lang->line('Inactif'); ?></span>
data-config-id="<?= $idConfig ?>" data-num ="<?=$num?>" class="btn btn-primary openModal enableTransmitting" ><?php echo $this->lang->line('Activer'); ?></button></td> </td>
<?php <?php
} }
?> ?>
<?php <?php
if ($row->rate_transmitting != null) {
?>
<td>
<span class="label label-success"
style="font-size: 1.1em;"><?= $row->rate_transmitting . ' %' ?></span>
</td>
<?php
} else {
?>
<td>
<span class="label label-danger"
style="font-size: 1em;"><?php echo $this->lang->line('not_defined'); ?></span>
</td>
<?php
}
?>
<td><?= $row->url_transmitting ?></td>
<?php
if ($row->is_transmitting_network) {
?>
<td>
<button type="button" data-network-id="<?php echo $row->id ?>"
data-config-id="<?= $idConfig ?>" data-num="<?= $num ?>"
data-toggle="modal"
data-target="<?= '#configureTransmittingRate' . $num ?>"
class="btn btn-primary openModal">
<b><?php echo $this->lang->line('configure_transmitter_network'); ?></b>
</button>
<button type="button" data-network-id="<?php echo $row->id ?>"
data-config-id="<?= $idConfig ?>" data-num="<?= $num ?>"
class="btn btn-danger openModal disableTransmitting"><?= $this->lang->line('Désactiver'); ?></button>
</td>
<?php
} else {
?>
<td>
<button type="button" data-network-id="<?php echo $row->id ?>"
data-toggle="modal"
data-target="<?= '#configureTransmittingRate' . $num ?>"
data-config-id="<?= $idConfig ?>" data-num="<?= $num ?>"
class="btn btn-primary openModal"><?php echo $this->lang->line('Activer'); ?></button>
</td>
<?php
}
?>
<div class="modal fade" id="<?= 'configureTransmittingRate' . $num ?>"
tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title"><?php echo $this->lang->line('configure_transmitter_network'); ?></h3>
</div>
<div class="modal-body">
<form id="<?= 'rateTransmittingForm' . $num ?>">
<div class="form-group">
<label for="rate"
class="col-form-label"><?php echo $this->lang->line('share_rate') . ' (%)'; ?></label>
<input type="number" min="0" step=".01" max="100"
required class="form-control"
name="rate" id="<?= 'rateTransmitting' . $num ?>"
value="<?= $row->rate_transmitting ?>">
</div>
<div class="form-group">
<label for="url"
class="col-form-label">URL</label>
<input type="text" required class="form-control"
value="<?= $row->url_transmitting ?>"
id="<?= 'urlTransmitting' . $num ?>" name="url">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary"
data-dismiss="modal"><?php echo $this->lang->line('Fermer'); ?></button>
<button type="button" data-is-transmitting-network="<?=$row->is_transmitting_network?>"
class="btn btn-primary enableTransmitting">
<?php echo $this->lang->line('Valider'); ?></button>
</div>
</div>
</div>
</div>
<?php
} }
?> ?>
</tbody> </tbody>
@ -269,9 +357,9 @@
}) })
$(document).on("click", ".enableRate", function () { $(document).on("click", ".enableRate", function () {
if ($('#rateForm'+num)[0].checkValidity()) { if ($('#rateForm' + num)[0].checkValidity()) {
const rate = parseFloat($('#rate'+num).val()); const rate = parseFloat($('#rate' + num).val());
const url = $('#url'+num).val(); const url = $('#url' + num).val();
$.ajax({ $.ajax({
url: '<?php echo base_url('index.php/Hyperviseur_dash/config_sharing_rate')?>', url: '<?php echo base_url('index.php/Hyperviseur_dash/config_sharing_rate')?>',
type: 'POST', type: 'POST',
@ -298,63 +386,70 @@
} }
}); });
} else { } else {
$('#rateForm'+num)[0].reportValidity(); $('#rateForm' + num)[0].reportValidity();
} }
}); });
$(document).on("click", ".enableTransmitting", function () { $(document).on("click", ".enableTransmitting", function () {
$.ajax({ if ($('#rateTransmittingForm' + num)[0].checkValidity()) {
url : '<?php echo base_url('index.php/Hyperviseur_dash/active_transmitting_network')?>', const rate = parseFloat($('#rateTransmitting' + num).val());
type : 'POST', const url = $('#urlTransmitting' + num).val();
dataType : 'json', const is_enabled = $(this).data('is-transmitting-network');
data: {"network_id": network_id, "config_id": config_id}, $.ajax({
success : function(data){ url: '<?php echo base_url('index.php/Hyperviseur_dash/active_transmitting_network')?>',
if(data=='200'){ type: 'POST',
Swal.fire({ dataType: 'json',
icon: 'success', data: {"network_id": network_id, "config_id": config_id , "rate": rate, "url": url , 'is_enabled' : is_enabled},
title: "<?php echo $this->lang->line('transmitter_network_activated')?>", success: function (data) {
text: "<?php echo $this->lang->line('informations_updated')?>", if (data == '200') {
timer: 3000 Swal.fire({
}).then(()=>{ icon: 'success',
location.reload(); title: "<?php echo $this->lang->line('transmitter_network_activated')?>",
}); text: "<?php echo $this->lang->line('informations_updated')?>",
// alert("Les informations ont été mises à jour.") ? "" : timer: 3000
}else{ }).then(() => {
toastr.error("<?php echo $this->lang->line('error_message')?>" , "<?php echo $this->lang->line('request_error')?>"); location.reload();
});
// alert("Les informations ont été mises à jour.") ? "" :
} else {
toastr.error("<?php echo $this->lang->line('error_message')?>", "<?php echo $this->lang->line('request_error')?>");
}
},
error: function (resultat, statut, error) {
console.log(resultat + " " + error);
toastr.error("<?php echo $this->lang->line('error_message')?>", "<?php echo $this->lang->line('request_error')?>");
} }
}, });
error : function(resultat, statut, error){ } else {
console.log(resultat+" "+error ); $('#rateTransmittingForm' + num)[0].reportValidity();
toastr.error("<?php echo $this->lang->line('error_message')?>" , "<?php echo $this->lang->line('request_error')?>"); }
}
})
}); });
$(document).on("click", ".disableTransmitting", function () { $(document).on("click", ".disableTransmitting", function () {
$.ajax({ $.ajax({
url : '<?php echo base_url('index.php/Hyperviseur_dash/deactive_transmitting_network')?>', url: '<?php echo base_url('index.php/Hyperviseur_dash/deactive_transmitting_network')?>',
type : 'POST', type: 'POST',
dataType : 'json', dataType: 'json',
data: {"network_id": network_id, "config_id": config_id}, data: {"network_id": network_id, "config_id": config_id},
success : function(data){ success: function (data) {
if(data=='200'){ if (data == '200') {
Swal.fire({ Swal.fire({
icon: 'success', icon: 'success',
title: "<?php echo $this->lang->line('transmitter_network_deactivated')?>", title: "<?php echo $this->lang->line('transmitter_network_deactivated')?>",
text: "<?php echo $this->lang->line('informations_updated')?>", text: "<?php echo $this->lang->line('informations_updated')?>",
timer: 3000 timer: 3000
}).then(()=>{ }).then(() => {
location.reload(); location.reload();
}); });
// alert("Les informations ont été mises à jour.") ? "" : // alert("Les informations ont été mises à jour.") ? "" :
}else{ } else {
toastr.error("<?php echo $this->lang->line('error_message')?>" , "<?php echo $this->lang->line('request_error')?>"); toastr.error("<?php echo $this->lang->line('error_message')?>", "<?php echo $this->lang->line('request_error')?>");
} }
}, },
error : function(resultat, statut, error){ error: function (resultat, statut, error) {
console.log(resultat+" "+error ); console.log(resultat + " " + error);
toastr.error("<?php echo $this->lang->line('error_message')?>" , "<?php echo $this->lang->line('request_error')?>"); toastr.error("<?php echo $this->lang->line('error_message')?>", "<?php echo $this->lang->line('request_error')?>");
} }
}) })
}); });

View File

@ -403,7 +403,7 @@ $context = new \Brick\Money\Context\AutoContext();
<h3 class="box-title"><?php echo $this->lang->line('Historique des 12 derniers mois'); ?></h3> <h3 class="box-title"><?php echo $this->lang->line('Historique des 12 derniers mois'); ?></h3>
<div class="box-tools"> <div class="box-tools">
<a class="btn btn-success" href="<?php echo current_url().($network_id ? '?show=paying_networks' : '')?>"> <a class="btn btn-success" href="<?php echo current_url().($network_id ? '?show=paying_networks' : '')?>">
<?php echo $this->lang->line('paying_networks_accounts'); ?> <?php echo $this->lang->line('paying_and_transmitting_networks_accounts'); ?>
</a> </a>
<a class="btn btn-primary" href="<?php echo current_url().($network_id ? '?history=transaction_ilink' : '')?>"> <a class="btn btn-primary" href="<?php echo current_url().($network_id ? '?history=transaction_ilink' : '')?>">
<?php echo $this->lang->line('transactions_historic'); ?> <?php echo $this->lang->line('transactions_historic'); ?>

View File

@ -8,12 +8,12 @@
<section class="content-header"> <section class="content-header">
<h1> <h1>
<?php echo $this->lang->line('paying_networks_accounts')?> <?php echo $this->lang->line('paying_and_transmitting_networks_accounts')?>
</h1> </h1>
<?php <?php
use Brick\Money\Context\CustomContext;
use Brick\Money\Money; use Brick\Money\Money;
$context = new \Brick\Money\Context\AutoContext(); $context = new \Brick\Money\Context\AutoContext();
$site_url = base_url(); $site_url = base_url();
@ -47,7 +47,7 @@
<div class="col-xs-12"> <div class="col-xs-12">
<div class="box"> <div class="box">
<div class="box-header"> <div class="box-header">
<h3 class="box-title"><?php echo $this->lang->line('paying_networks'); ?></h3> <h3 class="box-title"><?php echo $this->lang->line('paying_networks_accounts'); ?></h3>
<div class="box-tools"> <div class="box-tools">
<a class="btn btn-success" href="<?php echo current_url() . '?history=refund_history' ?>"> <a class="btn btn-success" href="<?php echo current_url() . '?history=refund_history' ?>">
<?php echo $this->lang->line('refund_history'); ?> <?php echo $this->lang->line('refund_history'); ?>
@ -138,7 +138,92 @@
</div> </div>
</div> </div>
</div> </div>
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title"><?php echo $this->lang->line('transmitting_networks_accounts'); ?></h3>
<div class="box-tools">
<a class="btn btn-success" href="<?php echo current_url() . '?history=refund_history' ?>">
<?php echo $this->lang->line('refund_history'); ?>
</a>
</div>
</div>
<div class="box-body" style="overflow-x:auto;">
<?php
$sql2 = $transmitting_networks;
if ($sql2 != false) {
$numrows = $networks->num_rows();
$num = 0;
if ($numrows > 0) {
$fmt = new NumberFormatter('fr_FR', NumberFormatter::DECIMAL);
?>
<table id="validated" class="table table-bordered table-striped">
<thead>
<tr>
<th align='center'></th>
<th><?php echo $this->lang->line('Nom'); ?></th>
<th><?php echo $this->lang->line('Pays'); ?></th>
<th align='center'>Wallet</th>
<th align='center'> <?php echo $this->lang->line('share_rate') ?></th>
<th><?= $this->lang->line('Solde Commission') ?></th>
<th><?= $this->lang->line('compensation_balance') ?></th>
</tr>
</thead>
<tbody>
<?php
foreach ($sql2->result() as $row) {
$num++;
//$member_code = randomString1(10);
echo "<tr>
<td align='center'>$num</td>
<td>$row->name</td>
<td>$row->country</td>
<td><span class='label label-success'>".strtoupper($row->type)."</span></td>";
?>
<?php
if ($row->rate != null ) {
?>
<td>
<span class="label label-success" style="font-size: 1.1em;"><?= $row->rate . ' %'?></span>
</td>
<?php
} else {
?>
<td>
<span class="label label-danger"
style="font-size: 1em;"><?php echo $this->lang->line('not_defined'); ?></span>
</td>
<?php
}
?>
<td>
<?= Money::of(round($row->balance_com, 2), $row->currency_code ? $row->currency_code : 'XAF', $context)->formatTo('fr_FR') ?>
</td>
<td>
<?= Money::of(round($row->balance_compensation, 2), $row->currency_code ? $row->currency_code : 'XAF', $context)->formatTo('fr_FR') ?>
</td>
<?php
}
?>
</tbody>
</table>
<?php
} else {
echo $this->lang->line('Aucun réseau');
}
} else {
echo $this->lang->line('Aucun réseau');
}
?>
</div>
</div>
</div>
</div>
<div class="modal fade" id="refundModal" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal fade" id="refundModal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">