[UPDT] PAYROLL: Condition for changing start date if payslip generate in contract period

This commit is contained in:
Horilla
2024-07-18 11:36:50 +05:30
parent 7735e4e56d
commit c3cf975eeb
2 changed files with 28 additions and 8 deletions

View File

@@ -339,7 +339,6 @@ class GeneratePayslipForm(HorillaForm):
cleaned_data = super().clean()
start_date = cleaned_data.get("start_date")
end_date = cleaned_data.get("end_date")
today = datetime.date.today()
if end_date < start_date:
raise forms.ValidationError(