mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
feat: add localization.
This commit is contained in:
@@ -38,9 +38,8 @@ export function useRefundCreditTransactionsTableColumns() {
|
||||
align: 'right',
|
||||
},
|
||||
{
|
||||
Header: intl.get(
|
||||
'refund_credit_transactions.column.withdrawal_account',
|
||||
),
|
||||
id: 'from_account',
|
||||
Header: intl.get('refund_credit_transactions.column.withdrawal_account'),
|
||||
accessor: ({ from_account }) => from_account.name,
|
||||
width: 100,
|
||||
className: 'from_account',
|
||||
|
||||
@@ -56,7 +56,9 @@ function VendorCreditDetailDrawerProvider({ vendorCreditId, ...props }) {
|
||||
>
|
||||
<DrawerHeaderContent
|
||||
name="vendor-credit-detail-drawer"
|
||||
title={intl.get('vendor_credit.drawer_vendor_credit_detail')}
|
||||
title={intl.get('vendor_credit.drawer_vendor_credit_detail', {
|
||||
vendorNumber: vendorCredit.vendor_credit_number,
|
||||
})}
|
||||
/>
|
||||
<VendorCreditDetailDrawerContext.Provider value={provider} {...props} />
|
||||
</DrawerLoading>
|
||||
|
||||
Reference in New Issue
Block a user