conv_bal
watcha.h@almacom.co.th 2015-06-22 21:23:06 +07:00
parent b86e85056f
commit ae518c9be3
1 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,9 @@ class VisitBoard(Model):
for pc in pt.cycles:
w=DAYS.get(pc.day,0) #default monday
cycle=pc.cycle_id
if not cycle:
continue
#raise Exception('cycle setting for %s is not correct!'%(pt.name))
department=pc.department_id
if weekday==w:
dom2=[