Update chargesociales.class.php
This commit is contained in:
parent
f4181a77cd
commit
a7b23dc4f6
@ -399,7 +399,7 @@ class ChargeSociales extends CommonObject
|
|||||||
$sql .= " AND paye = 0";
|
$sql .= " AND paye = 0";
|
||||||
|
|
||||||
if ($year) {
|
if ($year) {
|
||||||
$sql .= " AND f.datev >= '".(int) $year."-01-01' AND f.datev <= '".(int) $year."-12-31' ";
|
$sql .= " AND f.datev >= '".((int) $year)."-01-01' AND f.datev <= '".((int) $year)."-12-31' ";
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = $this->db->query($sql);
|
$result = $this->db->query($sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user