Export the operations for the tax return

Every execution, dividend and correction of a world, with its value in euro
at the ECB rate of its own Italian day or the last one before it, and for
sales the cost of what was sold. Costs come from the executions of the whole
account, so the method (LIFO by default, or FIFO) can be changed at any
time. A missing rate leaves the cell empty and says so.

The ECB download no longer leaves holes after a pause, and each execution
keeps the reference rate in force when it happened (SPEC 6.8).

refs #73

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-12-01 19:33:10 +01:00
1 parent 3cd214ae78
commit 9d1a4f2f69
11 files changed
+890 -13

No files matched your search

+1 -1
View File
@@ -273,7 +273,7 @@ internal static partial class Forms
var back = Back(form, "/impostazioni");
var news = Anubis.News.NewsRuleSettings.All.Any(d => d.Key == key);
var model = Anubis.News.NewsModelSettings.All.Any(d => d.Key == key);
if (key != SettingsStore.Theme.Key && key != SettingsStore.Currency.Key && key != SettingsStore.CentralBankMeetings.Key && key != SettingsStore.TelegramStatus.Key &&
if (key != SettingsStore.Theme.Key && key != SettingsStore.Currency.Key && key != SettingsStore.CentralBankMeetings.Key && key != SettingsStore.TelegramStatus.Key && key != Anubis.Trading.TaxExport.MethodSetting.Key &&
!news && !model)
{
return Results.Redirect(With(back, "errore", "impostazione"));