|
@@ 1728-1730 (lines=3) @@
|
| 1725 |
|
|
| 1726 |
|
|
| 1727 |
|
|
| 1728 |
|
if ($nbdays['total']['D'] > 0 && !absences_cq($nbdays['total']['D'], $days)) { |
| 1729 |
|
throw new Exception(absences_translate("Quantities must match total days")); |
| 1730 |
|
} |
| 1731 |
|
|
| 1732 |
|
if ($nbdays['total']['H'] > 0 && !absences_cq($nbdays['total']['H'], $days)) { |
| 1733 |
|
throw new Exception(absences_translate("Quantities must match total hours")); |
|
@@ 1732-1734 (lines=3) @@
|
| 1729 |
|
throw new Exception(absences_translate("Quantities must match total days")); |
| 1730 |
|
} |
| 1731 |
|
|
| 1732 |
|
if ($nbdays['total']['H'] > 0 && !absences_cq($nbdays['total']['H'], $days)) { |
| 1733 |
|
throw new Exception(absences_translate("Quantities must match total hours")); |
| 1734 |
|
} |
| 1735 |
|
|
| 1736 |
|
return $nbdays; |
| 1737 |
|
} |