[ADD] LEAVE: is encashable field added to leave type

This commit is contained in:
Horilla
2024-03-28 10:02:03 +05:30
parent c899684ca6
commit 8d6851a377
4 changed files with 32 additions and 0 deletions

View File

@@ -150,6 +150,7 @@ class LeaveType(HorillaModel):
period_in = models.CharField(max_length=30, choices=TIME_PERIOD, default="day")
total_days = models.IntegerField(null=True, default=1)
reset = models.BooleanField(default=False)
is_encashable = models.BooleanField(default=False,verbose_name=_("Is encashable"))
reset_based = models.CharField(
max_length=30,
choices=RESET_BASED,