main
Ilham Wara Nugroho 2026-06-12 14:29:35 +07:00
parent f76c1acac0
commit d189c3a79a
1 changed files with 1 additions and 10 deletions

View File

@ -18,16 +18,7 @@
{{ $detail->activity ? $detail->activity->name : 'N/A' }} - ({{ $detail->unit_code }})
@if ($unitCategory)
<select name="unit_code[{{ $detail->activity_code }}]" class="form-control unit-code"
data-activity-code="{{ $detail->activity_code }}"
data-current-unit="{{ $unitCode }}">
@foreach ($unitsByCategory[$unitCategory] ?? [] as $unit)
<option value="{{ $unit->code }}"
{{ $unit->code == $unitCode ? 'selected' : '' }}>
{{ $unit->code }}
</option>
@endforeach
</select>
@else
{{ $unitCode }}
@endif