@@ -41,7 +41,7 @@ import {getParticipantsOption, getReportOption} from '@libs/OptionsListUtils';
4141import { hasOnlyPersonalPolicies as hasOnlyPersonalPoliciesUtil , isPaidGroupPolicy } from '@libs/PolicyUtils' ;
4242import { shouldValidateFile } from '@libs/ReceiptUtils' ;
4343import { getReportOrDraftReport , isSelfDM } from '@libs/ReportUtils' ;
44- import { getAttendees , getDefaultTaxCode , getTaxValue } from '@libs/TransactionUtils' ;
44+ import { getDefaultTaxCode , getTaxValue } from '@libs/TransactionUtils' ;
4545import CONST from '@src/CONST' ;
4646import ONYXKEYS from '@src/ONYXKEYS' ;
4747import type SCREENS from '@src/SCREENS' ;
@@ -342,18 +342,9 @@ function SubmitDetailsPage({
342342 < MoneyRequestConfirmationList
343343 transaction = { transaction }
344344 selectedParticipants = { participants }
345- iouAmount = { 0 }
346- iouComment = { trimmedComment }
347- iouCategory = { transaction ?. category }
348345 iouType = { iouType }
349- iouMerchant = { transaction ?. merchant }
350- iouCreated = { transaction ?. created }
351- iouCurrencyCode = { transaction ?. currency }
352- iouIsBillable = { transaction ?. billable }
353346 onToggleBillable = { setBillable }
354- iouIsReimbursable = { transaction ?. reimbursable }
355347 onToggleReimbursable = { setReimbursable }
356- iouAttendees = { getAttendees ( transaction , currentUserPersonalDetails ) }
357348 isPolicyExpenseChat = { isPolicyExpenseChat }
358349 policyID = { policy ?. id }
359350 onConfirm = { ( updatedParticipants ) => onConfirm ( updatedParticipants , true ) }
@@ -363,9 +354,6 @@ function SubmitDetailsPage({
363354 shouldShowSmartScanFields = { false }
364355 shouldDisplayReceipt
365356 isReceiptEditable
366- isDistanceRequest = { false }
367- isManualDistanceRequest = { false }
368- isGPSDistanceRequest = { false }
369357 action = { CONST . IOU . ACTION . CREATE }
370358 onPDFLoadError = { ( ) => {
371359 if ( errorTitle ) {
0 commit comments