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
@@ -117,7 +117,7 @@
so jobs, quotes, invoices, and AR aging always look current.
</p>
<ul class="mb-3 small">
<li>Removes: customers, jobs, quotes, invoices, inventory, equipment, catalog, pricing tiers, operating costs</li>
<li>Removes: customers, jobs, quotes, invoices, inventory, equipment, catalog, pricing tiers, operating costs, vendor bills, expenses</li>
<li>Re-seeds: 100 customers, 50 jobs across all statuses, quotes, invoices, inventory transactions, vendor bills, appointments &mdash; all dated from today</li>
<li>Preserves: user accounts, company settings, lookup tables (job statuses, priorities, etc.)</li>
</ul>