update
parent
2a4fe7a76a
commit
cf6008a336
|
|
@ -16,21 +16,6 @@
|
||||||
@endphp
|
@endphp
|
||||||
<th style="min-width: 150px; text-decoration:normal">
|
<th style="min-width: 150px; text-decoration:normal">
|
||||||
{{ $detail->activity ? $detail->activity->name : 'N/A' }} - ({{ $detail->unit_code }})
|
{{ $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
|
|
||||||
</th>
|
</th>
|
||||||
@endforeach
|
@endforeach
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -60,7 +45,11 @@
|
||||||
@endphp
|
@endphp
|
||||||
<td>
|
<td>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
<input type="text"
|
||||||
|
name="data[{{ $year }}][{{ $detail->activity_code }}-{{ $detail->unit_code }}]"
|
||||||
|
value="{{ getFormattedValue($activity_value) ?? '' }}"
|
||||||
|
class="form-control text-right" oninput="numberFormat(this)"
|
||||||
|
{{ $isLocked || $instansi === 'all' || $limitInternal ? 'readonly' : '' }}>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue