Blame view

resources/views/workers/ajax/diploms_dop.blade.php 1.33 KB
b3d27fa36   Андрей Ларионов   Обновление проект...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  @if (isset($worker->infobloks))
      @if ($worker->infobloks->count())
          @php $i = 1; @endphp
          @foreach ($worker->infobloks as $info)
              <div class="cabinet__inputs-item form-group">
                  <label class="form-group__label">{{ $info->name }}</label>
                  <div class="form-group__item">
                      <div class="select">
                          <select data-info="{{ $info->id }}" class="js-select2 sertificates_js">
                              <option value="0">Нет</option>
                              <option value="1" selected>Да</option>
                          </select>
                      </div>
                  </div>
              </div>
              @php $i++; @endphp
          @endforeach
      @endif
  @endif
  
  <div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
      <label class="form-group__label">Образцы дипломов и документов</label>
      <div class="form-group__item">
          <div class="select">
              <select class="js-select2" id="documents" name="documents">
                  @if ($Infoblocks->count())
                      @foreach ($Infoblocks as $it)
                          <option value="{{ $it->id }}">{{ $it->name }}</option>
                      @endforeach
                  @endif
              </select>
          </div>
      </div>
  </div>