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' %}
-
-
-
-

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

+
{% 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" %}
-
-
-
-

-
{% trans "There are currently no reimbursement to consider." %}
-
+ {% include "filter_tags.html" %}
+
+

+
{% 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 %}