[UPDT] PAYROLL: Updated payroll allowances, deduction and filing status html by adding condition to display the navbars for each pages

This commit is contained in:
Horilla
2024-05-17 16:06:36 +05:30
parent 6df0f88394
commit 273e8fb7dc
15 changed files with 647 additions and 490 deletions

View File

@@ -226,8 +226,16 @@ class PayslipForm(ModelForm):
]
exclude = ["is_active"]
widgets = {
"start_date": forms.DateInput(attrs={"type": "date"}),
"end_date": forms.DateInput(attrs={"type": "date"}),
"start_date": forms.DateInput(
attrs={
"type": "date",
}
),
"end_date": forms.DateInput(
attrs={
"type": "date",
}
),
}