chore(18-01): remove quote builder route, exclusive components, and SendQuoteModal entry point (CLEAN-02)

- Delete src/app/admin/quotes/new/page.tsx and actions.ts re-export
- Delete QuoteBuilderForm, OfferSelector, PriceOverrideInput, QuotePreview components
- Rewrite SendQuoteModal: remove "Crea Nuovo" tab and window.location navigation to quotes/new
- Remove stale JSDoc comment referencing /admin/quotes/new from admin-queries.ts
This commit is contained in:
2026-06-19 12:07:48 +02:00
parent 14bdbab880
commit 268f56ccd2
8 changed files with 27 additions and 463 deletions
-1
View File
@@ -859,7 +859,6 @@ export async function getQuotesByClient(clientId: string): Promise<Quote[]> {
/**
* Get all offer macros with their micros (ordered by sort_order)
* Used by: /admin/quotes/new form (OfferSelector dropdown)
*/
export async function getAllOfferMacrosWithMicros(): Promise<
(OfferMacro & { micros: OfferMicro[] })[]