From 1e2ae1a775e4edec5d9c859f69acfcf921ec3da7 Mon Sep 17 00:00:00 2001 From: av-dev2 Date: Mon, 12 Feb 2024 14:41:22 +0300 Subject: [PATCH] chore: change fieldtype of some of fields from Data to Link on Itemwise Hospital Revenue report --- .../itemwise_hospital_revenue.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/hms_tz/nhif/report/itemwise_hospital_revenue/itemwise_hospital_revenue.py b/hms_tz/nhif/report/itemwise_hospital_revenue/itemwise_hospital_revenue.py index 7f10091b..de72d366 100644 --- a/hms_tz/nhif/report/itemwise_hospital_revenue/itemwise_hospital_revenue.py +++ b/hms_tz/nhif/report/itemwise_hospital_revenue/itemwise_hospital_revenue.py @@ -65,7 +65,8 @@ def get_columns(filters): { "fieldname": "appointment_no", "label": "AppointmentNo", - "fieldtype": "Data", + "fieldtype": "Link", + "options": "Patient Appointment", "width": 120, }, ] @@ -123,13 +124,15 @@ def get_columns(filters): { "fieldnaeme": "practitioner", "label": "Practitioner", - "fieldtype": "Data", + "fieldtype": "Link", + "options": "Healthcare Practitioner", "width": 120, }, { "fieldname": "service_unit", "label": "Service Unit", - "fieldtype": "Data", + "fieldtype": "Link", + "options": "Healthcare Service Unit", "width": 120, }, { @@ -151,7 +154,8 @@ def get_columns(filters): { "fieldname": "encounter_no", "label": "Encounter No", - "fieldtype": "Data", + "fieldtype": "Link", + "options": "Patient Encounter", "width": 120, }, {