<% if receipt_interospections @receipt_interospections.each do |interospection_item| %> <%= render_xml(interospection_item.purchase_order)%> <%= render_xml(interospection_item.warehouse)%> <%= render_xml(interospection_item.stock_code)%> <%= render_xml(interospection_item.quantity)%> <%= render_xml(interospection_item.counted_quantity_complete, "Y")%> <%= render_xml(interospection_item.delivery_note)%> <%= render_xml(interospection_item.certificate)%> <%= render_xml(interospection_item.lot)%> <% end end %>