diff --git a/src/screens/Analytics/AnalyticsTypes.res b/src/screens/Analytics/AnalyticsTypes.res index ab3a8d54a..81e85e2cf 100644 --- a/src/screens/Analytics/AnalyticsTypes.res +++ b/src/screens/Analytics/AnalyticsTypes.res @@ -91,7 +91,7 @@ type refundColType = | NoCol let defaultRefundColumns = [Connector, RefundMethod, Currency, Status] -let allRefundColumns = [SuccessRate, Count, SuccessCount, ProcessedAmount] +let allRefundColumns = [SuccessRate, Count, SuccessCount] type refundTableType = { refund_success_rate: float, @@ -182,7 +182,6 @@ let allPaymentColumns = [ WeeklySuccessRate, Count, SuccessCount, - ProcessedAmount, PaymentErrorMessage, AvgTicketSize, ] diff --git a/src/screens/Analytics/PaymentsAnalytics/PaymentAnalyticsEntity.res b/src/screens/Analytics/PaymentsAnalytics/PaymentAnalyticsEntity.res index fa33a050f..0d4665540 100644 --- a/src/screens/Analytics/PaymentsAnalytics/PaymentAnalyticsEntity.res +++ b/src/screens/Analytics/PaymentsAnalytics/PaymentAnalyticsEntity.res @@ -332,25 +332,8 @@ let getColumns: bool => array> = connector_succe { sectionName: "", columns: connector_success_rate - ? [ - SuccessRate, - Count, - SuccessCount, - ProcessedAmount, - AvgTicketSize, - RetriesCount, - RetriesAmountProcessed, - ConnectorSuccessRate, - ] - : [ - SuccessRate, - Count, - SuccessCount, - ProcessedAmount, - AvgTicketSize, - RetriesCount, - RetriesAmountProcessed, - ], + ? [SuccessRate, Count, SuccessCount, AvgTicketSize, RetriesCount, ConnectorSuccessRate] + : [SuccessRate, Count, SuccessCount, AvgTicketSize, RetriesCount], }, ] diff --git a/src/screens/Analytics/RefundsAnalytics/RefundsAnalyticsEntity.res b/src/screens/Analytics/RefundsAnalytics/RefundsAnalyticsEntity.res index 7b24f90fa..be5c0a4a7 100644 --- a/src/screens/Analytics/RefundsAnalytics/RefundsAnalyticsEntity.res +++ b/src/screens/Analytics/RefundsAnalytics/RefundsAnalyticsEntity.res @@ -181,7 +181,7 @@ type colT = let defaultColumns: array> = [ { sectionName: "", - columns: [SuccessRate, Count, SuccessCount, ProcessedAmount], + columns: [SuccessRate, Count, SuccessCount], }, ]