xxx
parent
e9253f1712
commit
4f38511f3b
|
@ -228,10 +228,19 @@ class ReportCycleItem(Model):
|
||||||
'qty': qty,
|
'qty': qty,
|
||||||
})
|
})
|
||||||
total_pt+=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={
|
data={
|
||||||
'company_name': company_name or "",
|
'company_name': company_name or "",
|
||||||
'lines': nlines,
|
'lines': nlines,
|
||||||
'vscl_lines': vscl_lines,
|
'vscl_lines': vscl_lines,
|
||||||
|
'vscl_lines2': vscl_lines2,
|
||||||
'ptype_lines': ptype_lines,
|
'ptype_lines': ptype_lines,
|
||||||
'month': month_str,
|
'month': month_str,
|
||||||
'date_from': date_from,
|
'date_from': date_from,
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue