Fix for default payment currency setting
This commit is contained in:
parent
bc54291b38
commit
ba34b14066
|
|
@ -81,7 +81,7 @@ class _PaymentEditState extends State<PaymentEdit> {
|
||||||
_showConvertCurrency =
|
_showConvertCurrency =
|
||||||
payment.exchangeRate != 1 && payment.exchangeRate != 0;
|
payment.exchangeRate != 1 && payment.exchangeRate != 0;
|
||||||
final state = widget.viewModel.state;
|
final state = widget.viewModel.state;
|
||||||
if (state.company.convertExpenseCurrency) {
|
if (state.company.convertPaymentCurrency) {
|
||||||
_showConvertCurrency = true;
|
_showConvertCurrency = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue