main
Ilham Wara Nugroho 2026-06-10 15:54:02 +07:00
parent 57c8c05d74
commit 6fceb952ca
1 changed files with 1 additions and 2 deletions

View File

@ -69,8 +69,7 @@
<select name="unit_code[{{ $detail->activity_code }}]" class="form-control unit-code"
data-activity-code="{{ $detail->activity_code }}"
data-current-unit="{{ $unitCode }}">
<?php dd($unitsByCategory[$unitCategory]); echo "string"; ?>
@foreach ($unitsByCategory[$unitCategory] as $unit)
@foreach (@$unitsByCategory[$unitCategory] as $unit)
@if($unit->code == $unitCode)
<option value="{{ $unit->code }}"
{{ $unit->code == $unitCode ? 'selected' : '' }}>