|
|
@@ -170,17 +170,17 @@
|
|
170
|
170
|
</tr>
|
|
171
|
171
|
@if($overviewCategory->header['account_name'] === 'Starting Balance')
|
|
172
|
172
|
<!-- Insert Gross Cash Inflow, Gross Cash Outflow, and Net Cash Change here -->
|
|
173
|
|
- @foreach($report->getSummary() as $summaryItem)
|
|
|
173
|
+ @foreach($report->getSummaryAlignedWithColumns() as $summaryRow)
|
|
174
|
174
|
<tr>
|
|
175
|
|
- <x-company.tables.cell :alignment-class="$report->getAlignmentClass('account_name')"
|
|
176
|
|
- :bold="$loop->last">
|
|
177
|
|
- {{ $summaryItem['label'] }}
|
|
178
|
|
- </x-company.tables.cell>
|
|
179
|
|
- <x-company.tables.cell :alignment-class="$report->getAlignmentClass('net_movement')"
|
|
180
|
|
- :bold="$loop->last" :underline-bold="$loop->last"
|
|
181
|
|
- :underline-thin="$loop->remaining === 1">
|
|
182
|
|
- {{ $summaryItem['value'] }}
|
|
183
|
|
- </x-company.tables.cell>
|
|
|
175
|
+ @foreach($summaryRow as $summaryIndex => $summaryCell)
|
|
|
176
|
+ <x-company.tables.cell :alignment-class="$report->getAlignmentClass($summaryIndex)"
|
|
|
177
|
+ :bold="$loop->parent->last"
|
|
|
178
|
+ :underline-bold="$loop->parent->last && $summaryIndex === 'net_movement'"
|
|
|
179
|
+ :underline-thin="$loop->parent->remaining === 1 && $summaryIndex === 'net_movement'"
|
|
|
180
|
+ >
|
|
|
181
|
+ {{ $summaryCell }}
|
|
|
182
|
+ </x-company.tables.cell>
|
|
|
183
|
+ @endforeach
|
|
184
|
184
|
</tr>
|
|
185
|
185
|
@endforeach
|
|
186
|
186
|
@endif
|