modal issue fixed (#563)

This commit is contained in:
aditya singh rawat
2025-03-10 10:11:38 +05:30
committed by GitHub
parent c796b73f12
commit ce95b4a233

View File

@@ -20,6 +20,7 @@ from django.shortcuts import redirect, render
from django.urls import reverse
from django.utils.html import format_html
from django.utils.translation import gettext_lazy as _
from django.views.decorators.cache import never_cache
from openpyxl import Workbook
from openpyxl.styles import Alignment, Border, Font, Side
from openpyxl.utils import get_column_letter
@@ -996,6 +997,7 @@ def view_individual_payslip(request, employee_id, start_date, end_date):
@login_required
@never_cache
def view_payslip(request):
"""
This method is used to render the template for viewing a payslip.