[FIX]incorrect leave information in dashboard
This commit is contained in:
@@ -22,22 +22,22 @@ RESET_BASED = [
|
||||
("weekly", _("Weekly")),
|
||||
]
|
||||
MONTHS = [
|
||||
("1", "Jan"),
|
||||
("2", "Feb"),
|
||||
("3", "Mar"),
|
||||
("4", "Apr"),
|
||||
("5", "May"),
|
||||
("6", "Jun"),
|
||||
("7", "Jul"),
|
||||
("8", "Aug"),
|
||||
("9", "Sep"),
|
||||
("10", "Oct"),
|
||||
("11", "Nov"),
|
||||
("12", "Dec"),
|
||||
("1", _("Jan")),
|
||||
("2", _("Feb")),
|
||||
("3", _("Mar")),
|
||||
("4", _("Apr")),
|
||||
("5", _("May")),
|
||||
("6", _("Jun")),
|
||||
("7", _("Jul")),
|
||||
("8", _("Aug")),
|
||||
("9", _("Sep")),
|
||||
("10", _("Oct")),
|
||||
("11", _("Nov")),
|
||||
("12", _("Dec")),
|
||||
]
|
||||
|
||||
DAYS = [
|
||||
("last day", "Last Day"),
|
||||
("last day", _("Last Day")),
|
||||
("1", "1st"),
|
||||
("2", "2nd"),
|
||||
("3", "3rd"),
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$(document).ready(function () {
|
||||
//Todays leave count department wise chart
|
||||
var myChart1 = document.getElementById("overAllLeave").getContext("2d");
|
||||
var myChart1 = document.getElementById("leaveEmployee");
|
||||
var overAllLeave = new Chart(myChart1, {
|
||||
type: 'doughnut',
|
||||
data: {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
All
|
||||
{% trans "All" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="oh-sticky-table__sd">
|
||||
|
||||
Reference in New Issue
Block a user