mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat(ExchangeRateInput): depend on currency code instead of country code.
This commit is contained in:
@@ -28,7 +28,6 @@ function ItemsEntriesTable({
|
||||
defaultEntry,
|
||||
errors,
|
||||
onUpdateData,
|
||||
linesNumber,
|
||||
currencyCode,
|
||||
itemType, // sellable or purchasable
|
||||
landedCost = false,
|
||||
@@ -95,7 +94,6 @@ function ItemsEntriesTable({
|
||||
progressBarLoading={isItemFetching}
|
||||
cellsLoading={isItemFetching}
|
||||
cellsLoadingCoords={cellsLoading}
|
||||
footer={true}
|
||||
payload={{
|
||||
items,
|
||||
errors: errors || [],
|
||||
@@ -118,7 +116,7 @@ ItemsEntriesTable.defaultProps = {
|
||||
discount: '',
|
||||
},
|
||||
initialEntries: [],
|
||||
linesNumber: 4,
|
||||
linesNumber: 1,
|
||||
};
|
||||
|
||||
export default ItemsEntriesTable;
|
||||
|
||||
Reference in New Issue
Block a user