mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
fix(ItemEntries): align checkbox.
This commit is contained in:
@@ -10,7 +10,6 @@ export default function DatatableEditable({
|
|||||||
totalRow = false,
|
totalRow = false,
|
||||||
actions,
|
actions,
|
||||||
name,
|
name,
|
||||||
className,
|
|
||||||
...tableProps
|
...tableProps
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ export function useEditableItemsEntriesColumns({ landedCost }) {
|
|||||||
disabledAccessor: 'landed_cost_disabled',
|
disabledAccessor: 'landed_cost_disabled',
|
||||||
disableSortBy: true,
|
disableSortBy: true,
|
||||||
disableResizing: true,
|
disableResizing: true,
|
||||||
className: 'landed-cost',
|
align: Align.Center,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
: []),
|
: []),
|
||||||
|
|||||||
@@ -8,11 +8,6 @@ import { Align, CellType } from 'common';
|
|||||||
import { MoneyFieldCell, Icon, T } from 'components';
|
import { MoneyFieldCell, Icon, T } from 'components';
|
||||||
import { InputGroupCell, ItemsListCell } from 'components/DataTableCells';
|
import { InputGroupCell, ItemsListCell } from 'components/DataTableCells';
|
||||||
|
|
||||||
// Index table cell.
|
|
||||||
export function IndexTableCell({ row: { index } }) {
|
|
||||||
return <span>{index + 1}</span>;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Actions cell renderer component.
|
* Actions cell renderer component.
|
||||||
*/
|
*/
|
||||||
@@ -119,6 +114,7 @@ export const useWarehouseTransferTableColumns = () => {
|
|||||||
{
|
{
|
||||||
Header: intl.get('warehouse_transfer.column.cost_price'),
|
Header: intl.get('warehouse_transfer.column.cost_price'),
|
||||||
accessor: 'cost',
|
accessor: 'cost',
|
||||||
|
Cell: MoneyFieldCell,
|
||||||
disableSortBy: true,
|
disableSortBy: true,
|
||||||
align: Align.Right,
|
align: Align.Right,
|
||||||
width: 80,
|
width: 80,
|
||||||
|
|||||||
Reference in New Issue
Block a user