[UPDT] PAYROLL: Bonus point and leave encashments redeem amount in general settings
This commit is contained in:
@@ -7,6 +7,7 @@ from django.forms import widgets
|
||||
from django.utils.translation import gettext_lazy as trans
|
||||
from django.template.loader import render_to_string
|
||||
from payroll.models.models import (
|
||||
EncashmentGeneralSettings,
|
||||
PayrollGeneralSetting,
|
||||
ReimbursementrequestComment,
|
||||
WorkRecord,
|
||||
@@ -154,3 +155,9 @@ class ReimbursementrequestCommentForm(ModelForm):
|
||||
|
||||
model = ReimbursementrequestComment
|
||||
fields = ("comment",)
|
||||
|
||||
|
||||
class EncashmentGeneralSettingsForm(ModelForm):
|
||||
class Meta:
|
||||
model = EncashmentGeneralSettings
|
||||
fields = "__all__"
|
||||
|
||||
Reference in New Issue
Block a user