Commits
Marek Vsechovsky committed 3a0014a1dd0
Session 178, Step 1: Add expiry date and recurring purchase support with renewal workflow - AIM-3371 Expiry date and recurring purchase support for AiCreditProviderPurchase with renewal workflow - AIM-3372 Add AiCPPurchaseExpires and AiCPPurchaseRecurring columns to AiCreditProviderPurchase - AIM-3373 Add purchase dialog: Expiry date picker and Recurring purchase checkbox on one line - AIM-3374 Purchase edit form: Expiry date picker and Recurring purchase checkbox on one line - AIM-3375 Purchase type dropdown: show recurring icon after recurring purchase type names - AIM-3376 Show recurring icon in purchase rows of Manage credit providers dialog and AI credit providers Settings tab - AIM-3377 Wf S4: Renew now warning button for recurring purchases expiring today - AIM-3378 Renewal confirmation dialog with unused-credit assignment radio group - AIM-3379 Renewal execution: zero remaining credit, create new purchase, refresh Wf S4 - AIM-3380 Unused credit option My organization: AiCost record for the current organization - AIM-3381 Unused credit option The current project: cost rows on special [unused credits] AiAgent - AIM-3382 Unused credit option Spread among active projects: per-project portions of remaining credit - AIM-3383 Auto-renew already expired purchases with Unused credit expired question dialog Outcome: AiCreditProviderPurchase now carries an expiry date and a recurring flag wired end-to-end: migration 146 adds `AiCPPurchaseExpires`/`AiCPPurchaseRecurring` plus the seeded `[unused credits]` AiAgent, the Add/Edit purchase dialogs show an "Expiry date" date-picker and a "Recurring purchase" checkbox on one line, the purchase type dropdown and the purchase rows of the Manage dialog and Settings tab show a pipe-preceded recurring icon, and the Wf S4 credit row gains a warning-colored "Renew now" button for recurring purchases expiring today with the renewal confirmation dialog (unused credit assignment radio group: organization, current project, or spread among active projects), the renewal endpoints that zero the remaining credit and create the next purchase starting on the old expiry date, and the automatic renewal flow with the "Unused credit expired" question dialog for purchases expired yesterday or earlier. `dotnet build` succeeds with no CS errors and `dashboard.min.js` was regenerated from the full bundleconfig input list.