diff --git a/POS/components.d.ts b/POS/components.d.ts index 1f2e8b35..e8cf8de3 100644 --- a/POS/components.d.ts +++ b/POS/components.d.ts @@ -38,6 +38,7 @@ declare module 'vue' { PartialPayments: typeof import('./src/components/partials/PartialPayments.vue')['default'] PaymentDialog: typeof import('./src/components/sale/PaymentDialog.vue')['default'] PhoneInput: typeof import('./src/components/common/PhoneInput.vue')['default'] + POSDialog: typeof import('./src/components/common/POSDialog.vue')['default'] POSFooter: typeof import('./src/components/common/POSFooter.vue')['default'] POSHeader: typeof import('./src/components/pos/POSHeader.vue')['default'] POSSettings: typeof import('./src/components/settings/POSSettings.vue')['default'] diff --git a/POS/src/components/ShiftClosingDialog.vue b/POS/src/components/ShiftClosingDialog.vue index 8359f063..060f4ea1 100644 --- a/POS/src/components/ShiftClosingDialog.vue +++ b/POS/src/components/ShiftClosingDialog.vue @@ -504,7 +504,8 @@ + + diff --git a/POS/src/components/invoices/InvoiceDetailDialog.vue b/POS/src/components/invoices/InvoiceDetailDialog.vue index 864cc76c..5bbe965b 100644 --- a/POS/src/components/invoices/InvoiceDetailDialog.vue +++ b/POS/src/components/invoices/InvoiceDetailDialog.vue @@ -281,7 +281,8 @@ import { DEFAULT_CURRENCY, formatCurrency as formatCurrencyUtil } from "@/utils/ import { getInvoiceStatusColor } from "@/utils/invoice" import { logger } from "@/utils/logger" import { hydrateLocalOnlyInvoice, isLocalOnlyInvoiceName } from "@/utils/printInvoice" -import { Button, Dialog, call } from "frappe-ui" +import Dialog from "@/components/common/POSDialog.vue" +import { Button, call } from "frappe-ui" import { ref, watch, nextTick, computed } from "vue" const log = logger.create('InvoiceDetailDialog') @@ -411,4 +412,3 @@ function handlePrint() { emit("print-invoice", invoiceData.value) } - diff --git a/POS/src/components/sale/BatchSerialDialog.vue b/POS/src/components/sale/BatchSerialDialog.vue index f4f09899..29843d72 100644 --- a/POS/src/components/sale/BatchSerialDialog.vue +++ b/POS/src/components/sale/BatchSerialDialog.vue @@ -198,7 +198,8 @@