update
parent
8a936efcb0
commit
1890cbed4b
|
|
@ -37,12 +37,11 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
@php
|
||||
$counter = 1;
|
||||
$years = activityYearRange($inventoryYear);
|
||||
@endphp
|
||||
@foreach ($years as $year)
|
||||
@foreach ($years as $k => $year)
|
||||
<tr>
|
||||
<td>{{ $counter }}</td>
|
||||
<td>{{ $k+1 }}</td>
|
||||
<td>{{ $year }}</td>
|
||||
@foreach ($formDetails as $detail)
|
||||
@php
|
||||
|
|
@ -61,19 +60,10 @@
|
|||
value="{{ getFormattedValue($activity_value) ?? '' }}"
|
||||
class="form-control text-right" oninput="numberFormat(this)"
|
||||
{{ $isLocked || $instansi === 'all' || $limitInternal ? 'readonly' : '' }}>
|
||||
{{-- <div class="input-group-text">
|
||||
{{ $detail->unit_code }}
|
||||
</div> --}}
|
||||
</div>
|
||||
{{-- <input type="hidden"
|
||||
name="data[{{ $year }}][{{ $detail->activity_code }}-{{ $detail->unit_code }}]"
|
||||
value="{{ $activity_value }}"> --}}
|
||||
</div>
|
||||
</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@php
|
||||
$counter++;
|
||||
@endphp
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Reference in New Issue