diff --git a/src/components/ModalConfrim.tsx b/src/components/ModalConfrim.tsx index 78f55ab..5aae045 100644 --- a/src/components/ModalConfrim.tsx +++ b/src/components/ModalConfrim.tsx @@ -10,7 +10,8 @@ type Props = { isOpen: boolean, onConfrim: (text?: string) => void, label?: string, - isHasDescription?: boolean + isHasDescription?: boolean, + title?: string } const ModalConfrim: FC = (props: Props) => { @@ -22,7 +23,7 @@ const ModalConfrim: FC = (props: Props) => {
diff --git a/src/components/PDFGenerator.tsx b/src/components/PDFGenerator.tsx index 63bb13e..3ef83c4 100644 --- a/src/components/PDFGenerator.tsx +++ b/src/components/PDFGenerator.tsx @@ -20,7 +20,7 @@ const PDFGenerator: FC = () => {
+
+
+ جریمه دیرکرد +
+
+ {NumberFormat(getInvoce.data?.data?.invoice?.lateFee)} تومان +
+
جمع کل diff --git a/src/pages/receipts/components/PayInvoice.tsx b/src/pages/receipts/components/PayInvoice.tsx index 32efd4e..402bdca 100644 --- a/src/pages/receipts/components/PayInvoice.tsx +++ b/src/pages/receipts/components/PayInvoice.tsx @@ -55,6 +55,7 @@ const PayInvoice: FC = ({ id, refetch, gateWayId }) => { /> setShowModal(false)} onConfrim={getInvoce.data?.data?.remainingToCharge > 0 ? handleChartWallet : handleConfrim}