UPDATE: add subs field to report detail
This commit is contained in:
parent
1e49e14e4c
commit
f1baee2bf0
@ -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
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user