a
This commit is contained in:
parent
da9d71170f
commit
97cd59dcdf
|
|
@ -28750,3 +28750,23 @@ function modifier_prix_acte() {
|
|||
ajaxprixacte();
|
||||
}
|
||||
}
|
||||
|
||||
function modifier_prix_examen(idExamen, prixSaisi) {
|
||||
alert("modifier_prix_examen => "+idExamen+" ; prixSaisi => "+prixSaisi);
|
||||
/*
|
||||
prixModifiable = $('#prixModifiable').val();
|
||||
$('#prixSaisi').val(prixModifiable);
|
||||
prixModifiable = $('#prixModifiable').val();
|
||||
prixSaisi = $('#prixSaisi').val();
|
||||
|
||||
// alert("prixSaisi = "+prixSaisi+" ; prixModifiable = "+prixModifiable);
|
||||
// ajaxprixacte();
|
||||
// initialiser_prix_acte();
|
||||
if(prixSaisi<="0"){
|
||||
initialiser_prix_acte();
|
||||
}
|
||||
else{
|
||||
ajaxprixacte();
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,29 +120,32 @@
|
|||
$ententePrealable = $this->nettoyer($detaillivre['ententePrealable']);
|
||||
$libelleActe = $this->nettoyer($detaillivre['libelleActe']);
|
||||
$codeActe = $this->nettoyer($detaillivre['codeActe']);
|
||||
|
||||
$tm = $this->nettoyer($detaillivre['tm']);
|
||||
|
||||
$taux = (100-$tm)."%";
|
||||
|
||||
$codeMotifDepassement = $this->nettoyer($detaillivre['codeMotifDepassement']);
|
||||
|
||||
$motif = $this->nettoyer($detaillivre['motif']);
|
||||
$motifEng = $this->nettoyer($detaillivre['motifEng']);
|
||||
|
||||
|
||||
$tarif = $this->nettoyer($detaillivre['tarif']);
|
||||
$valeurActe = $this->nettoyer($detaillivre['valeurActe']);
|
||||
|
||||
$nbLivre++;
|
||||
?>
|
||||
|
||||
<tr valign="top">
|
||||
<td align='center'> <input type="button" value=" - " onClick="javascript:retirerexamen('<?= $idLivre ?>');"></td>
|
||||
<td > <?= $libelleActe ?> </td>
|
||||
<td align='center'>
|
||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
||||
<?= format_N($this->nettoyer($detaillivre['valeurActe'])) ?>
|
||||
</button>
|
||||
|
||||
<td align='center'>
|
||||
<?php if($prixActeModifiable=="0") : ?>
|
||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
||||
<?= format_N($valeurActe) ?>
|
||||
</button>
|
||||
<?php else: ?>
|
||||
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $this->nettoyer($acte_in['prixNuitFerier']) ?>"
|
||||
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){modifier_prix_examen('<?=$idLivre?>', this.value);}">
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<td align='center'>
|
||||
<?= $this->nettoyer($detaillivre['quantite']) ?>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -330,14 +330,6 @@
|
|||
{
|
||||
$libelleActe = $this->nettoyer($detaillivre['libelleActeEng']);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
if($actVisible!="1")
|
||||
{
|
||||
$libelleActe = $codeActe;
|
||||
}
|
||||
*/
|
||||
|
||||
$tm = $this->nettoyer($detaillivre['tm']);
|
||||
|
||||
|
|
@ -349,43 +341,48 @@
|
|||
$motifEng = $this->nettoyer($detaillivre['motifEng']);
|
||||
|
||||
$tarif = $this->nettoyer($detaillivre['tarif']);
|
||||
$valeurActe = $this->nettoyer($detaillivre['valeurActe']);
|
||||
|
||||
$nbLivre++;
|
||||
?>
|
||||
|
||||
<tr valign="top">
|
||||
|
||||
<?php if($facture=="1" || $bonCaduc=="1"): ?>
|
||||
<tr valign="top">
|
||||
<?php if($facture=="1" || $bonCaduc=="1"): ?>
|
||||
<td width="5%" > </td>
|
||||
<?php else: ?>
|
||||
<?php else: ?>
|
||||
<td align='center'> <input type="button" value=" - " onClick="javascript:retirerexamen('<?= $idLivre ?>');"></td>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<td > <?= $libelleActe ?> </td>
|
||||
<td > <?= $libelleActe ?> </td>
|
||||
|
||||
|
||||
<td align='center'>
|
||||
<td align='center'>
|
||||
<?php if($prixActeModifiable=="0") : ?>
|
||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
||||
<?= format_N($this->nettoyer($detaillivre['valeurActe'])) ?>
|
||||
<?= format_N($valeurActe) ?>
|
||||
</button>
|
||||
</td>
|
||||
|
||||
<td align='center'>
|
||||
<?= $this->nettoyer($detaillivre['quantite']) ?>
|
||||
</td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($detaillivre['fraisReel'])) ?> </td>
|
||||
<td align='center'> <?= $taux ?> </td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantTm'])) ?> </td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantArembourser'])) ?> </td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($detaillivre['depassement'])) ?> </td>
|
||||
<?php if($codeMotifDepassement!=''): ?>
|
||||
<td align='center'>
|
||||
<button type="button" class="btn btn-info" title="Voir le motif du dépassement..." onClick='javascript:alert_ebene("<?= $motif ?>","<?= $motifEng ?>");'>
|
||||
<?= $codeMotifDepassement ?>
|
||||
</button>
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td > </td>
|
||||
<?php else: ?>
|
||||
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $this->nettoyer($acte_in['prixNuitFerier']) ?>"
|
||||
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){modifier_prix_examen('<?=$idLivre?>', this.value);}">
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<td align='center'>
|
||||
<?= $this->nettoyer($detaillivre['quantite']) ?>
|
||||
</td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($detaillivre['fraisReel'])) ?> </td>
|
||||
<td align='center'> <?= $taux ?> </td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantTm'])) ?> </td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($detaillivre['montantArembourser'])) ?> </td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($detaillivre['depassement'])) ?> </td>
|
||||
<?php if($codeMotifDepassement!=''): ?>
|
||||
<td align='center'>
|
||||
<button type="button" class="btn btn-info" title="Voir le motif du dépassement..." onClick='javascript:alert_ebene("<?= $motif ?>","<?= $motifEng ?>");'>
|
||||
<?= $codeMotifDepassement ?>
|
||||
</button>
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td > </td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<tr style='background-color:white'>
|
||||
|
|
|
|||
|
|
@ -909,7 +909,7 @@
|
|||
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.css" integrity="sha512-3pIirOrwegjM6erE5gPSwkUzO+3cTjpnV9lexlNZqvupR64iZBnOOTiiLPb9M36zpMScbmUNIcHUqKD47M719g==" crossorigin="anonymous" referrerpolicy="no-referrer" />-->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js" integrity="sha512-VEd+nq25CkR676O+pLBnDW09R7VQX9Mdiij052gVCp5yVH3jGtH70Ho/UUv4mJDsEdTvqRCFZg0NKGiojGnUCw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
|
||||
<script src="Js/fonctions.js?ver=2026.03.10.09"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.03.10.10"></script>
|
||||
<script src="Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user