Commit 58ed758fcb26258a918a84ae5494a8f7a65b31e8
Committed by
GitHub
1 parent
97edea7d
Fix error in PorTor Test (#19)
Failing on .bins on array VS item
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/syspro/business_objects/schemas/portor_doc.xml.erb
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | <Notation><%= render_xml(interospection_item.notation) %></Notation> |
22 | 22 | <Reference><%= render_xml(interospection_item.reference) %></Reference> |
23 | 23 | <GRNSource><%= render_xml(interospection_item.grn_source) %></GRNSource> |
24 | - <% @receipt_interospections.bins.each do |bin| %> | |
24 | + <% interospection_item.bins.each do |bin| %> | |
25 | 25 | <Bins> |
26 | 26 | <BinLocation><%= render_xml(bin.bin_location) %></BinLocation> |
27 | 27 | <BinQuantity><%= render_xml(bin.bin_quantity) %></BinQuantity> | ... | ... |