Untitled
treatment = data_ticket.get("Treatment") status_query = "fail_transaction" if treatment: if re.search("\\b(gd thành công)\\b", treatment, re.IGNORECASE): status_query = "success_transaction" if re.search("\\b(gd đã được hoàn tiền)\\b", treatment, re.IGNORECASE): status_query = "refund_transaction"