Vendor Details

Name: <%= @vendor.name %>

Address: <%= [vendor.address_line_1, vendor.address_line_2, vendor.city, vendor.state, vendor.zip].compact.join(', ') %>

Phone: <%= @vendor.phone %>

Email: <%= @vendor.email %>

DBA: <%= @vendor.dba %>

TIN: <%= @vendor.tin %>

Contact: <%= @vendor.contact %>

<%= link_to 'Edit', edit_vendor_path(@vendor), class: "btn btn-primary" %> <%= link_to 'Back to List', vendors_path, class: "btn btn-secondary" %>