AccountingNext/Schaad.Accounting.Tests
Claudio Schaad 7d7bd6073c Add "Strom" page for the yearly NeoVac electricity bill
A new page (/electricity) to record one electricity bill per billing
period (1 July-30 June) with a grid, add/edit dialog, and two Chart.js
charts (kWh split grid/PV per period, CHF/kWh as a line).

- ElectricityBill (Common): Grid/PV kWh and CHF, side costs, advance
  payment; computed TotalKwh, PvShare, TotalChf, Balance, ChfPerKwh.
- Stored once per mandator at {DataPath}/{mandator}/electricity.json
  instead of per year, since the billing period doesn't align with
  calendar years (new ISettingsService.GetMandatorPath(),
  BaseRepository gets a directory-aware SaveAsync overload).
- electricity.json is also editable through the JSON editor
  (RawDataRepository).
- charts.js: stackedBar/line charts can now show a unit other than
  CHF (defaults to CHF, so the Analyse page is unaffected).
- The add/edit dialog links to an annotated example (SVG, placeholder
  data) showing which value on the real NeoVac bill goes into which
  field; opens in its own dialog since the main dialog has a fixed
  height.
- Tests for the computed properties and the new repositories.

Also bumps the TargetFramework to net10.0 and updates the local
DataPath in appsettings.Development.json.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-25 20:30:40 +01:00
..
AccountingAnalysisTestShould.cs Analyse page: income, net and assets views; narrow-screen layout (#6) 2026-10-22 16:42:43 +00:00
AccountRepositoryTestShould.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00
ChartServiceTestShould.cs Add Analyse page: expenses over all years with drill-down (#4) 2026-10-22 14:02:08 +00:00
ElectricityBillRepositoryTestShould.cs Add "Strom" page for the yearly NeoVac electricity bill 2026-10-25 20:30:40 +01:00
ElectricityBillTestShould.cs Add "Strom" page for the yearly NeoVac electricity bill 2026-10-25 20:30:40 +01:00
FileServiceTestShould.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00
FormattingTestShould.cs PR G: test project with xxxTestShould / DoThisWhenThat / Shouldly 2026-07-02 21:25:48 +02:00
FxConverterTestShould.cs PR K: hide IFxService and FixerIo key behind IFxConverter 2026-07-02 21:51:44 +02:00
MultiYearRepositoryTestShould.cs Add Analyse page: expenses over all years with drill-down (#4) 2026-10-22 14:02:08 +00:00
RawDataRepositoryTestShould.cs Add "Strom" page for the yearly NeoVac electricity bill 2026-10-25 20:30:40 +01:00
RepositoryCacheTestShould.cs Remove XML-to-JSON data migration (#3) 2026-10-22 12:11:33 +00:00
Schaad.Accounting.Tests.csproj Cleanup: remove plan docs, update NuGet, centralize build config (#1) 2026-10-22 11:20:31 +00:00
SettingsServiceTestShould.cs Add "Strom" page for the yearly NeoVac electricity bill 2026-10-25 20:30:40 +01:00
TextReplacementTestShould.cs Add "Texte bereinigen" page for cleaning booking texts (#8) 2026-10-22 18:32:23 +00:00
TransactionDatasetTestShould.cs Group booking-text charts by first word instead of full text 2026-08-07 18:23:22 +02:00
TransactionRepositoryTestShould.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00
ViewServiceTestShould.cs PR P: full async I/O top to bottom (item 19) 2026-07-03 18:30:44 +02:00