Improve insurance insured details

This commit is contained in:
Djery-Tom 2021-11-10 11:49:25 +01:00
parent c16f23c4a7
commit 6b25bb12b6
3 changed files with 14 additions and 2 deletions

View File

@ -759,4 +759,8 @@ $lang['insured_detail'] = "Insured detail";
$lang['remaining_amount'] = "Remaining amount";
$lang['insurance_infos'] = "Insurance information";
$lang['payment_transaction_history'] = "Payment transaction history";
$lang['reason'] = "Reason";
$lang['ADDITION_OF_BENEFICIARY'] = "Addition of beneficiary";
$lang['DELETION_OF_BENEFICIARY'] = "Deletion of beneficiary";
$lang['ACTIVATION'] = "Activation";
?>

View File

@ -770,4 +770,8 @@ $lang['insured_detail'] = "Detail sur l'assuré";
$lang['remaining_amount'] = "Montant restant";
$lang['insurance_infos'] = "Informations sur l'assurance";
$lang['payment_transaction_history'] = "Historique des transactions de paiements";
$lang['reason'] = "Motif";
$lang['ADDITION_OF_BENEFICIARY'] = "Ajout d'ayant droit";
$lang['DELETION_OF_BENEFICIARY'] = "Suppression d'ayant droit";
$lang['ACTIVATION'] = "Activation";
?>

View File

@ -170,7 +170,7 @@
</div>
</div>
<?php if($insurance->state == 'REMAINS') {?>
<?php if($insurance->state == 'ADDITION_OF_BENEFICIARY') {?>
<div class="col-lg-4 col-xs-6">
<div class="small-box bg-blue-active">
<div class="inner">
@ -321,7 +321,9 @@
<thead>
<tr>
<th>#</th>
<th><?= $this->lang->line('souscription_id'); ?></th>
<th><?= $this->lang->line('Montant'); ?></th>
<th><?= $this->lang->line('reason'); ?></th>
<th>Date</th>
</tr>
</thead>
@ -333,7 +335,9 @@
echo "<tr>
<td>" . ($i+1) . "</td>
<td>" . $row->insurance_subscription_id . "</td>
<td>" . $amount . "</td>
<td>" . $this->lang->line($row->reason). "</td>
<td>" . $row->created_at. "</td>";
?>
</tr>
@ -442,7 +446,7 @@
{
order: [[1, 'asc']],
"columnDefs": [{
"targets": [2],
"targets": [4],
// "orderable": false,
render: $.fn.dataTable.render.moment('YYYY-MM-DD HH:mm:ss', 'D MMMM YYYY HH:mm:ss', format)
}],