for each="sale in records"
for each="line in sale.report_address.splitlines()" line /for
Sale Contract : sale.full_number DATE: format_date(sale.sale_date, sale.party.lang)
Buyers	sale.party.rec_name ADDRESS:sale.report_address
Sellers	ICT TRADING S.A. VIA MAGAZZINI GENERALI, 3 6828 BALERNA, SWITZERLAND
Agents	for each="line in sale.report_agent.splitlines()" line /for
Growth	sale.lines[0].product.description if sale.lines and sale.lines[0].product else '' CROP sale.report_crop_name
Quality	sale.lines[0].attributes_name
Quantity	ABOUT sale.report_total_quantity sale.report_quantity_unit_upper (sale.report_qt) sale.report_nb_bale for each="line in sale.report_quantity_lines.splitlines()" line /for
Price	for each="line in sale.report_price_lines.splitlines()" line /for
if test="sale.lines[0].pricing_rule"
Fixation	for each="line in sale.lines[0].pricing_rule.splitlines()" line /for
/if
Shipment	for each="line in sale.report_shipment_periods.splitlines()" line /for
Terms	sale.incoterm.code if sale.incoterm else '' sale.incoterm_location.party_name if sale.incoterm_location else '', sale.wb.description if sale.wb else ''
Payment	sale.payment_term.rec_name if sale.payment_term else '100% CASH AGAINST DOCUMENTS' BEFORE sale.report_payment_date sale.payment_term.description if sale.payment_term else ''
Arbitration & Rules	if test="sale.association" for each="line in sale.association.rule.splitlines()" line /for /if
THE SELLERS	THE BUYERS
ICT TRADING SA	sale.party.rec_name
sale.trader.initial if sale.trader else '' / sale.operator.initial if sale.operator else ''
/for