|
Server IP : 10.128.40.6 / Your IP : 216.73.216.233 Web Server : Apache System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : logmcpe ( 111175) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/logmcpe/www/TMCPRO/pages/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
// echo "yassin <br/>" ;
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
$du = $_SESSION['du'] ;
$au = $_SESSION['au'] ;
$client_id = $_POST['client_id'] ;
$salarie_id = $_POST['salarie_id'] ;
$contact_id= $_POST['rowid'] ;
// exit() ;
$idprodm = $_POST['rowid'] ;
$req_principale = dbi_query("SELECT * FROM `pointage_rapport` WHERE `salarie_id` = ".$salarie_id." and client_id = ".$client_id." and date_pointage BETWEEN $du and $au ") ;
// $qm = dbi_query('select * from contact where contact_id='.$contact_id.'') ;
// $tabmod = dbi_fetch_row($qm);
// $contact_nom=$tabmod['contact_nom'];
// $contact_pnom=$tabmod['contact_pnom'];
// $contact_fonction=$tabmod['contact_fonction'];
// $contact_tele1=$tabmod['contact_tele1'];
// $contact_tele2=$tabmod['contact_tele2'];
// $contact_email=$tabmod['contact_email'];
?>
<div class="modal-header task-single-header" data-task-single-id="5" data-status="4">
<h4 class="modal-title"> <?php echo $prestationid ;?></h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<table id="" class="table table-bordered table-striped">
<thead>
<tr>
<th>Date</th> <!-- /.Table Client - Champs client_nom -->
<th>Prestation heure debut</th> <!-- /.Table Client - Champs client_adr1 -->
<th>Prestation heure fin</th> <!-- /.Table Client - Champs client_cp -->
<th>Point heure debut</th> <!-- /.Table Client - Champs client_adr1 -->
<th>Point heure fin</th> <!-- /.Table Client - Champs client_cp -->
<th>ecart</th>
</tr>
</thead>
<tbody>
<?php
while($cl=dbi_fetch_row($req_principale))
{
// list($motif)= dbi_fetch_row(dbi_query("SELECT absence_motif_description FROM `absence_motif` where absence_motif_id =".$cl['absence_type_id'])) ;
if($cl['statu_ecart'] == 1 ){
$chain_ecat = "<td style='color:red;' >".$cl['ecart']."</td>" ;
}
if($cl['statu_ecart'] == 2 ){
$chain_ecat = "<td style='color:green;' >".$cl['ecart']."</td>" ;
}
if($cl['statu_ecart'] == 0 ){
$chain_ecat = "<td style='color:;' >".$cl['ecart']."</td>" ;
}
?>
<tr>
<td><?=int2date($cl['date_pointage'])?></td>
<td><?=$cl['pres_heure_debut']?></td>
<td><?=$cl['pres_heure_fin']?></td>
<td><?=$cl['point_heure_debut']?></td>
<td><?=$cl['point_heure_fin']?></td>
<?=$chain_ecat?>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
<script src="../../plugins/bs-custom-file-input/bs-custom-file-input.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
bsCustomFileInput.init();
});
</script>
