radiantrh/Vue/Ajaxfactureconsprestataire/geds.php

51 lines
1.7 KiB
PHP
Executable File

<div id="div_facture_detail">
<div id="div_ged">
<!--
<form enctype="multipart/form-data" name="ajax_form_upload" id="ajax_form_upload" method="post">
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
<tbody>
<tr>
<td> Upload </td>
<td> <input style="font-size: 15px; height: 40px" class="form-control btn btn-info" name="fichier_upload_facture" type="file" id="fichier_upload_facture" /> </td>
<td> </td>
<td> <input onClick="javascript:valider_ged_facture();" style='font-size:10pt;' class="form-control btn btn-primary" type="button" value=" Envoyer / Send" /> </td>
</tr>
</tbody>
</table>
</form>
<input class="sr-only" type="text" id="idFactureGed" name="idFactureGed" value="<?= $_SESSION['idFacture_C']?>" >
-->
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<th width="20%" style='text-align:center'> Date </th>
<th style='text-align:center'> Document GED / EDM </th>
<th width="10%" style='text-align:center'> Download </th>
</thead>
<tbody>
<?php foreach ($geds as $ged):
$idGed=$this->nettoyer($ged['idGed']);
$cheminFichier = $this->nettoyer($ged['cheminFichier']);
?>
<tr valign="top">
<td align='center'><?= dateheureFr($this->nettoyer($ged['dateSysteme'])) ?></td>
<td align='center'><?= $this->nettoyer($ged['nomOrigine']) ?></td>
<td align="center">
<a style="font-size:10pt;" href="<?= $cheminFichier ?>" target="_blank" > Download</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
</div>