Fix demo reset: wipe bills/expenses, fix apostrophe display bug

- Add Bills and Expenses flags to RemoveSeedDataOptions
- RemoveSeedDataAsync: delete BillPayments + BillLineItems + Bills, then
  Expenses for the company when those flags are set
- ResetDemoCompany action: enable Bills=true and Expenses=true so all
  seeded AP data is cleared before re-seeding (was skipping on second reset)
- Fix apostrophe in success message (was ' in C# string, double-encoded
  by Razor to literal ' on screen)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 21:48:43 -04:00
parent 86a293a927
commit 72382a5dd5
4 changed files with 66 additions and 3 deletions
@@ -45,6 +45,8 @@ public class RemoveSeedDataOptions
public bool Catalog { get; set; }
public bool PricingTiers { get; set; }
public bool OperatingCosts { get; set; }
public bool Bills { get; set; }
public bool Expenses { get; set; }
}
public class SeedDataResult