[UPDT] PAYROLL: Rmove unused oh-modals and resolved payslip create function date period issues
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user