v1.2.1
This commit is contained in:
parent
0a5832a454
commit
2ae9bb9cee
|
@ -3,7 +3,7 @@
|
||||||
//require('config.php');
|
//require('config.php');
|
||||||
|
|
||||||
function soldertt($table, $rttparan, $conn){
|
function soldertt($table, $rttparan, $conn){
|
||||||
$resultrtt = mysqli_query($conn, "SELECT SUM(nbjours) AS decomptertt FROM $table WHERE type='RTT' AND datedebut LIKE ");
|
$resultrtt = mysqli_query($conn, "SELECT SUM(nbjours) AS decomptertt FROM $table WHERE type='RTT'");
|
||||||
$rowrtt = mysqli_fetch_assoc($resultrtt);
|
$rowrtt = mysqli_fetch_assoc($resultrtt);
|
||||||
$sumrtt = $rowrtt['decomptertt'];
|
$sumrtt = $rowrtt['decomptertt'];
|
||||||
$rtt = ($rttparan - $sumrtt);
|
$rtt = ($rttparan - $sumrtt);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user