mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
feat: disable change currency in all services temp.
This commit is contained in:
@@ -194,6 +194,7 @@ function MakeJournalEntriesHeader({
|
|||||||
form.setFieldValue('currency_code', currencyItem.currency_code);
|
form.setFieldValue('currency_code', currencyItem.currency_code);
|
||||||
}}
|
}}
|
||||||
defaultSelectText={value}
|
defaultSelectText={value}
|
||||||
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ export default function CustomerFinancialPanel() {
|
|||||||
onCurrencySelected={(currency) => {
|
onCurrencySelected={(currency) => {
|
||||||
form.setFieldValue('currency_code', currency.currency_code);
|
form.setFieldValue('currency_code', currency.currency_code);
|
||||||
}}
|
}}
|
||||||
disabled={customerId}
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -98,6 +98,7 @@ export default function ExpenseFormHeader() {
|
|||||||
form.setFieldValue('currency_code', currencyItem.currency_code);
|
form.setFieldValue('currency_code', currencyItem.currency_code);
|
||||||
}}
|
}}
|
||||||
defaultSelectText={value}
|
defaultSelectText={value}
|
||||||
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ export default function VendorFinanicalPanelTab() {
|
|||||||
onCurrencySelected={(currency) => {
|
onCurrencySelected={(currency) => {
|
||||||
form.setFieldValue('currency_code', currency.currency_code);
|
form.setFieldValue('currency_code', currency.currency_code);
|
||||||
}}
|
}}
|
||||||
disabled={vendorId}
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user