report template
parent
8d9a6a44f3
commit
6c0cb9b60a
|
@ -56,9 +56,11 @@ class ReportMedicalSummary(Model):
|
||||||
limit=25
|
limit=25
|
||||||
for prod, records in products.items():
|
for prod, records in products.items():
|
||||||
prod_name=records['sc']['name'] or ""
|
prod_name=records['sc']['name'] or ""
|
||||||
|
prod_name_org=records['sc']['name'] or ""
|
||||||
prod_name=len(prod_name) > limit and '%s...' %prod_name[0:limit] or prod_name
|
prod_name=len(prod_name) > limit and '%s...' %prod_name[0:limit] or prod_name
|
||||||
line={
|
line={
|
||||||
'prod_name': prod_name,
|
'prod_name': prod_name,
|
||||||
|
'prod_name_org': prod_name_org,
|
||||||
'prod_id': records[patient_type]['prod_id'],
|
'prod_id': records[patient_type]['prod_id'],
|
||||||
'total': 0,
|
'total': 0,
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue