Skip to content

Commit 3470254

Browse files
committed
update report id details style
1 parent a23ee2d commit 3470254

1 file changed

Lines changed: 15 additions & 19 deletions

File tree

src/pages/ReportDetailsPage.tsx

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,21 @@ function ReportDetailsPage({policy, report, route, reportMetadata}: ReportDetail
857857
</OfflineWithFeedback>
858858
)}
859859

860+
{isFinancialReportsForBusinesses && (
861+
<>
862+
<MenuItemWithTopDescription
863+
title={base62ReportID}
864+
description={translate('common.reportID')}
865+
interactive={false}
866+
/>
867+
<MenuItemWithTopDescription
868+
title={report.reportID}
869+
description={translate('common.longID')}
870+
interactive={false}
871+
/>
872+
</>
873+
)}
874+
860875
<PromotedActionsBar
861876
containerStyle={styles.mt5}
862877
promotedActions={promotedActions}
@@ -883,25 +898,6 @@ function ReportDetailsPage({policy, report, route, reportMetadata}: ReportDetail
883898
onPress={() => setIsDeleteModalVisible(true)}
884899
/>
885900
)}
886-
887-
{isFinancialReportsForBusinesses && (
888-
<FixedFooter style={[styles.alignItemsCenter, styles.flex1, styles.justifyContentEnd, styles.pt5]}>
889-
<View style={[styles.flexRow, styles.alignItemsCenter, styles.gap3]}>
890-
<TextWithCopy
891-
copyValue={base62ReportID}
892-
style={styles.textMicroSupporting}
893-
>
894-
{`${translate('common.reportID')}: ${base62ReportID}`}
895-
</TextWithCopy>
896-
<TextWithCopy
897-
copyValue={report.reportID}
898-
style={styles.textMicroSupporting}
899-
>
900-
{`${translate('common.longID')}: ${report.reportID}`}
901-
</TextWithCopy>
902-
</View>
903-
</FixedFooter>
904-
)}
905901
</ScrollView>
906902
<ConfirmModal
907903
danger

0 commit comments

Comments
 (0)