diff --git a/cope2n-api/fwd_api/utils/file.py b/cope2n-api/fwd_api/utils/file.py index 1a49e30..c5094fb 100644 --- a/cope2n-api/fwd_api/utils/file.py +++ b/cope2n-api/fwd_api/utils/file.py @@ -465,26 +465,27 @@ def dict2xlsx(input: json, _type='report'): wb = load_workbook(filename = 'report_detail.xlsx') ws = wb['Sheet1'] mapping = { - 'A': 'request_id', - 'B': 'redemption_number', - 'C': 'image_type', - 'D': 'imei_user_submitted', - 'E': "imei_ocr_retrieved", - 'F': "imei1_accuracy", - 'G': "invoice_purchase_date_consumer", - 'H': "invoice_purchase_date_ocr", - 'I': "invoice_purchase_date_accuracy", - 'J': "invoice_retailer_consumer", - 'K': "invoice_retailer_ocr", - 'L': "invoice_retailer_accuracy", - 'M': "ocr_image_accuracy", - 'N': "ocr_image_speed", - 'O': "is_reviewed", - 'P': "bad_image_reasons", - 'Q': "countermeasures", - 'R': 'imei_revised_accuracy', - 'S': 'purchase_date_revised_accuracy', - 'T': 'retailer_revised_accuracy', + 'A': 'subs', + 'B': 'request_id', + 'C': 'redemption_number', + 'D': 'image_type', + 'E': 'imei_user_submitted', + 'F': "imei_ocr_retrieved", + 'G': "imei1_accuracy", + 'H': "invoice_purchase_date_consumer", + 'I': "invoice_purchase_date_ocr", + 'J': "invoice_purchase_date_accuracy", + 'K': "invoice_retailer_consumer", + 'L': "invoice_retailer_ocr", + 'M': "invoice_retailer_accuracy", + 'N': "ocr_image_accuracy", + 'O': "ocr_image_speed", + 'P': "is_reviewed", + 'Q': "bad_image_reasons", + 'R': "countermeasures", + 'S': 'imei_revised_accuracy', + 'T': 'purchase_date_revised_accuracy', + 'U': 'retailer_revised_accuracy', } start_index = 4 diff --git a/cope2n-api/report_detail.xlsx b/cope2n-api/report_detail.xlsx index 6850d8e..566defc 100644 Binary files a/cope2n-api/report_detail.xlsx and b/cope2n-api/report_detail.xlsx differ