Changeset 24a616f for resources/views/dashboard/departments/index.blade.php
- Timestamp:
- 10/13/21 15:44:57 (3 years ago)
- Branches:
- develop, master
- Children:
- 120759b
- Parents:
- 194a359
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/departments/index.blade.php
r194a359 r24a616f 36 36 <thead> 37 37 <tr> 38 {{-- <th>--}} 39 {{-- <div class="custom-control custom-checkbox">--}} 40 {{-- <input type="checkbox" class="custom-control-input" id="user-list-select-all">--}} 41 {{-- <label class="custom-control-label" for="user-list-select-all"></label>--}} 42 {{-- </div>--}} 43 {{-- </th>--}} 38 <th> 39 <div class="custom-control custom-checkbox"> 40 <input type="checkbox" class="custom-control-input" id="user-list-select-all"> 41 <label class="custom-control-label" for="user-list-select-all"></label> 42 </div> 43 </th> 44 44 <th>ID</th> 45 45 <th>Name</th> 46 46 <th>Code</th> 47 47 <th>Created by</th> 48 <th>Creation date</th> 48 <th>Created at</th> 49 <th>Updated at</th> 50 <th>Directory</th> 49 51 <th>Actions</th> 50 52 </tr> … … 53 55 @foreach($departments as $department) 54 56 <tr> 57 <td></td> 55 58 <td>{{$department->id }}</td> 56 59 <td>{{ $department->name }}</td> 57 60 <td>{{ $department->code }}</td> 58 61 <td>{{ $department->getCreatedByName() }}</td> 59 <td>{{ date('d.m.Y', strtotime($department->created_at)) }}</td> 62 <td>{{ date('d.m.Y - H:i', strtotime($department->created_at)) }}</td> 63 @if($department->updated_at==NULL) 64 <td>/</td> 65 @else 66 <td>{{ date('d.m.Y - H:i', strtotime($department->updated_at)) }}</td> 67 @endif 68 <!-- Trigger --> 69 <td id="copy_{{ $department->id }}" value="{{$department->location}}">{{$department->location}} 70 <button class="btn btn-sm btn-primary text-white" data-clipboard-target="#copy_{{ $department->id }}"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16"> 71 <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> 72 <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/> 73 </svg></button> 74 </td> 60 75 <td> 61 76 <a href="{{ route("dashboard.departments.edit", ["id" => $department->id]) }}" class="text-secondary" data-toggle="tooltip" title="Edit">
Note:
See TracChangeset
for help on using the changeset viewer.