diff --git a/resources/views/hse/simper_types_index.blade.php b/resources/views/hse/simper_types_index.blade.php index 6009acf..0d55429 100644 --- a/resources/views/hse/simper_types_index.blade.php +++ b/resources/views/hse/simper_types_index.blade.php @@ -82,90 +82,72 @@ @endif - -
Total Kategori
-{{ count($simperTypes) }} Jenis
-Total Kategori
++ {{ count($simperTypes) }} Jenis +
Pemegang Aktif
-- {{ $simperTypes->sum('active_holders_count') }} Personil -
-Status Fleksibilitas
-Siap Dikustomisasi HSE
-Pemegang Aktif
++ {{ $simperTypes->sum('active_holders_count') }} Personil +
| NO | -KODE | -NAMA JENIS SIMPER | -CAKUPAN KENDARAAN | -PEMEGANG AKTIF | -STATUS | -KETERANGAN | -AKSI | +NO | +KODE | +NAMA JENIS SIMPER | +CAKUPAN KENDARAAN | +PEMEGANG AKTIF | +STATUS | +KETERANGAN | +AKSI |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $idx + 1 }} | -- + | {{ $idx + 1 }} | ++ {{ $st->code }} | -- {{ $st->name }} + | + {{ $st->name }} | -
-
+
+ |
-
@if($st->coversScope('all'))
-
- Semua Kategori (Universal)
+
+ Semua Kategori (Universal)
@else
@php $scopesList = $st->scopes; @endphp
@foreach(array_slice($scopesList, 0, 3) as $scope)
@if($scope === 'light_vehicle')
-
- LV
+
+ LV (Light Vehicle)
@else
-
- {{ str_replace('_', ' ', $scope) }}
+
+ {{ str_replace('_', ' ', $scope) }}
@endif
@endforeach
@if(count($scopesList) > 3)
-
+{{ count($scopesList) - 3 }} lainnya
@@ -173,38 +155,40 @@
@endif
-
+ |
+
{{ $st->active_holders_count }} Personil
|
-
+ |
@if($st->is_active)
-
+
Aktif
@else
-
+
Nonaktif
@endif
|
-
- {{ $st->description ?: '-' }}
+ |
+ |
- + {{ $st->description ?: '-' }} +
- |
+
+ |
@can('hse.employees.edit')
@if($st->total_holders_count == 0)
@@ -215,9 +199,8 @@
|
|
-
- Belum ada data jenis SIMPER + |
+ Belum ada data jenis SIMPER Klik tombol "+ Tambah Jenis SIMPER" untuk membuat kategori baru. |
||||||||||||||