From 1b4304956bbe7df8ab7e462aa73974c8e1b72e79 Mon Sep 17 00:00:00 2001 From: Horilla Date: Sun, 18 May 2025 15:25:08 +0530 Subject: [PATCH] [UPDT] PAYROLL: Updated payroll app by adding empty page styles --- payroll/templates/payroll/loan/view_loan.html | 14 +- .../reimbursement/view_reimbursement.html | 201 +++++++++--------- 2 files changed, 105 insertions(+), 110 deletions(-) diff --git a/payroll/templates/payroll/loan/view_loan.html b/payroll/templates/payroll/loan/view_loan.html index 037bcb201..ac3fab9f3 100644 --- a/payroll/templates/payroll/loan/view_loan.html +++ b/payroll/templates/payroll/loan/view_loan.html @@ -18,15 +18,11 @@ {% include 'payroll/loan/records_card.html' %} {% else %} {% include 'filter_tags.html' %} -
-
-
- Page not found. 404. -
{% trans "There are currently no loans to consider." %}
-
-
-
+
+ Page not found. 404. +

{% trans "No Records found." %}

+

{% trans "There are currently no loans to consider." %}

+
{% endif %} {% endblock %} diff --git a/payroll/templates/payroll/reimbursement/view_reimbursement.html b/payroll/templates/payroll/reimbursement/view_reimbursement.html index 7280766ba..dbe3d75f1 100644 --- a/payroll/templates/payroll/reimbursement/view_reimbursement.html +++ b/payroll/templates/payroll/reimbursement/view_reimbursement.html @@ -1,98 +1,97 @@ {% extends 'index.html' %} {% block content %} {% load static %} {% load i18n %} - {% include 'payroll/reimbursement/nav.html' %} - -
+ +
{% if reimbursement_exists %} - {% if view == "list" %} - {% include 'payroll/reimbursement/reimbursement_list.html' %} + {% if view == "list" %} + {% include 'payroll/reimbursement/reimbursement_list.html' %} + {% else %} + {% include 'payroll/reimbursement/request_cards.html' %} + {% endif %} {% else %} - {% include 'payroll/reimbursement/request_cards.html' %} - {% endif %} - {% else %} - {% include "filter_tags.html" %} -
-
-
- Page not found. 404. -
{% trans "There are currently no reimbursement to consider." %}
-
+ {% include "filter_tags.html" %} +
+ Page not found. 404. +

{% trans "No Records found." %}

+

{% trans "There are currently no reimbursement to consider." %}

-
{% endif %} -
- + + - + + +
-
+
+
+
-
-
- -
- - + + function hideEnlargeattachment() { + var enlargeattachmentContainer = $('#enlargeattachmentContainer') + enlargeattachmentContainer.empty() + } + $(document).on('click', function (event) { + if (!$(event.target).closest('#enlargeattachmentContainer').length) { + hideEnlargeattachment() + } + }) + {% endblock %}