diff --git a/lib/syspro/business_objects/schemas/portor_doc.xml.erb b/lib/syspro/business_objects/schemas/portor_doc.xml.erb
index 9def104..6b7a0fd 100644
--- a/lib/syspro/business_objects/schemas/portor_doc.xml.erb
+++ b/lib/syspro/business_objects/schemas/portor_doc.xml.erb
@@ -21,7 +21,7 @@
<%= render_xml(interospection_item.notation) %>
<%= render_xml(interospection_item.reference) %>
<%= render_xml(interospection_item.grn_source) %>
- <% @receipt_interospections.bins.each do |bin| %>
+ <% interospection_item.bins.each do |bin| %>
<%= render_xml(bin.bin_location) %>
<%= render_xml(bin.bin_quantity) %>
--
libgit2 0.21.4