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