<select class="form-control form-control-sm shift-select" style="min-width:120px;"
        data-id="{{ $r->id }}">
    @foreach(\App\Modules\HR\Core\Models\Shift::where('status',1)->get() as $shift)
        <option value="{{ $shift->id }}"
            data-start-time="{{ substr($shift->work_start_time, 0, 5) }}"
            data-end-time="{{ substr($shift->work_end_time, 0, 5) }}"
            @selected($r->shift_id == $shift->id)>
            {{ $shift->code }}
        </option>
    @endforeach
</select>
