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