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">
|
||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
|
||||
<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>
|
||||
<?php
|
||||
$prixActeModifiable = $_SESSION['prixActeModifiable'];
|
||||
?>
|
||||
|
||||
<tbody>
|
||||
|
||||
<?php foreach ($prestations as $prestation):
|
||||
$idPrestationactes=$this->nettoyer($prestation['id']);
|
||||
$idLivre=$this->nettoyer($prestation['id']);
|
||||
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
|
||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
|
||||
<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>
|
||||
|
||||
$valeurActe = $this->nettoyer($prestation['valeurActe']);
|
||||
|
||||
$codeGarantie=$this->nettoyer($prestation['codeGarantie']);
|
||||
|
||||
if (est_anglophone())
|
||||
{
|
||||
$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']);
|
||||
?>
|
||||
<tbody>
|
||||
|
||||
<?php foreach ($prestations as $prestation):
|
||||
$idPrestationactes=$this->nettoyer($prestation['id']);
|
||||
$idLivre=$this->nettoyer($prestation['id']);
|
||||
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
|
||||
|
||||
<?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">
|
||||
$valeurActe = $this->nettoyer($prestation['valeurActe']);
|
||||
|
||||
$codeGarantie=$this->nettoyer($prestation['codeGarantie']);
|
||||
|
||||
if (est_anglophone())
|
||||
{
|
||||
$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'): ?>
|
||||
<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; ?>
|
||||
<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%">
|
||||
<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>
|
||||
|
||||
<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['montantArembourser'])) ?></td>
|
||||
<td align='center'> <?= format_N($this->nettoyer($prestation['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 ?>', '<?= $motif ?>');">
|
||||
<?= $codeMotifDepassement ?>
|
||||
</button>
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td > </td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<tr style='background-color:white'>
|
||||
<td colspan="11" height="8"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<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['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 ?>', '<?= $motif ?>');">
|
||||
<?= $codeMotifDepassement ?>
|
||||
</button>
|
||||
</td>
|
||||
<?php else: ?>
|
||||
<td > </td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<tr style='background-color:white'>
|
||||
<td colspan="11" height="8"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -87,19 +87,14 @@
|
|||
<td align='center'> <?= $libelleActe ?> </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>
|
||||
|
||||
<?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)){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; ?>
|
||||
|
||||
</td>
|
||||
|
||||
<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="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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user