Enable rotatingShift

This commit is contained in:
SamSys
2025-01-18 16:10:15 +03:30
parent 69b367b737
commit e1c6d54149
4 changed files with 7 additions and 7 deletions

View File

@@ -414,7 +414,7 @@ public class RollCallApplication : IRollCallApplication
List<(DateTime Start, DateTime End, long RollCallId)> result = new();
if (workshopSettings.WorkshopShiftStatus == WorkshopShiftStatus.Regular || employeeSettings == WorkshopShiftStatus.Regular)
if (employeeSettings == WorkshopShiftStatus.Regular)
{
TimeOnly offset =

View File

@@ -32,8 +32,8 @@
<input type="radio" value="Regular" name="workshopShiftStatus" id="organized" class="radio-workTimeOption">
<label for="organized" class="radio-label-workTimeOption w-100">منظم</label>
<input type="radio" value="Rotating" name="workshopShiftStatus" id="rotating_shift" disabled="disabled" class="radio-workTimeOption">
<label for="rotating_shift" class="radio-label-workTimeOption w-100" style="display:none">گردشی</label>
<input type="radio" value="Rotating" name="workshopShiftStatus" id="rotating_shift" class="radio-workTimeOption">
<label for="rotating_shift" class="radio-label-workTimeOption w-100">گردشی</label>
<input type="radio" value="Irregular" name="workshopShiftStatus" id="disorganized" class="radio-workTimeOption">
<label for="disorganized" class="radio-label-workTimeOption w-100">مختلط</label>

View File

@@ -47,8 +47,8 @@
<input type="radio" value="Regular" name="Command.workshopShiftStatus" id="organized" class="radio-workTimeOption">
<label for="organized" class="radio-label-workTimeOption w-100">منظم</label>
<input type="radio" value="Rotating" name="Command.workshopShiftStatus" id="rotating_shift" disabled="disabled" class="radio-workTimeOption">
<label for="rotating_shift" class="radio-label-workTimeOption w-100" style="display: none">گردشی</label>
<input type="radio" value="Rotating" name="Command.workshopShiftStatus" id="rotating_shift" class="radio-workTimeOption">
<label for="rotating_shift" class="radio-label-workTimeOption w-100">گردشی</label>
<input type="radio" value="Irregular" name="Command.workshopShiftStatus" id="disorganized" class="radio-workTimeOption">
<label for="disorganized" class="radio-label-workTimeOption w-100">مختلط</label>

View File

@@ -36,8 +36,8 @@
<input type="radio" value="Regular" name="workshopShiftStatus" id="organized" class="radio-workTimeOption">
<label for="organized" class="radio-label-workTimeOption w-100">منظم</label>
<input type="radio" value="Rotating" name="workshopShiftStatus" id="rotating_shift" class="radio-workTimeOption" disabled="disabled">
<label for="rotating_shift" style="display:none" class=" radio-label-workTimeOption w-100" disabled>گردشی</label>
<input type="radio" value="Rotating" name="workshopShiftStatus" id="rotating_shift" class="radio-workTimeOption">
<label for="rotating_shift" class=" radio-label-workTimeOption w-100" >گردشی</label>
<input type="radio" value="Irregular" name="workshopShiftStatus" id="disorganized" class="radio-workTimeOption">
<label for="disorganized" class="radio-label-workTimeOption w-100">مختلط</label>