+ Update UBA wallet
This commit is contained in:
parent
0df17bafc2
commit
421c7ec3f8
|
@ -136,6 +136,7 @@ echo base_url('bower_components/jvectormap/jquery-jvectormap.css') ?>">
|
|||
}
|
||||
|
||||
$fmt = new NumberFormatter( 'fr_FR', NumberFormatter::DECIMAL );
|
||||
$context = new \Brick\Money\Context\AutoContext();
|
||||
?>
|
||||
|
||||
<div class="content-wrapper">
|
||||
|
@ -376,6 +377,14 @@ echo base_url('bower_components/jvectormap/jquery-jvectormap.css') ?>">
|
|||
<div class="box">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title"><?php echo $this->lang->line('Commissions Superviseurs') ?></h3>
|
||||
<div class="box-tools">
|
||||
<a class="btn btn-primary" href="<?php echo current_url().($network_id ? '?history=commission_transfer' : '')?>">
|
||||
<?php echo $this->lang->line('commission_transfer_historic'); ?>
|
||||
</a>
|
||||
<a class="btn btn-success" href="<?php echo current_url().($network_id ? '?history=balance_statement' : '')?>">
|
||||
<?php echo $this->lang->line('balance_statement'); ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body" style="overflow-x:auto;">
|
||||
<table id="example1" class="table table-bordered table-hover">
|
||||
|
@ -411,8 +420,8 @@ echo base_url('bower_components/jvectormap/jquery-jvectormap.css') ?>">
|
|||
}
|
||||
echo "<tr>
|
||||
<td>".$row->lastname."</td>
|
||||
<td>".$fmt->format($princ)."</td>
|
||||
<td>".$fmt->format($com)."</td>";
|
||||
<td>".Money::of(round($princ,2), $this->session->userdata('currency_code'),$context)->formatTo('fr_FR')."</td>
|
||||
<td>".Money::of(round($com,2), $this->session->userdata('currency_code'),$context)->formatTo('fr_FR')."</td>";
|
||||
$nb_depots = 0;
|
||||
$nb_retraits = 0;
|
||||
$commission_banque = 0;
|
||||
|
@ -428,7 +437,7 @@ echo base_url('bower_components/jvectormap/jquery-jvectormap.css') ?>">
|
|||
$commission_banque+= $retrait->commission_banque;
|
||||
}
|
||||
}
|
||||
echo "<td>".$fmt->format($commission_banque)."</td>
|
||||
echo "<td>".Money::of(round($commission_banque,2), $this->session->userdata('currency_code'),$context)->formatTo('fr_FR')."</td>
|
||||
<td>".$nb_depots."</td>
|
||||
<td>".$nb_retraits."</td>
|
||||
</tr>";
|
||||
|
|
Loading…
Reference in New Issue