91 lines
3.3 KiB
PHP
91 lines
3.3 KiB
PHP
<div id="div_ajout_actes">
|
|
<input class = "form-control btn btn-info" type="button" value="<?= _("Récapituler ajouts actes") ?>" onClick="recap_ajout_acte_dec();" style='font-size:9pt;' > </td>
|
|
|
|
<table class="table table-responsive table-condensed" style='font-size:8pt;'>
|
|
<tbody>
|
|
<tr>
|
|
<td width="20%" > <?= _("Famille Actes") ?> </td>
|
|
<td>
|
|
<SELECT class="form-control" id="codeFamilleActe" NAME="codeFamilleActe" required AUTOCOMPLETE="OFF" onChange="ajax_actes_possibles_selection_dec();" style='font-size:8pt;' >
|
|
<?php liste_options($familleacte,""); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="row" id="totam_donnees">
|
|
|
|
<div id="div_actes" class="col-4" style="padding-right:1px;">
|
|
<div id="listeacte">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:7pt;">
|
|
<thead>
|
|
<tr>
|
|
<th width="90%" style='text-align:center'> <?= _("Actes de la famille") ?> </th>
|
|
<th style='text-align:center'> => </th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="div_prestations" class="col-8" >
|
|
<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'> <= </th>
|
|
<th style="text-align:center"> <?= _("Actes ajoutés au décompte") ?> </th>
|
|
<th style="text-align:center"> <?= _("Frais") ?> </th>
|
|
<th style="text-align:center"> <?= _("T M") ?> </th>
|
|
<th style="text-align:center"> <?= _("A Remb") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach ($prestations as $prestation):
|
|
$idPrestationactes=$this->nettoyer($prestation['id']);
|
|
$idLivre=$this->nettoyer($prestation['id']);
|
|
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
|
|
|
|
if (est_anglophone())
|
|
{
|
|
$libelleActe = $this->nettoyer($prestation['libelleActeEng']);
|
|
}
|
|
else
|
|
{
|
|
$libelleActe = $this->nettoyer($prestation['libelleActe']);
|
|
}
|
|
|
|
?>
|
|
|
|
<?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> <input class = "form-control btn btn-danger" type="button" value="<=" onClick="javascript:retirer_un_acte_selection_dec('<?= $idLivre ?>');"> </td>
|
|
|
|
<td align='center'> <?= $libelleActe ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['fraisReel'])) ?></td>
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantTm'])) ?></td>
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['montantArembourser'])) ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
<tr style='background-color:white'>
|
|
<td colspan="5" height="8"></td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|