% if report.order.notes:

${ _("Purchase Notes") }

${ report.order.notes }
% endif <% receiving_notes = [r.notes for r in report.receiving_orders if r.notes] %> % if receiving_notes:

${ _("Receiving Details") }

% for note in receiving_notes:
${ note }
% endfor % endif