diff --git a/src/components/Branches/BranchSelect.js b/src/components/Branches/BranchSelect.js index 3735af5d3..b07358ccc 100644 --- a/src/components/Branches/BranchSelect.js +++ b/src/components/Branches/BranchSelect.js @@ -35,7 +35,7 @@ const branchItemRenderer = (branch, { handleClick, modifiers, query }) => { + + + ); + + return ( + + + } + > + 1 {fromCurrency} = {exchangeRate} {toCurrency} + + + + ); +} + +const ExchangeRateFormGroup = styled(FormGroup)` + .bp3-label { + font-size: 12px !important; + opacity: 0.7; + line-height: 0.1rem; + } +`; + +const ExchangeRateButton = styled(Button)` + .bp3-button-text { + display: flex; + font-size: 13px; + font-weight: 500; + color: #0d244a; + } + padding: 0; +`; diff --git a/src/components/ExchangeRate/index.js b/src/components/ExchangeRate/index.js index ea982a466..039d6732e 100644 --- a/src/components/ExchangeRate/index.js +++ b/src/components/ExchangeRate/index.js @@ -1 +1,2 @@ -export * from './ExchangeRateInput'; \ No newline at end of file +export * from './ExchangeRateInput'; +export * from './ExchangeRateMutedField' \ No newline at end of file diff --git a/src/components/Warehouses/WarehouseSelect.js b/src/components/Warehouses/WarehouseSelect.js index dd0af73dc..cb9470d95 100644 --- a/src/components/Warehouses/WarehouseSelect.js +++ b/src/components/Warehouses/WarehouseSelect.js @@ -40,7 +40,7 @@ const warehouseItemRenderer = ( - !isEqual(toCurrency, fromCurrency) && !isUndefined(toCurrency); - // provider. const provider = { accounts, @@ -70,7 +65,6 @@ function MoneyInDialogProvider({ createCashflowTransactionMutate, setSubmitPayload, - isForeignCurrency, }; return ( diff --git a/src/containers/Dialogs/MoneyInDialog/MoneyInFloatingActions.js b/src/containers/Dialogs/MoneyInDialog/MoneyInFloatingActions.js index b33647f0f..3e786fe7b 100644 --- a/src/containers/Dialogs/MoneyInDialog/MoneyInFloatingActions.js +++ b/src/containers/Dialogs/MoneyInDialog/MoneyInFloatingActions.js @@ -48,7 +48,7 @@ function MoneyInFloatingActions({ > - + */} - + */}