From 743ced358d6a442bc79a86acc971755180225960 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 22 Nov 2025 11:11:49 +0100 Subject: [PATCH] =?UTF-8?q?Revisi=C3=B3n=20de=20cambio=20de=20estado=20de?= =?UTF-8?q?=20proformas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controllers/use-change-status-dialog-controller.ts | 7 +------ .../src/web/proformas/change-status/hooks/index.ts | 2 +- ...{use-change-proforma-status.ts => use-change-status.ts} | 0 3 files changed, 2 insertions(+), 7 deletions(-) rename modules/customer-invoices/src/web/proformas/change-status/hooks/{use-change-proforma-status.ts => use-change-status.ts} (100%) diff --git a/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts b/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts index af447e66..c9a9902a 100644 --- a/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts +++ b/modules/customer-invoices/src/web/proformas/change-status/controllers/use-change-status-dialog-controller.ts @@ -2,12 +2,7 @@ import { showErrorToast } from "@repo/rdx-ui/helpers"; import * as React from "react"; import type { ProformaSummaryData } from "../../types"; -import { useChangeProformaStatus } from "../hooks/use-change-proforma-status"; - -type ProformasType = { - id: string; - status: string; -}[]; +import { useChangeProformaStatus } from "../hooks/use-change-status"; interface ChangeStatusDialogState { open: boolean; diff --git a/modules/customer-invoices/src/web/proformas/change-status/hooks/index.ts b/modules/customer-invoices/src/web/proformas/change-status/hooks/index.ts index 3e7d18eb..5f4e2a47 100644 --- a/modules/customer-invoices/src/web/proformas/change-status/hooks/index.ts +++ b/modules/customer-invoices/src/web/proformas/change-status/hooks/index.ts @@ -1 +1 @@ -export * from "./use-change-proforma-status"; +export * from "./use-change-status"; diff --git a/modules/customer-invoices/src/web/proformas/change-status/hooks/use-change-proforma-status.ts b/modules/customer-invoices/src/web/proformas/change-status/hooks/use-change-status.ts similarity index 100% rename from modules/customer-invoices/src/web/proformas/change-status/hooks/use-change-proforma-status.ts rename to modules/customer-invoices/src/web/proformas/change-status/hooks/use-change-status.ts