update
parent
6fceb952ca
commit
b2da98f2e3
|
|
@ -69,14 +69,16 @@
|
||||||
<select name="unit_code[{{ $detail->activity_code }}]" class="form-control unit-code"
|
<select name="unit_code[{{ $detail->activity_code }}]" class="form-control unit-code"
|
||||||
data-activity-code="{{ $detail->activity_code }}"
|
data-activity-code="{{ $detail->activity_code }}"
|
||||||
data-current-unit="{{ $unitCode }}">
|
data-current-unit="{{ $unitCode }}">
|
||||||
@foreach (@$unitsByCategory[$unitCategory] as $unit)
|
@if (@$unitsByCategory[$unitCategory])
|
||||||
@if($unit->code == $unitCode)
|
@foreach (@$unitsByCategory[$unitCategory] as $unit)
|
||||||
<option value="{{ $unit->code }}"
|
@if($unit->code == $unitCode)
|
||||||
{{ $unit->code == $unitCode ? 'selected' : '' }}>
|
<option value="{{ $unit->code }}"
|
||||||
{{ $unit->code }}
|
{{ $unit->code == $unitCode ? 'selected' : '' }}>
|
||||||
</option>
|
{{ $unit->code }}
|
||||||
@endif
|
</option>
|
||||||
@endforeach
|
@endif
|
||||||
|
@endforeach
|
||||||
|
@endif
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue