Blame view

resources/views/ajax/dop_info.blade.php 2.13 KB
99a41e761   Андрей Ларионов   Личный кабинет по...
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  <h4 class="cabinet__h4">Дополнительная информация</h4>
  <div class="cabinet__inputs">
      <div class="cabinet__inputs-item form-group">
          <label class="form-group__label">Верю</label>
          <div class="form-group__item">
              <div class="select">
                  <select class="js-select2 sertificates_js">
                      <option value="0">Нет</option>
                      <option value="1" selected>Да</option>
                  </select>
              </div>
          </div>
      </div>
      @if (isset($Worker[0]->infobloks))
          @if ($Worker[0]->infobloks->count())
              @php $i = 1; @endphp
              @foreach ($Worker[0]->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 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>
      <div name="btn_new_diplom" data-val="{{ $Worker[0]->id }}" id="btn_new_diplom" class="button button_light">
          Добавить документ
      </div>
  </div>