47 lines
2.2 KiB
PHP
47 lines
2.2 KiB
PHP
<div id="div_facture_detail">
|
|
|
|
<input style='text-align:center; font-size:11pt; background-color:blue;color:white;' class="form-control" type="text" value= "Les prestations de la facture" disabled >
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th width="12%" style="text-align:center"> Date </th>
|
|
<th colspan="2" style="text-align:center"> Acte </th>
|
|
<th width="8%" style="text-align:center"> Valeur </th>
|
|
<th style="text-align:center"> Qtité </th>
|
|
<th width="8%" style="text-align:center"> Frais </th>
|
|
<th width="5%" style="text-align:center"> T M </th>
|
|
<th width="8%" style="text-align:center"> A Rmb </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<?php foreach ($prestations as $prestation):
|
|
$codeTypePrestation=$this->nettoyer($prestation['codeTypePrestation']);
|
|
$ententePrealable=$this->nettoyer($prestation['ententePrealable']);
|
|
$autorisation=$this->nettoyer($prestation['autorisation']);
|
|
?>
|
|
<?php if($ententePrealable=='2' || $autorisation=='2'): ?>
|
|
<tr valign="top" style="background-color: yellow;">
|
|
<?php elseif($ententePrealable=='1' || $autorisation=='1'): ?>
|
|
<tr valign="top" style="background-color: #00ff00;">
|
|
<?php elseif($ententePrealable=='9' || $autorisation=='9'): ?>
|
|
<tr valign="top" style="background-color: red;color:white;">
|
|
<?php else: ?>
|
|
<tr valign="top">
|
|
<?php endif; ?>
|
|
<td align='center'> <?= dateheureFr($this->nettoyer($prestation['dateSysteme'])) ?> </td>
|
|
<td width="5%" align='center'> <?= $codeTypePrestation ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($prestation['libelleActe']) ?> </td>
|
|
<td align='center'> <?= format_N($this->nettoyer($prestation['valeurActe'])) ?></td>
|
|
<td align='center'> <?= $this->nettoyer($prestation['quantite']) ?></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; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|