Merge master
This commit is contained in:
@@ -1439,16 +1439,7 @@ class EmployeeShiftScheduleForm(ModelForm):
|
||||
"""
|
||||
|
||||
model = EmployeeShiftSchedule
|
||||
fields = [
|
||||
"shift_id",
|
||||
"minimum_working_hour",
|
||||
"start_time",
|
||||
"end_time",
|
||||
"is_auto_punch_out_enabled",
|
||||
"auto_punch_out_time",
|
||||
"company_id",
|
||||
"day",
|
||||
]
|
||||
fields = "__all__"
|
||||
exclude = ["is_active", "day", "is_night_shift"]
|
||||
widgets = {
|
||||
"start_time": forms.TimeInput(),
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<ion-icon name="transgender-outline"></ion-icon>
|
||||
<span>{% trans "Gender" %}</span>
|
||||
</span>
|
||||
<span class="oh-profile__info-value">{% trans employee.get_gender_display %}</span>
|
||||
<span class="oh-profile__info-value">{{employee.get_gender_display}}</span>
|
||||
</li>
|
||||
|
||||
<li class="oh-profile__card-info-item">
|
||||
|
||||
Reference in New Issue
Block a user