This commit is contained in:
KANE LAZENI 2026-07-27 17:25:32 +00:00
parent b788f8434f
commit a25729a45d

View File

@ -383,20 +383,50 @@
<?php if($this->nettoyer($prescription['bonCaduc'])=="0") : ?>
<?php if($statutGarantie=="1"):?>
<?php if ($idDemandeAccord == "0") :?>
<table class="table table-responsive table-condensed" style='font-size:10pt;' >
<tbody>
<tr>
<td > <button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popAjoutVerre" style='font-size:12pt;' > <?= _("Sélectionner un acte"). "..." ?> </button> </td>
<td width="2%"></td>
<td width="35%"> <INPUT class="form-control btn btn-info" value="<?= _("GED Optique...") ?>" onclick="javascript:pop_ged_optique();" style='font-size:10pt;' ></td>
</tr>
</tbody>
</table>
<?php endif; ?>
<?php else: ?>
<marquee behavior="scroll" direction="left" scrollamount="15" style="background-color:red;color:white; font-weight:bold; font-size:14pt">
<?= $msg ?>
</marquee>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<div id="div_facture_definitive">
</div>
<div id ="div_wait">
</div>
<div id="ordonnance">
</div>
<div id="livraison">
<?php
$nbActesMonture = $this->nettoyer($prescription['nbActesMonture']);
$agePrescription = $this->nettoyer($prescription['agePrescription']);
$bonCaduc = $this->nettoyer($prescription['bonCaduc']);
?>
<?php if($bonCaduc=="0" or $modeSaisieFacture==1) : ?>
<div id="recap">
<?php if($idPrestationactes=="0" || $codeReponseEntentePrealable == "1"): ?>
<!-- 26/07/2026 => DEBUT gérer les OTP ici -->
<?php if($otpStatus=="-1" || $otpStatus=="1"): ?>
<table class="table table-responsive table-condensed" style='font-size:10pt;' >
<tbody>
<tr>
<td > <button type="button" class="form-control btn btn-primary" data-bs-toggle="modal" data-bs-target="#popAjoutVerre" style='font-size:12pt;' > <?= _("Sélectionner un acte"). "..." ?> </button> </td>
<td width="2%"></td>
<td width="35%"> <INPUT class="form-control btn btn-info" value="<?= _("GED Optique...") ?>" onclick="javascript:pop_ged_optique();" style='font-size:10pt;' ></td>
</tr>
</tbody>
</table>
<input style='font-size:10pt;' class="form-control btn btn-info" type="button" onclick="valider_opticien()" value="<?= _("Facturer") ?>" />
<?php else:
switch ($otpStatus) {
case 0:
@ -439,37 +469,6 @@
<?php endif; ?>
<!-- 26/07/2026 => FIN gérer les OTP ici -->
<?php endif; ?>
<?php else: ?>
<marquee behavior="scroll" direction="left" scrollamount="15" style="background-color:red;color:white; font-weight:bold; font-size:14pt">
<?= $msg ?>
</marquee>
<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<div id="div_facture_definitive">
</div>
<div id ="div_wait">
</div>
<div id="ordonnance">
</div>
<div id="livraison">
<?php
$nbActesMonture = $this->nettoyer($prescription['nbActesMonture']);
$agePrescription = $this->nettoyer($prescription['agePrescription']);
$bonCaduc = $this->nettoyer($prescription['bonCaduc']);
?>
<?php if($bonCaduc=="0" or $modeSaisieFacture==1) : ?>
<div id="recap">
<?php if($idPrestationactes=="0" || $codeReponseEntentePrealable == "1"): ?>
<table class="table table-responsive table-condensed" style='font-size:12pt;' >
<tbody>
<tr>
@ -482,8 +481,6 @@
<td align="center" style="font-weight:bold;"> <?= _("A Rembourser") ?> </td>
<td > <INPUT class="form-control" TYPE="text" value="<?= format_N($prescription['fraisRetenuLivre']) ?>" readonly style="text-align: center; font-size:12pt; font-weight:bold; " > </td>
</tr>
</tbody>
</table>