Extract ReportHeader, ReportDivider, ReportSectionHeader, and
ReportFooter under Components/Pages/Reports/ and adopt them across
BalanceReport, BalanceSheetReport, ProfitLossReport, and DetailReport.
Row shapes are unchanged; the primitives just fold the divider hr
rows (30+ occurrences), section headers (8), and header/footer (4
each). ProfitLossReport / DetailReport also drop leftover
`m.Class == 3/4` magic numbers for ClassIds. Print CSS gains
`table.report tr { page-break-inside: avoid; }` so section headers
don't land at the bottom of a page alone. Net -88 lines across the
four report razor files.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
11 lines
246 B
Text
11 lines
246 B
Text
@* Full-width table divider — <tr><td colspan="N"><hr/></td></tr>.
|
|
Callers pass their table's column count. *@
|
|
|
|
<tr>
|
|
<td colspan="@Colspan"><hr/></td>
|
|
</tr>
|
|
|
|
@code {
|
|
[Parameter, EditorRequired]
|
|
public int Colspan { get; set; }
|
|
}
|