main
Ilham Wara Nugroho 2026-06-12 14:42:06 +07:00
parent 6c5c6ace07
commit 57b418392f
1 changed files with 42 additions and 39 deletions

View File

@ -43,7 +43,7 @@
<input type="hidden" name="instansi" value="{{ $instansi }}"> <input type="hidden" name="instansi" value="{{ $instansi }}">
<div class="table-responsive mt-3" style="overflow-x: auto;"> <div class="table-responsive mt-3" style="overflow-x: auto;">
<table class="table table-bordered table-detail"> <table class="table table-bordered table-detail">
<thead class="table-info text-white">
<tr> <tr>
<th>No.</th> <th>No.</th>
<th>Tahun</th> <th>Tahun</th>
@ -63,8 +63,6 @@
</th> </th>
@endforeach @endforeach
</tr> </tr>
</thead>
<tbody>
@php @php
$years = activityYearRange($inventoryYear); $years = activityYearRange($inventoryYear);
@endphp @endphp
@ -82,12 +80,17 @@
: ''; : '';
@endphp @endphp
<td> <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> </td>
@endforeach @endforeach
</tr> </tr>
@endforeach @endforeach
</tbody>
</table> </table>
</form> </form>
{{-- @include('modules.form.table') --}} {{-- @include('modules.form.table') --}}