inventory setup
This commit is contained in:
25
app/views/inventory/stock_check_items/index.html.erb
Normal file
25
app/views/inventory/stock_check_items/index.html.erb
Normal file
@@ -0,0 +1,25 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<h1>Stock Check Items</h1>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="3"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<% @stock_check_items.each do |stock_check_item| %>
|
||||
<tr>
|
||||
<td><%= link_to 'Show', stock_check_item %></td>
|
||||
<td><%= link_to 'Edit', edit_stock_check_item_path(stock_check_item) %></td>
|
||||
<td><%= link_to 'Destroy', stock_check_item, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<%= link_to 'New Stock Check Item', new_stock_check_item_path %>
|
||||
Reference in New Issue
Block a user