update
parent
f76c1acac0
commit
d189c3a79a
|
|
@ -18,16 +18,7 @@
|
||||||
{{ $detail->activity ? $detail->activity->name : 'N/A' }} - ({{ $detail->unit_code }})
|
{{ $detail->activity ? $detail->activity->name : 'N/A' }} - ({{ $detail->unit_code }})
|
||||||
|
|
||||||
@if ($unitCategory)
|
@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
|
@else
|
||||||
{{ $unitCode }}
|
{{ $unitCode }}
|
||||||
@endif
|
@endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue