@@ -218,6 +231,9 @@ if(!empty($EmpCount))
?>
+
+
@@ -288,7 +304,7 @@ if(!empty($EmpCount))
url:"user/attendanceyear",
success:function(json) {
console.log(json);
- //alert(json);
+ // alert(json.workeds);
$('#content').loader('hide');
$('#totaldays').text(json.totaldays);
$('#worked').text(json.workeds)
@@ -297,6 +313,9 @@ if(!empty($EmpCount))
data.setValue(0, 1, json.yeardata);
chart.draw(data, options);
+ },
+ error:function(){
+ alert('error');
}
});
@@ -357,60 +376,68 @@ if(!empty($EmpCount))
-
-
-
+
+
+
-
-