[UPDT] PAYROLL: Rmove unused oh-modals and resolved payslip create function date period issues

This commit is contained in:
Horilla
2024-10-18 10:48:11 +05:30
parent 5cae2940e3
commit f78a3b5cbe
24 changed files with 510 additions and 818 deletions

View File

@@ -133,9 +133,9 @@ class ContractForm(ModelForm):
dynamic_url = self.get_dynamic_hx_post_url(self.instance)
self.fields["contract_status"].widget.attrs.update(
{
"hx-target": "#contractFormTarget",
"hx-target": "this",
"hx-post": dynamic_url,
"hx-swap": "outerHTML",
"hx-swap": "beforebegin",
}
)
first = PayrollGeneralSetting.objects.first()