mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
fix: fix format.
This commit is contained in:
@@ -25,14 +25,14 @@ export function useRefundCreditTransactionsTableColumns() {
|
|||||||
() => [
|
() => [
|
||||||
{
|
{
|
||||||
Header: intl.get('date'),
|
Header: intl.get('date'),
|
||||||
accessor: 'date',
|
accessor: 'formatted_date',
|
||||||
Cell: FormatDateCell,
|
Cell: FormatDateCell,
|
||||||
width: 100,
|
width: 100,
|
||||||
className: 'date',
|
className: 'date',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Header: intl.get('refund_credit_transactions.column.amount_refunded'),
|
Header: intl.get('refund_credit_transactions.column.amount_refunded'),
|
||||||
accessor: 'amount',
|
accessor: 'formtted_amount',
|
||||||
width: 100,
|
width: 100,
|
||||||
className: 'amount',
|
className: 'amount',
|
||||||
align: 'right',
|
align: 'right',
|
||||||
|
|||||||
@@ -25,14 +25,14 @@ export function useRefundCreditTransactionsTableColumns() {
|
|||||||
() => [
|
() => [
|
||||||
{
|
{
|
||||||
Header: intl.get('date'),
|
Header: intl.get('date'),
|
||||||
accessor: 'date',
|
accessor: 'formatted_date',
|
||||||
Cell: FormatDateCell,
|
Cell: FormatDateCell,
|
||||||
width: 100,
|
width: 100,
|
||||||
className: 'date',
|
className: 'date',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Header: intl.get('refund_vendor_credit.column.amount'),
|
Header: intl.get('refund_vendor_credit.column.amount'),
|
||||||
accessor: 'amount',
|
accessor: 'formtted_amount',
|
||||||
width: 100,
|
width: 100,
|
||||||
className: 'amount',
|
className: 'amount',
|
||||||
align: 'right',
|
align: 'right',
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export function ActionsMenu({
|
|||||||
onClick={safeCallback(onOpen, original)}
|
onClick={safeCallback(onOpen, original)}
|
||||||
/>
|
/>
|
||||||
</If>
|
</If>
|
||||||
<If condition={!original.is_draft && original.is_published}>
|
<If condition={!original.is_draft && !original.is_closed && original.is_published}>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
// icon={<Icon icon="quick-payment-16" />}
|
// icon={<Icon icon="quick-payment-16" />}
|
||||||
text={intl.get('vendor_credits.action.reconcile_with_bills')}
|
text={intl.get('vendor_credits.action.reconcile_with_bills')}
|
||||||
|
|||||||
Reference in New Issue
Block a user