1👍
✅
in your template change checkin.all
to checkin.last
.
Also you can get rid of the for loop as well,like
In: {{ child.minor_checkin.last.checkin }}</br>
Out: {{child.minor_checkin.last.checkout}}
Source:stackexchange.com