merge amt of product categ ivr, fine and dlz to misc

production
watcha.h 2015-11-18 12:08:54 +07:00
parent f6bb51d46a
commit 750d7de808
1 changed files with 6 additions and 1 deletions

View File

@ -216,8 +216,13 @@ class ReportAccountHDCaseSummary(Model):
records[hdcase_id]['misc']+=amt
else:
records[hdcase_id]['misc']+=amt
lines=[]
#print('merge product categ of ivr, fine and dlz to misc')
records[hdcase_id]['misc']+=records[hdcase_id]['ivr']
records[hdcase_id]['misc']+=records[hdcase_id]['fine']
records[hdcase_id]['misc']+=records[hdcase_id]['dlz']
lines=[]
# nurse would like to see only receipt
del_invoice=False
del_receipt=False