Merge pull request #85 from SDSRV-IDP/vietanh99-update-field-name

UPDATE: add invoice_number infomation
This commit is contained in:
Đỗ Xuân Tân 2024-03-12 17:28:25 +07:00 committed by GitHub Enterprise
commit 3a3263044f
3 changed files with 27 additions and 18 deletions

View File

@ -487,9 +487,10 @@ def dict2xlsx(input: json, _type='report'):
'M': 'average_accuracy_rate.imei',
'N': 'average_accuracy_rate.purchase_date',
'O': 'average_accuracy_rate.retailer_name',
'P': 'average_processing_time.imei',
'Q': 'average_processing_time.invoice',
'R': 'review_progress'
'P': 'average_accuracy_rate.invoice_number',
'Q': 'average_processing_time.imei',
'R': 'average_processing_time.invoice',
'S': 'review_progress'
}
start_index = 5
@ -503,21 +504,29 @@ def dict2xlsx(input: json, _type='report'):
'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_(seconds)",
'P': "is_reviewed",
'Q': "bad_image_reasons",
'R': "countermeasures",
'S': 'imei_revised_accuracy',
'T': 'purchase_date_revised_accuracy',
'U': 'retailer_revised_accuracy',
'G': "imei_revised",
'H': "imei1_accuracy",
'I': "invoice_number_user",
'J': "invoice_number_ocr",
'K': "invoice_number_revised",
'L': "invoice_number_accuracy",
'M': "invoice_purchase_date_consumer",
'N': "invoice_purchase_date_ocr",
'O': "invoice_purchase_date_revised",
'P': "invoice_purchase_date_accuracy",
'Q': "invoice_retailer_consumer",
'R': "invoice_retailer_ocr",
'S': 'invoice_retailer_revised',
'T': "invoice_retailer_accuracy",
'U': "ocr_image_accuracy",
'V': "ocr_image_speed_(seconds)",
'W': "is_reviewed",
'X': "bad_image_reasons",
'Y': "countermeasures",
'Z': "imei_revised_accuracy",
'AA': "invoice_number_revised_accuracy",
'AB': 'purchase_date_revised_accuracy',
'AC': 'retailer_revised_accuracy',
}
start_index = 4

Binary file not shown.

Binary file not shown.