Update backoffice
This commit is contained in:
parent
15b685e16a
commit
e3c17d1a3f
|
@ -869,4 +869,5 @@ $lang['RENEWAL'] = "Insurance renewal";
|
|||
$lang['expired_insurance'] = "Insurance expired";
|
||||
$lang['family_coverage_sharing'] = "Family coverage pooling";
|
||||
$lang['max_insurance_coverage_amount'] = "Insurance coverage limit amount";
|
||||
$lang['service_providers_per_town'] = "Prestataires par ville";
|
||||
?>
|
||||
|
|
|
@ -880,4 +880,5 @@ $lang['RENEWAL'] = "Renouvellement de l'assurance";
|
|||
$lang['expired_insurance'] = "Assurances arrivées à échéance";
|
||||
$lang['family_coverage_sharing'] = "Mutualisation de la couverture familiale";
|
||||
$lang['max_insurance_coverage_amount'] = "Montant limite de couverture d'assurance";
|
||||
$lang['service_providers_per_town'] = "Prestataires par ville";
|
||||
?>
|
||||
|
|
|
@ -131,7 +131,7 @@ if($users_geolocated_query!=false){
|
|||
<div class="inner">
|
||||
<h3><?php echo $count_geo;?></h3>
|
||||
|
||||
<p><?php echo $this->lang->line('Utilisateurs géolocalisés'); ?></p>
|
||||
<p><?php echo $this->lang->line($hasWallet->first_row()->type == 'ilink_sante' ? 'service_providers' : 'Utilisateurs géolocalisés'); ?></p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-location"></i>
|
||||
|
@ -154,62 +154,64 @@ if($users_geolocated_query!=false){
|
|||
<a href="<?php echo base_url('Hyperviseur_dash/getAllSupervisor') ?>" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-4 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-green">
|
||||
<div class="inner">
|
||||
<h3><?php echo $count_d_users;?></h3>
|
||||
<?php if($hasWallet->first_row()->type != 'ilink_sante') { ?>
|
||||
<div class="col-lg-2 col-md-4 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-green">
|
||||
<div class="inner">
|
||||
<h3><?php echo $count_d_users;?></h3>
|
||||
|
||||
<p><?php echo $this->lang->line('Demandes de crédits'); ?></p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-cash"></i>
|
||||
</div>
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default2" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-4 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-green">
|
||||
<div class="inner">
|
||||
<h3><?php echo $count_d_traite;?></h3>
|
||||
|
||||
<p><?php echo $this->lang->line("accepted_demands"); ?></p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-checkmark-circled"></i>
|
||||
</div>
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default2" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-4 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-orange">
|
||||
<div class="inner">
|
||||
<h3><?php echo $count_d_no_traite;?></h3>
|
||||
|
||||
<p><?php echo $this->lang->line("Demandes non traitées"); ?></p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-alert-circled"></i>
|
||||
</div>
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default2" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-4 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-red">
|
||||
<div class="inner">
|
||||
<h3><?php echo $count_d_no_canceled;?></h3>
|
||||
|
||||
<p><?php echo $this->lang->line("canceled_demands"); ?></p>
|
||||
<p><?php echo $this->lang->line('Demandes de crédits'); ?></p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-cash"></i>
|
||||
</div>
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default2" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-close-circled"></i>
|
||||
</div>
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default2" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-4 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-green">
|
||||
<div class="inner">
|
||||
<h3><?php echo $count_d_traite;?></h3>
|
||||
|
||||
<p><?php echo $this->lang->line("accepted_demands"); ?></p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-checkmark-circled"></i>
|
||||
</div>
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default2" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-4 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-orange">
|
||||
<div class="inner">
|
||||
<h3><?php echo $count_d_no_traite;?></h3>
|
||||
|
||||
<p><?php echo $this->lang->line("Demandes non traitées"); ?></p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-alert-circled"></i>
|
||||
</div>
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default2" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-2 col-md-4 col-xs-6">
|
||||
<!-- small box -->
|
||||
<div class="small-box bg-red">
|
||||
<div class="inner">
|
||||
<h3><?php echo $count_d_no_canceled;?></h3>
|
||||
|
||||
<p><?php echo $this->lang->line("canceled_demands"); ?></p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="ion ion-close-circled"></i>
|
||||
</div>
|
||||
<a href="#" data-toggle="modal" data-target="#modal-default2" class="small-box-footer"><?php echo $this->lang->line("Plus d'informations"); ?> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<div class="row">
|
||||
|
@ -230,24 +232,26 @@ if($users_geolocated_query!=false){
|
|||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-6">
|
||||
<!-- DONUT CHART -->
|
||||
<div class="box box-danger">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><?php echo $this->lang->line("Demandes de crédits par superviseur"); ?></h3>
|
||||
<?php if($hasWallet->first_row()->type != 'ilink_sante') { ?>
|
||||
<div class="col-xs-6">
|
||||
<!-- DONUT CHART -->
|
||||
<div class="box box-danger">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><?php echo $this->lang->line("Demandes de crédits par superviseur"); ?></h3>
|
||||
</div>
|
||||
<div class="box-body" id="chart2">
|
||||
<canvas id="pieChart2" style="height:250px"></canvas>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
<div class="box-body" id="chart2">
|
||||
<canvas id="pieChart2" style="height:250px"></canvas>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="col-xs-6">
|
||||
<!-- DONUT CHART -->
|
||||
<div class="box box-danger">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title"><?php echo $this->lang->line("Utilisateurs géolocalisés par ville"); ?></h3>
|
||||
<h3 class="box-title"><?php echo $this->lang->line( $hasWallet->first_row()->type == 'ilink_sante' ? 'service_providers_per_town' : "Utilisateurs géolocalisés par ville"); ?></h3>
|
||||
</div>
|
||||
<div class="box-body" id="chart">
|
||||
<canvas id="pieChart" style="height:250px"></canvas>
|
||||
|
@ -337,14 +341,16 @@ if($users_geolocated_query!=false){
|
|||
Pie = JSON.parse(Pie);
|
||||
}
|
||||
|
||||
var Pie2 = '<?php echo json_encode($pieChart2) ?>';
|
||||
if(Pie2==='[]') {
|
||||
var select = document.getElementById('chart2');
|
||||
$(select.children).hide();
|
||||
$(select).append("<p>Aucune demande de crédit</p>");
|
||||
}else{
|
||||
Pie2 = JSON.parse(Pie2);
|
||||
}
|
||||
<?php if($hasWallet->first_row()->type != 'ilink_sante') { ?>
|
||||
var Pie2 = '<?php echo json_encode($pieChart2) ?>';
|
||||
if(Pie2==='[]') {
|
||||
var select = document.getElementById('chart2');
|
||||
$(select.children).hide();
|
||||
$(select).append("<p>Aucune demande de crédit</p>");
|
||||
}else{
|
||||
Pie2 = JSON.parse(Pie2);
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue