update
parent
c07f71ed69
commit
3ddd96766c
|
|
@ -69,7 +69,15 @@
|
||||||
<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 }}">
|
||||||
|
<?php dd($unitsByCategory[$unitCategory]); ?>
|
||||||
|
@foreach ($unitsByCategory[$unitCategory] as $unit)
|
||||||
|
@if($unit->code == $unitCode)
|
||||||
|
<option value="{{ $unit->code }}"
|
||||||
|
{{ $unit->code == $unitCode ? 'selected' : '' }}>
|
||||||
|
{{ $unit->code }}
|
||||||
|
</option>
|
||||||
|
@endif
|
||||||
|
@endforeach
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue