@php $spUnitsExt = $spUnitsExt ?? []; $defaultSpRowExtended = $defaultSpRowExtended ?? []; if (count($spUnitsExt) === 0) { $spUnitsExt = [['unit_name' => '', 'rows' => [$defaultSpRowExtended]]]; } @endphp
@include('reports.partials.b2-scheme-progress-sheet-head')
@foreach ($spUnitsExt as $uIdx => $unit) @php $uRows = is_array($unit['rows'] ?? null) && count($unit['rows']) > 0 ? $unit['rows'] : [$defaultSpRowExtended ?? []]; $uName = old('report.part_b.scheme_progress_capital.units.'.$uIdx.'.unit_name', $unit['unit_name'] ?? ''); $uTotPp = \App\Services\ReportPreviewPresenter::schemeProgressPctInputValue(old('report.part_b.scheme_progress_capital.units.'.$uIdx.'.totals.pp_pct', data_get($unit, 'totals.pp_pct', ''))); $uTotFp = \App\Services\ReportPreviewPresenter::schemeProgressPctInputValue(old('report.part_b.scheme_progress_capital.units.'.$uIdx.'.totals.fp_pct', data_get($unit, 'totals.fp_pct', ''))); @endphp
@foreach ($uRows as $rIdx => $row) @php $dot = 'report.part_b.scheme_progress_capital.units.'.$uIdx.'.rows.'.$rIdx.'.'; @endphp @endforeach
S# {{ __('Major Unit / Component (As per PC-I)') }} {{ __('Qty') }} ({{ __('PC-I / Rev PC-I') }}) {{ __('Amount') }} ({{ __('PC-I / Rev PC-I') }}) {{ __('Qty') }} ({{ __('Per T.S. / Rev T.S.') }}) {{ __('Amount') }} ({{ __('Per T.S. / Rev T.S.') }}) {{ __('Qty Recorded') }} ({{ __('In MB') }}) {{ __('Payment') }} ({{ __('As per MB') }}) PP (%) FP (%) {{ __('Variance') }} ({{ __('PP & FP') }})
{{ $rIdx + 1 }}
{{ __('TOTAL (THIS UNIT)') }}
@endforeach