fix start of timeline

This commit is contained in:
2023-07-11 09:07:35 +03:00
parent 6279b7df4c
commit 1b44e9464f
2 changed files with 7 additions and 2 deletions

View File

@ -18,7 +18,7 @@
- @members.each_with_index do |member , index|
%tr{class: bg_for(index)}
- if( (days = started_days(member)) > 0)
%td.bg-white{colspan: started_days(member)}
%td.bg-white{colspan: days }
- if( (days = stay_days(member)) < 14)
%td{colspan: days}
= small_date(member.arriving)