Refactor code for improved readability and consistency in multiple files
This commit is contained in:
@ -58,11 +58,11 @@ if (@$infos_user['droit'] > 0) {
|
||||
if ($temp_amb > $temp_ambmax) $temp_ambmax = $temp_amb;
|
||||
if ($temp_col < $temp_colmin) $temp_colmin = $temp_col;
|
||||
if ($temp_col > $temp_colmax) $temp_colmax = $temp_col;
|
||||
$temp_ambtot = $temp_ambtot + $temp_amb;
|
||||
$temp_coltot = $temp_coltot + $temp_col;
|
||||
$temp_ambtot += intval($temp_amb);
|
||||
$temp_coltot += intval($temp_col);
|
||||
|
||||
$s_temp_amb = $s_temp_amb . $temp_amb . ',';
|
||||
$s_temp_col = $s_temp_col . $temp_col . ',';
|
||||
$s_temp_amb .= $temp_amb . ',';
|
||||
$s_temp_col .= $temp_col . ',';
|
||||
$while_date = date("Y-m-d", strtotime("+1 day", strtotime($while_date)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user