Update identifications documents preview

This commit is contained in:
Djery-Tom 2022-05-17 18:25:23 +01:00
parent 2090ba607c
commit fb76484dea
4 changed files with 14 additions and 14 deletions

View File

@ -900,7 +900,7 @@ $lang['controller_doctor'] = "Controller doctor";
$lang['add_controller_doctor'] = "Add a controller doctor";
$lang['controller_doctor_updated'] = "Controller doctor updated";
$lang['controller_doctor_deleted'] = "Controller doctor deleted";
$lang['controller_doctor_deleted'] = "Controller doctor deleted";
$lang['controller_doctor_created'] = "Controller doctor created";
$lang['accepted_invoices'] = "Accepted invoices";
$lang['rejected_invoices'] = "Rejected invoices";
$lang['rejected_invoices'] = "Rejected invoices";

View File

@ -910,7 +910,7 @@ $lang['controller_doctor'] = "Médécin controleur";
$lang['add_controller_doctor'] = "Ajouter un médécin controleur";
$lang['controller_doctor_updated'] = "Médécin controleur modifié";
$lang['controller_doctor_deleted'] = "Médécin controleur supprimé";
$lang['controller_doctor_deleted'] = "Médécin controleur supprimé";
$lang['controller_doctor_created'] = "Médécin controleur créé";
$lang['accepted_invoices'] = "Factures acceptées";
$lang['rejected_invoices'] = "Factures rejetées";
$lang['accepted_modified_invoices'] = "Factures acceptées modifiées";

View File

@ -421,13 +421,13 @@
</div>
<?php if ($row->status) {
$user_image = WALLET_SERVICE_URL . '/photos/'.$row->user_image;
$user_image = $row->user_image;
$user_image_file = @fopen($user_image ,'r');
$document_front = WALLET_SERVICE_URL . '/documents/'.$row->document_image_front;
$document_front = $row->document_image_front;
$document_front_file = @fopen($document_front ,'r');
$document_back = WALLET_SERVICE_URL . '/documents/'.$row->document_image_back;
$document_back = $row->document_image_back;
$document_back_file = @fopen($document_back ,'r');
?>
<label class="text-center text-muted" style="padding: 10px"> Identification </label>
@ -640,13 +640,13 @@
value="<?= $row->phone ?>">
</div>
<?php if ($row->status) {
$user_image = WALLET_SERVICE_URL . '/photos/'.$row->user_image;
$user_image = $row->user_image;
$user_image_file = @fopen($user_image ,'r');
$document_front = WALLET_SERVICE_URL . '/documents/'.$row->document_image_front;
$document_front = $row->document_image_front;
$document_front_file = @fopen($document_front ,'r');
$document_back = WALLET_SERVICE_URL . '/documents/'.$row->document_image_back;
$document_back = $row->document_image_back;
$document_back_file = @fopen($document_back ,'r');
?>
<label class="text-center text-muted" style="padding: 10px"> Identification </label>

View File

@ -6,14 +6,14 @@
</div>
<div class="modal-body">
<?php
$profile_image = NANO_SANTE_SERVICE_URL . '/insurances-subscriptions-docs/'.$row->profile_image;
$profile_image = $row->profile_image;
$profile_image_file = @fopen($profile_image,'r');
if($row->affiliation == 'CHILD') {
$birthdate_proof_doc = NANO_SANTE_SERVICE_URL . '/insurances-subscriptions-docs/'.$row->birthdate_proof_doc;
$birthdate_proof_doc = $row->birthdate_proof_doc;
$birthdate_proof_doc_file = @fopen($birthdate_proof_doc ,'r');
$justice_doc = NANO_SANTE_SERVICE_URL . '/insurances-subscriptions-docs/'.$row->justice_doc;
$justice_doc = $row->justice_doc;
$justice_doc_file = @fopen($justice_doc ,'r');
?>
@ -42,13 +42,13 @@
</div>
<?php } else {
$marriage_certificate_doc = NANO_SANTE_SERVICE_URL . '/insurances-subscriptions-docs/'.$row->marriage_certificate_doc;
$marriage_certificate_doc = $row->marriage_certificate_doc;
$marriage_certificate_doc_file = @fopen($marriage_certificate_doc,'r');
$id_document_front = NANO_SANTE_SERVICE_URL . '/insurances-subscriptions-docs/'.$row->id_document_front;
$id_document_front = $row->id_document_front;
$id_document_front_file = @fopen($id_document_front ,'r');
$id_document_back = NANO_SANTE_SERVICE_URL . '/insurances-subscriptions-docs/'.$row->id_document_back;
$id_document_back = $row->id_document_back;
$id_document_back_file = @fopen($id_document_front ,'r');
?>