a
This commit is contained in:
parent
b58aca322a
commit
72712f0f52
|
|
@ -92005,3 +92005,27 @@ function modifier_prix_autres_actes(idPrestationactes, prixSaisi, controle) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function afficher_facture_dec()
|
||||||
|
{
|
||||||
|
alert("afficher_facture_dec");
|
||||||
|
return;
|
||||||
|
|
||||||
|
$("#div_prestations").html('<div style="padding-top:80px; text-align:center; font-size:14px; color: #0088cf; "><span><i class="fa fa-spinner fa-spin fa-5x" >' + '</span></div>');
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
url: $("#racineWeb").val()+"Ajaxafficherajoutactesdec/",
|
||||||
|
type : 'post',
|
||||||
|
error: function(errorData) {
|
||||||
|
},
|
||||||
|
success: function(data) {
|
||||||
|
donnee_a_affciher = data;
|
||||||
|
|
||||||
|
$("#searchInputActe").val('');
|
||||||
|
$("#div_selection_acte").hide();
|
||||||
|
},
|
||||||
|
complete: function() {
|
||||||
|
$("#div_prestations").html(donnee_a_affciher);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,97 +1,103 @@
|
||||||
<div id="div_prestations">
|
<?php
|
||||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
|
$prixActeModifiable = $_SESSION['prixActeModifiable'];
|
||||||
<thead>
|
?>
|
||||||
<tr>
|
|
||||||
<th width="5%" style='text-align:center'> Suppr </th>
|
|
||||||
<th colspan="2" style="text-align:center"> <?= _("Actes ajoutés au décompte Afficher") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("P U") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("Qtité") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("P T") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("T M") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("Mtt TM") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("A Remb") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("Dépass") ?> </th>
|
|
||||||
<th style="text-align:center"> <?= _("Motif") ?> </th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
|
|
||||||
<tbody>
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
|
||||||
|
<thead>
|
||||||
<?php foreach ($prestations as $prestation):
|
<tr>
|
||||||
$idPrestationactes=$this->nettoyer($prestation['id']);
|
<th width="5%" style='text-align:center'> Suppr </th>
|
||||||
$idLivre=$this->nettoyer($prestation['id']);
|
<th colspan="2" style="text-align:center"> <?= _("Actes ajoutés au décompte Afficher") ?> </th>
|
||||||
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
|
<th style="text-align:center"> <?= _("P U") ?> </th>
|
||||||
|
<th style="text-align:center"> <?= _("Qtité") ?> </th>
|
||||||
|
<th style="text-align:center"> <?= _("P T") ?> </th>
|
||||||
|
<th style="text-align:center"> <?= _("T M") ?> </th>
|
||||||
|
<th style="text-align:center"> <?= _("Mtt TM") ?> </th>
|
||||||
|
<th style="text-align:center"> <?= _("A Remb") ?> </th>
|
||||||
|
<th style="text-align:center"> <?= _("Dépass") ?> </th>
|
||||||
|
<th style="text-align:center"> <?= _("Motif") ?> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
$valeurActe = $this->nettoyer($prestation['valeurActe']);
|
<tbody>
|
||||||
|
|
||||||
$codeGarantie=$this->nettoyer($prestation['codeGarantie']);
|
<?php foreach ($prestations as $prestation):
|
||||||
|
$idPrestationactes=$this->nettoyer($prestation['id']);
|
||||||
if (est_anglophone())
|
$idLivre=$this->nettoyer($prestation['id']);
|
||||||
{
|
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
|
||||||
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$libelleActe = $this->nettoyer($prestation['libelleActe']);
|
|
||||||
}
|
|
||||||
|
|
||||||
$tm=$this->nettoyer($prestation['tm']);
|
|
||||||
|
|
||||||
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
|
|
||||||
$motif = $this->nettoyer($prestation['motif']);
|
|
||||||
|
|
||||||
$tarif = $this->nettoyer($prestation['tarif']);
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php if($ententePrealable=='2'): ?>
|
$valeurActe = $this->nettoyer($prestation['valeurActe']);
|
||||||
<tr valign="top" style="background-color: yellow;">
|
|
||||||
<?php elseif($ententePrealable=='1'): ?>
|
$codeGarantie=$this->nettoyer($prestation['codeGarantie']);
|
||||||
<tr valign="top" style="background-color: #00ff00;">
|
|
||||||
<?php elseif($ententePrealable=='9'): ?>
|
if (est_anglophone())
|
||||||
<tr valign="top" style="background-color: red;color:white;">
|
{
|
||||||
<?php else: ?>
|
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
|
||||||
<tr valign="top">
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$libelleActe = $this->nettoyer($prestation['libelleActe']);
|
||||||
|
}
|
||||||
|
|
||||||
|
$tm=$this->nettoyer($prestation['tm']);
|
||||||
|
|
||||||
|
$codeMotifDepassement = $this->nettoyer($prestation['codeMotifDepassement']);
|
||||||
|
$motif = $this->nettoyer($prestation['motif']);
|
||||||
|
|
||||||
|
$tarif = $this->nettoyer($prestation['tarif']);
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php if($ententePrealable=='2'): ?>
|
||||||
|
<tr valign="top" style="background-color: yellow;">
|
||||||
|
<?php elseif($ententePrealable=='1'): ?>
|
||||||
|
<tr valign="top" style="background-color: #00ff00;">
|
||||||
|
<?php elseif($ententePrealable=='9'): ?>
|
||||||
|
<tr valign="top" style="background-color: red;color:white;">
|
||||||
|
<?php else: ?>
|
||||||
|
<tr valign="top">
|
||||||
|
<?php endif; ?>
|
||||||
|
<td>
|
||||||
|
<button type="button" class="form-control btn btn-danger" onClick="javascript:retirer_un_acte_selection_dec(<?= $idPrestationactes ?>);">
|
||||||
|
<i class="fa fa-times" aria-hidden="true"></i>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
|
<td align='center'> <?= $codeGarantie ?> </td>
|
||||||
|
<td align='center'> <?= $libelleActe ?> </td>
|
||||||
|
|
||||||
|
<td align='center' width="13%">
|
||||||
|
<?php if($prixActeModifiable=="0") : ?>
|
||||||
|
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
||||||
|
<?= format_N($this->nettoyer($prestation['valeurActe'])) ?>
|
||||||
|
</button>
|
||||||
|
<?php else: ?>
|
||||||
|
<INPUT class="form-control" style='text-align:center; font-size:10pt;' TYPE="number" value="<?= $valeurActe ?>"
|
||||||
|
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){ajax_maj_prix_acte_dec('<?=$idPrestationactes?>', this.value, this);}">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<td>
|
</td>
|
||||||
<button type="button" class="form-control btn btn-danger" onClick="javascript:retirer_un_acte_selection_dec(<?= $idPrestationactes ?>);">
|
|
||||||
<i class="fa fa-times" aria-hidden="true"></i>
|
<td align='center' width="8%">
|
||||||
</button>
|
<?= $this->nettoyer($prestation['quantite']) ?>
|
||||||
</td>
|
</td>
|
||||||
<td align='center'> <?= $codeGarantie ?> </td>
|
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
|
||||||
<td align='center'> <?= $libelleActe ?> </td>
|
|
||||||
|
<td align='center'> <?= $tm ?></td>
|
||||||
<td align='center' width="13%">
|
|
||||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué")?>" onClick='javascript:alert_ebene("<?= $tarif ?>, <?= $tarif ?>");'>
|
|
||||||
<?= format_N($valeurActe) ?>
|
|
||||||
</button>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td align='center' width="8%">
|
|
||||||
<?= $this->nettoyer($prestation['quantite']) ?>
|
|
||||||
</td>
|
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
|
|
||||||
|
|
||||||
<td align='center'> <?= $tm ?></td>
|
|
||||||
|
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
|
||||||
<td align='center'> <?= format_N($this->nettoyer($prestation['depassement'])) ?></td>
|
<td align='center'> <?= format_N($this->nettoyer($prestation['depassement'])) ?></td>
|
||||||
<?php if($codeMotifDepassement!=''): ?>
|
<?php if($codeMotifDepassement!=''): ?>
|
||||||
<td align='center'>
|
<td align='center'>
|
||||||
<button type="button" class="btn btn-info" title="<?= _("Voir le motif du dépassement...") ?>" onClick="javascript:alert_ebene('<?= $motif ?>', '<?= $motif ?>');">
|
<button type="button" class="btn btn-info" title="<?= _("Voir le motif du dépassement...") ?>" onClick="javascript:alert_ebene('<?= $motif ?>', '<?= $motif ?>');">
|
||||||
<?= $codeMotifDepassement ?>
|
<?= $codeMotifDepassement ?>
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<td > </td>
|
<td > </td>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<tr style='background-color:white'>
|
<tr style='background-color:white'>
|
||||||
<td colspan="11" height="8"></td>
|
<td colspan="11" height="8"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
|
||||||
|
|
@ -87,19 +87,14 @@
|
||||||
<td align='center'> <?= $libelleActe ?> </td>
|
<td align='center'> <?= $libelleActe ?> </td>
|
||||||
|
|
||||||
<td align='center' width="13%">
|
<td align='center' width="13%">
|
||||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué")?>" onClick='javascript:alert_ebene("<?= $tarif ?>, <?= $tarif ?>");'>
|
|
||||||
<?= format_N($valeurActe) ?>
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<?php if($prixActeModifiable=="0") : ?>
|
<?php if($prixActeModifiable=="0") : ?>
|
||||||
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
|
||||||
<?= format_N($this->nettoyer($prestation['valeurActe'])) ?>
|
<?= format_N($this->nettoyer($prestation['valeurActe'])) ?>
|
||||||
</button>
|
</button>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<INPUT class="form-control" style='text-align:center; font-size:10pt;' TYPE="number" value="<?= $valeurActe ?>"
|
<INPUT class="form-control" style='text-align:center; font-size:10pt;' TYPE="number" value="<?= $valeurActe ?>"
|
||||||
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){modifier_prix_autres_actes('<?=$idPrestationactes?>', this.value, this);}">
|
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){ajax_maj_prix_acte_dec('<?=$idPrestationactes?>', this.value, this);}">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td align='center' width="8%">
|
<td align='center' width="8%">
|
||||||
|
|
|
||||||
|
|
@ -976,7 +976,7 @@
|
||||||
|
|
||||||
<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="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.16.00"></script>
|
<script src="Js/fonctions.js?ver=2026.03.17.00"></script>
|
||||||
|
|
||||||
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
|
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user