Closed scottdchristian closed 8 years ago
I think the PR needs to be recreated. The commit in the PR doesn't match the docs above in the PR. The commit (https://github.com/scottdchristian/e-manifest/commit/8610dc27b1743683d3224cbbf471d4fc1b49d208) seems to accidentally duplicate a handful of lines and I'm pretty sure that's not what you mean. Maybe changes weren't push from local up to the origin/github?
Oddity from Git Desktop, older code from 168 was posted and not the code I intended to submit. Closing and opening a new one
show.html.erb is not displaying properly. This is an attempt to fix some of the more glaring issues. There are more, I want to fix these first. As with last time, at this time I do not know how to use Travis.
Details of changes:
Page: show.html.erb at https://github.com/18F/e-manifest/blob/master/app/views/manifests/show.html.erb Needed changes per https://trello.com/c/IeNIypEw Looking at for comparison: JSON: https://github.com/18F/e-manifest/blob/a97e43f9366e10298fcd72304bb491248f0c1ddc/public/schemas/post-manifest.json MODEL: https://github.com/18F/e-manifest/blob/24e82c0de8115afa727b05d983c73eed6b976b1b/app/models/manifest.rb
Here are the changes made. Line 28 from
JSON has this as name and MODEL does not over ride it, like generator and designated facility are overridden.
Lines 34-44 from
Designated Facility
To and reasons in line
Designated Facility
“JSON has this as designated_facility.address and MODEL does not over ride it, unlike generator address. Same for the next three lines” <%= @manifest.designated_facility.address["address_2"] %>
<%= @manifest.designated_facility.address["city"] %>, <%= @manifest.@manifest.designated_facility.address["state"] %> <%= @manifest.@manifest.designated_facility.address["zip_code"] %>
Waste
<% @manifest.manifest_items.each_with_index do |m, i| %>MM <%= i + 1 %>
ToWaste
<% @manifest.manifest_items.each_with_index do |m, i| %>Manifest Line Item <%= i + 1 %>
Reason Manifest Line Item made more sense to me than MM Lines 100,101 (originally) From