|
@@ -161,6 +161,11 @@
|
|
|
{
|
|
|
$totalSick += $entry['timeWorked'];
|
|
|
}
|
|
|
+
|
|
|
+ if($entry['code'] == "Sick (Family)")
|
|
|
+ {
|
|
|
+ $totalSick += $entry['timeWorked'];
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -238,21 +243,21 @@
|
|
|
|
|
|
$(".timeTitle").click(function() {
|
|
|
$(this).next(".wrapper").slideToggle("slow");
|
|
|
- $(this).find("i").toggleClass("fa-chevron-up fa-chevron-down")
|
|
|
+ $(this).find("i").toggleClass("fa-chevron-up fa-chevron-down");
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
$("#hideAll").click(function() {
|
|
|
$(".wrapper").slideUp();
|
|
|
- $(".timeTitle").find("i").removeClass("fa-chevron-up")
|
|
|
- $(".timeTitle").find("i").addClass("fa-chevron-down")
|
|
|
+ $(".timeTitle").find("i").removeClass("fa-chevron-up");
|
|
|
+ $(".timeTitle").find("i").addClass("fa-chevron-down");
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
$("#showAll").click(function() {
|
|
|
$(".wrapper").slideDown();
|
|
|
- $(".timeTitle").find("i").removeClass("fa-chevron-down")
|
|
|
- $(".timeTitle").find("i").addClass("fa-chevron-up")
|
|
|
+ $(".timeTitle").find("i").removeClass("fa-chevron-down");
|
|
|
+ $(".timeTitle").find("i").addClass("fa-chevron-up");
|
|
|
return false;
|
|
|
});
|
|
|
|