From c6884c81a8e42115a2f08733e4f1389633b4231e Mon Sep 17 00:00:00 2001 From: daovietanh99 Date: Wed, 31 Jan 2024 09:51:32 +0700 Subject: [PATCH] update file utils --- cope2n-api/fwd_api/utils/file.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cope2n-api/fwd_api/utils/file.py b/cope2n-api/fwd_api/utils/file.py index 994b9dc..bd0b4c8 100644 --- a/cope2n-api/fwd_api/utils/file.py +++ b/cope2n-api/fwd_api/utils/file.py @@ -423,6 +423,8 @@ def dict2xlsx(input: json, _type='report'): ws[key + str(start_index)].font = font_black_bold if key_index == 0 or (key_index >= 9 and key_index <= 15): ws[key + str(start_index)].fill = fill_gray + elif key_index == 1: + ws[key + str(start_index)].fill = fill_green elif key_index >= 4 and key_index <= 8: ws[key + str(start_index)].fill = fill_yellow elif _type == 'report_detail':