@@ -629,6 +629,7 @@ function createExpenseByType({
629629 customUnitPolicyID,
630630 personalDetails,
631631 recentWaypoints,
632+ conciergeReportID,
632633} : {
633634 transactionType : string ;
634635 params : RequestMoneyInformation ;
@@ -641,6 +642,7 @@ function createExpenseByType({
641642 customUnitPolicyID ?: string ;
642643 personalDetails : OnyxEntry < OnyxTypes . PersonalDetailsList > ;
643644 recentWaypoints : OnyxEntry < OnyxTypes . RecentWaypoint [ ] > ;
645+ conciergeReportID : string | undefined ;
644646} ) {
645647 switch ( transactionType ) {
646648 case CONST . SEARCH . TRANSACTION_TYPE . DISTANCE : {
@@ -687,6 +689,7 @@ function createExpenseByType({
687689 } ,
688690 hasViolations : false ,
689691 customUnitPolicyID,
692+ conciergeReportID,
690693 } ;
691694 return submitPerDiemExpense ( perDiemParams ) ;
692695 }
@@ -716,6 +719,7 @@ type DuplicateExpenseTransactionParams = {
716719 targetPolicyTags : OnyxEntry < OnyxTypes . PolicyTagLists > ;
717720 shouldPlaySound ?: boolean ;
718721 shouldDeferAutoSubmit ?: boolean ;
722+ conciergeReportID : string | undefined ;
719723 existingIOUReport ?: OnyxEntry < OnyxTypes . Report > ;
720724 optimisticReportPreviewActionID ?: string ;
721725 currentUserLogin : string ;
@@ -743,6 +747,7 @@ function duplicateExpenseTransaction({
743747 targetPolicyTags,
744748 shouldPlaySound = true ,
745749 shouldDeferAutoSubmit = false ,
750+ conciergeReportID,
746751 existingIOUReport,
747752 optimisticReportPreviewActionID : externalReportPreviewActionID ,
748753 currentUserAccountID,
@@ -844,6 +849,7 @@ function duplicateExpenseTransaction({
844849 customUnitPolicyID,
845850 personalDetails,
846851 recentWaypoints,
852+ conciergeReportID,
847853 } ) ;
848854}
849855
@@ -866,6 +872,7 @@ type DuplicateReportParams = {
866872 transactionViolations : OnyxCollection < OnyxTypes . TransactionViolation [ ] > ;
867873 translate : LocalizedTranslate ;
868874 recentWaypoints : OnyxEntry < OnyxTypes . RecentWaypoint [ ] > ;
875+ conciergeReportID : string | undefined ;
869876 currentUserLogin : string ;
870877 currentUserAccountID : number ;
871878 shouldPlaySound ?: boolean ;
@@ -890,6 +897,7 @@ function duplicateReport({
890897 transactionViolations,
891898 translate,
892899 recentWaypoints,
900+ conciergeReportID,
893901 currentUserAccountID,
894902 currentUserLogin,
895903 shouldPlaySound = true ,
@@ -990,6 +998,7 @@ function duplicateReport({
990998 customUnitPolicyID : targetPolicy ?. id ,
991999 personalDetails,
9921000 recentWaypoints,
1001+ conciergeReportID,
9931002 } ) ;
9941003
9951004 if ( result ?. iouReport ) {
@@ -1020,6 +1029,7 @@ type BulkDuplicateExpensesParams = {
10201029 draftTransactionIDs : string [ ] ;
10211030 betas : OnyxEntry < OnyxTypes . Beta [ ] > ;
10221031 recentWaypoints : OnyxEntry < OnyxTypes . RecentWaypoint [ ] > ;
1032+ conciergeReportID : string | undefined ;
10231033 currentUserLogin : string ;
10241034 currentUserAccountID : number ;
10251035} ;
@@ -1042,6 +1052,7 @@ function bulkDuplicateExpenses({
10421052 draftTransactionIDs,
10431053 betas,
10441054 recentWaypoints,
1055+ conciergeReportID,
10451056 currentUserAccountID,
10461057 currentUserLogin,
10471058} : BulkDuplicateExpensesParams ) {
@@ -1136,6 +1147,7 @@ function bulkDuplicateExpenses({
11361147 targetPolicyTags,
11371148 shouldPlaySound : false ,
11381149 shouldDeferAutoSubmit,
1150+ conciergeReportID,
11391151 existingIOUReport : optimisticIOUReport ,
11401152 optimisticReportPreviewActionID : currentReportPreviewActionID ,
11411153 currentUserAccountID,
@@ -1174,6 +1186,7 @@ type BulkDuplicateReportsParams = {
11741186 transactionViolations : OnyxCollection < OnyxTypes . TransactionViolation [ ] > ;
11751187 translate : LocalizedTranslate ;
11761188 recentWaypoints : OnyxEntry < OnyxTypes . RecentWaypoint [ ] > ;
1189+ conciergeReportID : string | undefined ;
11771190 currentUserLogin : string ;
11781191 currentUserAccountID : number ;
11791192} ;
@@ -1198,6 +1211,7 @@ function bulkDuplicateReports({
11981211 transactionViolations,
11991212 translate,
12001213 recentWaypoints,
1214+ conciergeReportID,
12011215 currentUserLogin,
12021216 currentUserAccountID,
12031217} : BulkDuplicateReportsParams ) {
@@ -1275,6 +1289,7 @@ function bulkDuplicateReports({
12751289 shouldPlaySound : false ,
12761290 currentUserAccountID,
12771291 currentUserLogin,
1292+ conciergeReportID,
12781293 } ) ;
12791294 }
12801295
0 commit comments