From 58a0ed4ecd65a632a44db35a805d81aa59e68e08 Mon Sep 17 00:00:00 2001 From: elforjani13 <39470382+elforjani13@users.noreply.github.com> Date: Sat, 4 Dec 2021 12:41:08 +0200 Subject: [PATCH] fix: formatted amount & lang in credit view. --- src/config/sidebarMenu.js | 4 ++++ .../Drawers/BillDrawer/BillDrawerContent.js | 1 - .../BillDrawer/LocatedLandedCostTable.js | 2 ++ src/lang/en/index.json | 2 +- src/style/pages/AllocateLandedCost/List.scss | 22 +++++++++++++++++++ 5 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 src/style/pages/AllocateLandedCost/List.scss diff --git a/src/config/sidebarMenu.js b/src/config/sidebarMenu.js index 5e1ca1b60..7a904a1fb 100644 --- a/src/config/sidebarMenu.js +++ b/src/config/sidebarMenu.js @@ -237,6 +237,10 @@ export default [ ability: SaleReceiptAction.Create, }, }, + { + text: , + href: '/credit-notes/new', + }, { text: , href: '/payment-receives/new', diff --git a/src/containers/Drawers/BillDrawer/BillDrawerContent.js b/src/containers/Drawers/BillDrawer/BillDrawerContent.js index c5458fdc5..e2df6d6c4 100644 --- a/src/containers/Drawers/BillDrawer/BillDrawerContent.js +++ b/src/containers/Drawers/BillDrawer/BillDrawerContent.js @@ -1,7 +1,6 @@ import React from 'react'; import { DrawerBody } from 'components'; -import 'style/components/Drawers/ViewDetail/ViewDetail.scss'; import { BillDrawerProvider } from './BillDrawerProvider'; import BillDrawerDetails from './BillDrawerDetails'; diff --git a/src/containers/Drawers/BillDrawer/LocatedLandedCostTable.js b/src/containers/Drawers/BillDrawer/LocatedLandedCostTable.js index c06848a30..5830a0166 100644 --- a/src/containers/Drawers/BillDrawer/LocatedLandedCostTable.js +++ b/src/containers/Drawers/BillDrawer/LocatedLandedCostTable.js @@ -5,6 +5,8 @@ import { Button, Classes, NavbarGroup } from '@blueprintjs/core'; import { useLocatedLandedCostColumns, ActionsMenu } from './components'; import { useBillDrawerContext } from './BillDrawerProvider'; +import '../../../style/pages/AllocateLandedCost/List.scss'; + import withAlertsActions from 'containers/Alert/withAlertActions'; import withDialogActions from 'containers/Dialog/withDialogActions'; import withDrawerActions from 'containers/Drawer/withDrawerActions'; diff --git a/src/lang/en/index.json b/src/lang/en/index.json index a61e77cee..3c7434950 100644 --- a/src/lang/en/index.json +++ b/src/lang/en/index.json @@ -1506,7 +1506,7 @@ "credit_note.success_message": "The credit note has been created successfully.", "credit_note.edit_success_message": "The credit note has been edited successfully.", "sidebar_vendor_credits": "Vendor Credits", - "vendor_credits.lable_vendor_credit_list": "Vendor Credit List", + "vendor_credits.lable_vendor_credit_list": "Vendor Credits List", "vendor_credits.label.new_vendor_credit": "New Vendor Credit", "vendor_credits.label.edit_vendor_credit": "Edit Vendor Credit", "vendor_credits.column.vendor_credit_no": "Vendor Credit #", diff --git a/src/style/pages/AllocateLandedCost/List.scss b/src/style/pages/AllocateLandedCost/List.scss new file mode 100644 index 000000000..a09b2fddf --- /dev/null +++ b/src/style/pages/AllocateLandedCost/List.scss @@ -0,0 +1,22 @@ +.datatable--landed-cost-transactions { + padding: 12px; + .table { + .tbody, + .thead { + .tr .th { + padding: 8px 8px; + background-color: #fff; + font-size: 14px; + border-bottom: 1px solid #000; + border-top: 1px solid #000; + } + } + .tbody { + .tr .td { + border-bottom: 0; + padding-top: 0.4rem; + padding-bottom: 0.4rem; + } + } + } +}