2024-01-19 18:25:59 -06:00
|
|
|
<div class="container mt-5">
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<h1 class="mb-4 text-center">Vendor Details</h1>
|
2024-01-17 01:44:36 -06:00
|
|
|
|
2024-01-19 18:25:59 -06:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<p class="card-text">
|
|
|
|
<strong>Name:</strong>
|
|
|
|
<%= @vendor.name %>
|
|
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
|
|
<strong>Address:</strong>
|
|
|
|
<%= @vendor.address %>
|
|
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
|
|
<strong>Phone:</strong>
|
|
|
|
<%= @vendor.phone %>
|
|
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
|
|
<strong>Email:</strong>
|
|
|
|
<%= @vendor.email %>
|
|
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
|
|
<strong>DBA:</strong>
|
|
|
|
<%= @vendor.dba %>
|
|
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
|
|
<strong>TIN:</strong>
|
|
|
|
<%= @vendor.tin %>
|
|
|
|
</p>
|
|
|
|
<p class="card-text">
|
|
|
|
<strong>Contact:</strong>
|
|
|
|
<%= @vendor.contact %>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-17 01:44:36 -06:00
|
|
|
|
2024-01-19 18:25:59 -06:00
|
|
|
<div class="mt-3 d-flex justify-content-between">
|
|
|
|
<%= link_to 'Edit', edit_vendor_path(@vendor), class: "btn btn-primary" %>
|
|
|
|
<%= link_to 'Back to List', vendors_path, class: "btn btn-secondary" %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|