Pengaturan Sub Komponen

Data sub komponen penilaian per komponen

@if (session()->has('message'))
{{ session('message') }}
@endif
Data Sub Komponen
@if(Auth::check() && Auth::user()->role_id == 1) @endif
@if(Auth::check() && Auth::user()->role_id == 1 && $isAdding)
@error('komponen_id') {{ $message }} @enderror
@error('nama') {{ $message }} @enderror
@error('bobot') {{ $message }} @enderror
@error('standar') {{ $message }} @enderror
@endif
@foreach ($subkomponen as $index => $item) @endforeach
No Komponen Nama Sub Komponen Bobot Standar Aksi
{{ $index + 1 }} @if($editId === $item->id) @else {{ optional($komponen->where('id', $item->komponen_id)->first())->nama }} @endif @if($editId === $item->id) @else {{ $item->nama }} @endif @if($editId === $item->id) @else {{ $item->bobot }} @endif @if($editId === $item->id) @else {{ $item->standar }} @endif @if(Auth::check() && Auth::user()->role_id == 1) @if($editId === $item->id) @else @endif @endif
@push('scripts') @endpush