diff --git a/base/templates/company_leave/company_leave_creation_form.html b/base/templates/company_leave/company_leave_creation_form.html index 6e5aaf81a..14b06ba16 100644 --- a/base/templates/company_leave/company_leave_creation_form.html +++ b/base/templates/company_leave/company_leave_creation_form.html @@ -1,43 +1,61 @@ -{% load i18n %} -{% if messages %} - - -{% endif %} -{% if form.errors %} -
-
- {% for error in form.non_field_errors %} -
{{ error }}
- {% endfor %} + }, 1000);" +> + +{% endif %} {% if form.errors %} +
+
+ {% for error in form.non_field_errors %} +
+ {{ error }}
+ {% endfor %}
+
{% endif %}
- {% trans "Create Company Leaves" %} + {% trans "Create Company Leaves" %}
-
+ {{form.based_on_week}} {{form.based_on_week.errors}} {{form.based_on_week_day}} {{form.based_on_week_day.errors}} + + {{form.company_id}} {{form.company_id.errors}}
diff --git a/base/templates/holiday/holiday_form.html b/base/templates/holiday/holiday_form.html index 9603cd996..cbb30d285 100644 --- a/base/templates/holiday/holiday_form.html +++ b/base/templates/holiday/holiday_form.html @@ -1,19 +1,28 @@ -{% load i18n %} -{% if messages %} - - + }, 1000);" +> + {% endif %}
- {% trans "Create Holiday" %} + {% trans "Create Holiday" %}
-
+ @@ -21,7 +30,10 @@
-
-
+
+
+ + {{ form.company_id }} {{ form.company_id.errors }} +
+
+
+ +
+ {{ form.recurring }} {{ form.recurring.errors }} +
+
- -
{{ form.recurring }} {{ form.recurring.errors }}
diff --git a/base/translator.py b/base/translator.py index c5b075082..59bbcbf78 100644 --- a/base/translator.py +++ b/base/translator.py @@ -342,3 +342,4 @@ _("candidate-reject-reasons"), _("skills-view"), _("employee-bonus-point"), _("mail-automations"), +_("check-in-check-out-setting"), diff --git a/horilla_crumbs/context_processors.py b/horilla_crumbs/context_processors.py index 2d824c947..7a7e12baf 100644 --- a/horilla_crumbs/context_processors.py +++ b/horilla_crumbs/context_processors.py @@ -147,6 +147,7 @@ sidebar_urls = [ "skills-view", "employee-bonus-point", "mail-automations", + "check-in-check-out-setting", ] remove_urls = [ "feedback-detailed-view",