update
parent
2a4fe7a76a
commit
cf6008a336
|
|
@ -16,21 +16,6 @@
|
|||
@endphp
|
||||
<th style="min-width: 150px; text-decoration:normal">
|
||||
{{ $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>
|
||||
@endforeach
|
||||
</tr>
|
||||
|
|
@ -60,7 +45,11 @@
|
|||
@endphp
|
||||
<td>
|
||||
<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>
|
||||
</td>
|
||||
@endforeach
|
||||
|
|
|
|||
Loading…
Reference in New Issue