AccountingNext/Schaad.Accounting.UI/Components/MyHeader.razor
Claudio Schaad 64494e2de8 Analyse page: income, net and assets views; narrow-screen layout
- View switch Ausgaben | Einnahmen | Netto | Vermögen (URL: view=).
  ExpenseAnalysis becomes AccountingAnalysis:
  - Income: bookings from income accounts positive, to them negative
  - Net: income positive, expenses negative, ordered by size; bar chart with
    a net line, savings-rate tile, no treemap (areas can't be negative)
  - Assets: month-end balances of asset accounts in CHF (foreign balances
    converted once per currency, like the balance sheet); periods take their
    last balance, drill-down ends at the account
- Change colours follow the view: more expenses red, more income/assets green
- Old Vermögen chart page and its menu entry removed
- Narrow screens: side menu starts collapsed below 700px, slimmer header,
  wrapping button groups, two KPI tiles per row, pinned name column in the
  year table

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:38:46 +02:00

19 lines
No EOL
817 B
Text

@rendermode InteractiveServer
<span class="brand">AccountingNext</span>
<FluentStack Orientation="Orientation.Horizontal" HorizontalAlignment="HorizontalAlignment.Right">
<FluentSelect TOption="int" Width="100px" aria-label="Jahr"
Items=@years
OptionText="@(i => i.ToString())"
OptionValue="@(i => i.ToString())"
@bind-SelectedOption="@selectedYear"
ValueChanged="YearChanged"/>
<FluentSelect TOption="string" Width="180px" aria-label="Mandant"
Items=@mandators
OptionText="@(i => i.ToString())"
OptionValue="@(i => i.ToString())"
@bind-SelectedOption="@selectedMandator"
ValueChanged="MandatorChanged"/>
</FluentStack>