From 0cda1c703023a9c91d8f9f93ab33ccf8671a5a21 Mon Sep 17 00:00:00 2001 From: Hamed Valiollahi Bayeki Date: Tue, 31 Oct 2023 15:23:03 -0700 Subject: [PATCH] fix: adjust column widths in xls transactions sheet Reduce the width of the 'Effective Date' column and widen the 'Comments' column in Excel export for better data readability. Due to the previously added 'Category' column, adjust the numbers of all columns after column 7 by increasing them by one. (Column numbers start from 0) --- backend/api/services/SpreadSheetBuilder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/api/services/SpreadSheetBuilder.py b/backend/api/services/SpreadSheetBuilder.py index c0a74c349..885771b2f 100644 --- a/backend/api/services/SpreadSheetBuilder.py +++ b/backend/api/services/SpreadSheetBuilder.py @@ -178,8 +178,8 @@ def add_credit_transfers(self, credit_trades, user): worksheet.col(4).width = 7500 worksheet.col(5).width = 4500 worksheet.col(6).width = 4500 - worksheet.col(8).width = 3500 - worksheet.col(9).width = 10000 + worksheet.col(9).width = 3500 + worksheet.col(10).width = 10000 def add_fuel_suppliers(self, fuel_suppliers): """