diff --git a/netforce_clinic/models/report_cycle_item.py b/netforce_clinic/models/report_cycle_item.py index 2ca5ba9..3a62586 100644 --- a/netforce_clinic/models/report_cycle_item.py +++ b/netforce_clinic/models/report_cycle_item.py @@ -228,10 +228,19 @@ class ReportCycleItem(Model): 'qty': qty, }) total_pt+=qty + vscl_lines2=[{}] + index=1 + for vscl_line in vscl_lines: + vscl_lines2[0].update({ + 'v%s'%index: vscl_line['description'], + 'v%s_1'%index: vscl_line['qty'], + }) + index+=1 data={ 'company_name': company_name or "", 'lines': nlines, 'vscl_lines': vscl_lines, + 'vscl_lines2': vscl_lines2, 'ptype_lines': ptype_lines, 'month': month_str, 'date_from': date_from, diff --git a/netforce_clinic/reports/report_cycle_item.xlsx b/netforce_clinic/reports/report_cycle_item.xlsx index 58b5d3f..3abafdc 100644 Binary files a/netforce_clinic/reports/report_cycle_item.xlsx and b/netforce_clinic/reports/report_cycle_item.xlsx differ