fix: formatted amount & lang in credit view.

This commit is contained in:
elforjani13
2021-12-04 12:41:08 +02:00
parent 26cf1d20f3
commit 58a0ed4ecd
5 changed files with 29 additions and 2 deletions

View File

@@ -237,6 +237,10 @@ export default [
ability: SaleReceiptAction.Create,
},
},
{
text: <T id={'credit_note.label.new_credit_note'} />,
href: '/credit-notes/new',
},
{
text: <T id={'new_payment_receive'} />,
href: '/payment-receives/new',

View File

@@ -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';

View File

@@ -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';

View File

@@ -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 #",

View File

@@ -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;
}
}
}
}