mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-31 18:54:58 +00:00
Big update to properly support multi currencies.
This commit is contained in:
@@ -38,11 +38,12 @@ function updateInitialPage() {
|
||||
$('#native_amount_holder').hide();
|
||||
$('#amount_holder').hide();
|
||||
|
||||
if (journalData.native_currency.id === journalData.currency.id) {
|
||||
|
||||
if (journalData.native_currency.id === journalData.destination_currency.id) {
|
||||
$('#exchange_rate_instruction_holder').hide();
|
||||
$('#destination_amount_holder').hide();
|
||||
}
|
||||
if (journalData.native_currency.id !== journalData.currency.id) {
|
||||
if (journalData.native_currency.id !== journalData.destination_currency.id) {
|
||||
$('#exchange_rate_instruction_holder').show().find('p').text(getTransferExchangeInstructions());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user