for each="laboratory in records.values()"

Date range: format_date(start_date, user.language) - format_date(end_date, user.language)

laboratory.laboratory Date of issue: format_date(datetime.date.today(), user.language)
Service		Product described /client	Location	Type	Prior.	Urg.	Comments	Confirmation date	Date agreed for result	Date estimated for result
for each="service in laboratory.services.values()"
service.service
for each="party in service.parties.values()"
Client: party.party
for each="line in party.lines"
format_date(line.date, user.language)	line.number	line.sample_client_description	line.current_location	line.fraction_type	line.priority	line.urgent	line.comments	if test="line.confirmation_date"format_date(line.confirmation_date, user.language)/if	if test="line.report_date"format_date(line.report_date, user.language)/if		if test="line.results_estimated_date"format_date(line.results_estimated_date, user.language)/if
/for
Total client:party.total
/for
Total service:service.total
/for
Total laboratory: laboratory.total
/for
	Pending Services Unplanned
2 of 2