[UPDT] OFFBOARDING: Added the notice period end date from settings.
This commit is contained in:
@@ -136,7 +136,7 @@ class ContractForm(ModelForm):
|
||||
)
|
||||
first = PayrollGeneralSetting.objects.first()
|
||||
if first and self.instance.pk is None:
|
||||
self.initial["notice_period_in_month"] = first.notice_period
|
||||
self.initial["notice_period_in_days"] = first.notice_period
|
||||
|
||||
def as_p(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user