From e6e165efe4bdc5b05078c497326da7b7310e4eb6 Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Wed, 24 Mar 2021 16:44:19 +0200 Subject: [PATCH] fix(paymentpaper): payment receive paper. --- .../src/containers/Drawers/PaperTemplate/PaperTemplateTable.js | 2 +- .../Drawers/PaymentPaperTemplate/PaymentPaperTemplateHeader.js | 2 +- .../Sales/PaymentReceives/PaymentDetails/PaymentReceivePaper.js | 2 +- client/src/style/components/Drawer/DrawerTemplate.scss | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/containers/Drawers/PaperTemplate/PaperTemplateTable.js b/client/src/containers/Drawers/PaperTemplate/PaperTemplateTable.js index db7a5cbed..a73e60760 100644 --- a/client/src/containers/Drawers/PaperTemplate/PaperTemplateTable.js +++ b/client/src/containers/Drawers/PaperTemplate/PaperTemplateTable.js @@ -30,7 +30,7 @@ export default function DrawerTemplateTable({ tableData, currencyCode }) { ), disableSortBy: true, - width: 50, + width: 70, }, ], [], diff --git a/client/src/containers/Drawers/PaymentPaperTemplate/PaymentPaperTemplateHeader.js b/client/src/containers/Drawers/PaymentPaperTemplate/PaymentPaperTemplateHeader.js index 448bb7dcc..a8299a99a 100644 --- a/client/src/containers/Drawers/PaymentPaperTemplate/PaymentPaperTemplateHeader.js +++ b/client/src/containers/Drawers/PaymentPaperTemplate/PaymentPaperTemplateHeader.js @@ -15,7 +15,7 @@ export default function PaymentPaperTemplateHeader({ referenceNo={referenceNo} amount={amount} billedFrom={''} - currency={currency_code} + currencyCode={currency_code} /> ); diff --git a/client/src/containers/Sales/PaymentReceives/PaymentDetails/PaymentReceivePaper.js b/client/src/containers/Sales/PaymentReceives/PaymentDetails/PaymentReceivePaper.js index 50cc17622..01b9c0cf4 100644 --- a/client/src/containers/Sales/PaymentReceives/PaymentDetails/PaymentReceivePaper.js +++ b/client/src/containers/Sales/PaymentReceives/PaymentDetails/PaymentReceivePaper.js @@ -5,5 +5,5 @@ import { usePaymentReceiveDrawerContext } from './PaymentReceiveDrawerProvider'; export default function PaymentReceivePaper() { const { paymentReceive } = usePaymentReceiveDrawerContext(); - return ; + return ; } diff --git a/client/src/style/components/Drawer/DrawerTemplate.scss b/client/src/style/components/Drawer/DrawerTemplate.scss index 22a6d58c1..4ad14b775 100644 --- a/client/src/style/components/Drawer/DrawerTemplate.scss +++ b/client/src/style/components/Drawer/DrawerTemplate.scss @@ -32,7 +32,7 @@ border-bottom: 2px solid #1155cc; padding: 2px 2px 30px; &__info { - flex: 0 1 24%; + flex: 0 1 22%; padding-left: 5px; color: #999999; font-size: 16px;