From 581e08ea1e983fc1eb070bbb35f026a6b25640bb Mon Sep 17 00:00:00 2001 From: Du Peng Date: Thu, 24 Aug 2023 18:00:15 +0200 Subject: [PATCH] (bug) missing reservation context in statistic global export --- app/views/exports/statistics_global.xlsx.axlsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/exports/statistics_global.xlsx.axlsx b/app/views/exports/statistics_global.xlsx.axlsx index 7409c8535..2b50393d7 100644 --- a/app/views/exports/statistics_global.xlsx.axlsx +++ b/app/views/exports/statistics_global.xlsx.axlsx @@ -18,6 +18,7 @@ indices.each do |index| index.statistic_fields.each do |f| columns.push f.label end + columns.push t('export.reservation_context') if index.concerned_by_reservation_context? columns.push t('export.revenue') if index.ca sheet.add_row columns, style: header