[UPDT] PAYROLL: Bonus point and leave encashments redeem amount in general settings

This commit is contained in:
Horilla
2024-01-31 16:53:26 +05:30
parent 4ba362b9e6
commit f2cb92e92e
7 changed files with 134 additions and 24 deletions

View File

@@ -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__"