Skip to content

Commit

Permalink
fix styles, update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Dec 19, 2023
1 parent 8838be3 commit f1a4621
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -2254,7 +2254,7 @@ function editMoneyRequest(transaction, transactionThreadReportID, transactionCha
}

/**
* Updates the created date of a money request
* Updates the amount and currency fields of a money request
*
* @param {String} transactionID
* @param {Number} transactionThreadReportID
Expand Down
4 changes: 2 additions & 2 deletions src/pages/EditRequestPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import ScreenWrapper from '@components/ScreenWrapper';
import tagPropTypes from '@components/tagPropTypes';
import transactionPropTypes from '@components/transactionPropTypes';
import compose from '@libs/compose';
import * as CurrencyUtils from '@libs/CurrencyUtils';
import Navigation from '@libs/Navigation/Navigation';
import * as OptionsListUtils from '@libs/OptionsListUtils';
import * as PolicyUtils from '@libs/PolicyUtils';
import * as ReportUtils from '@libs/ReportUtils';
import * as CurrencyUtils from '@libs/CurrencyUtils';
import * as TransactionUtils from '@libs/TransactionUtils';
import * as IOU from '@userActions/IOU';
import CONST from '@src/CONST';
Expand Down Expand Up @@ -129,7 +129,7 @@ function EditRequestPage({report, route, parentReport, policyCategories, policyT
Navigation.dismissModal();
return;
}
// Temporarily disabling currency editing and it will be enabled as a quick follow up

IOU.updateMoneyRequestAmountAndCurrency(transaction.transactionID, report.reportID, newCurrency, newAmount);
Navigation.dismissModal();
},
Expand Down

0 comments on commit f1a4621

Please sign in to comment.