for each="shipment in records"
if test="shipment.to_location.warehouse and shipment.to_location.warehouse.address"
for each="line in shipment.to_location.warehouse.address.full_address.split('\n')"
line
/for
/if
shipment.state_string Internal Shipment No: shipment.number
Reference: shipment.reference or ''
From Location: shipment.from_location.rec_name
To Location: shipment.to_location.rec_name
Planned Date: shipment.planned_date and format_date(shipment.planned_date, user.language) or ''
From Location	To Location	Product	Quantity
for each="move in moves(shipment)"
move.from_location_name	move.to_location_name	move.product.rec_name	format_number_symbol(move.quantity, user.language, move.unit, digits=move.unit.digits)
/for
/for
if test="company and company.header"
for each="line in company.header_used.split('\n')"
line
/for
/if
choose
when test="company and company.logo"
/when
when test="company"
company.rec_name
/choose
if test="company and company.footer"
for each="line in company.footer_used.split('\n')"
3/3