diff --git a/netforce_clinic/models/visit_board.py b/netforce_clinic/models/visit_board.py index 1f5e26f..96e19b6 100644 --- a/netforce_clinic/models/visit_board.py +++ b/netforce_clinic/models/visit_board.py @@ -260,11 +260,11 @@ class VisitBoard(Model): dpt_str='%s'%', '.join('%s: %s'%(dpt_names[k],v) for k,v in dpt[date].items()) summary_str='%s'%', '.join(['รับไว้: %s'%total_wait,'จำหน่ายแล้ว: %s'%total_done, 'ยกเลิก: %s'%total_cancel]) line['details']='ทั้งหมด %s: %s'%(total_qty,', '.join([summary_str,cycle_str,patient_str])) + line['details1']=brch_str line['details2']=summary_str line['details3']=cycle_str - line['details1']=brch_str - line['details4']=dpt_str - line['details5']=patient_str + line['details4']=patient_str + line['details5']=dpt_str line['footer']=True line['title']=False lines.insert(index,line)