schedule
parent
30424aee4b
commit
9610f7c52e
|
@ -17,7 +17,8 @@ class Schedule(Model):
|
|||
for line in obj.lines:
|
||||
nurse=line.nurse_id
|
||||
level=line.level_id
|
||||
st+='%s %s\n'%(nurse.name, level.name or "")
|
||||
cycle=line.cycle_id
|
||||
st+='C%s %s %s\n'%(cycle.sequence,nurse.name,level.name or "")
|
||||
count+=1
|
||||
res[obj.id]='%s'%(st if count else 'No nurse')
|
||||
return res
|
||||
|
|
Loading…
Reference in New Issue