This commit is contained in:
Yan
2017-10-13 15:53:34 +06:30
parent 9a761e5402
commit 746f5ad471
107 changed files with 270 additions and 269 deletions

View File

@@ -13,9 +13,9 @@
<tbody>
<% @inventory_definitions.each do |inventory_definition| %>
<tr>
<td><%= link_to 'Show', inventory_definition %></td>
<td><%= link_to 'Edit', edit_inventory_definition_path(inventory_definition) %></td>
<td><%= link_to 'Destroy', inventory_definition, method: :delete, data: { confirm: 'Are you sure?' } %></td>
<td><%= link_to t("views.btn.show"), inventory_definition %></td>
<td><%= link_to t("views.btn.edit"), edit_inventory_definition_path(inventory_definition) %></td>
<td><%= link_to t("views.btn.delete"), inventory_definition, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>

View File

@@ -1,4 +1,4 @@
<p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_inventory_definition_path(@inventory_definition) %> |
<%= link_to t("views.btn.edit"), edit_inventory_definition_path(@inventory_definition) %> |
<%= link_to 'Back', inventory_definitions_path %>

View File

@@ -2,5 +2,5 @@
<%= render 'form', stock_check_item: @stock_check_item %>
<%= link_to 'Show', @stock_check_item %> |
<%= link_to t("views.btn.show"), @stock_check_item %> |
<%= link_to 'Back', stock_check_items_path %>

View File

@@ -12,9 +12,9 @@
<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>
<td><%= link_to t("views.btn.show"), stock_check_item %></td>
<td><%= link_to t("views.btn.edit"), edit_stock_check_item_path(stock_check_item) %></td>
<td><%= link_to t("views.btn.delete"), stock_check_item, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>

View File

@@ -1,4 +1,4 @@
<p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_stock_check_item_path(@stock_check_item) %> |
<%= link_to t("views.btn.edit"), edit_stock_check_item_path(@stock_check_item) %> |
<%= link_to 'Back', stock_check_items_path %>

View File

@@ -2,5 +2,5 @@
<%= render 'form', stock_journal: @stock_journal %>
<%= link_to 'Show', @stock_journal %> |
<%= link_to t("views.btn.show"), @stock_journal %> |
<%= link_to 'Back', stock_journals_path %>

View File

@@ -12,9 +12,9 @@
<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>
<td><%= link_to t("views.btn.show"), stock_journal %></td>
<td><%= link_to t("views.btn.edit"), edit_stock_journal_path(stock_journal) %></td>
<td><%= link_to t("views.btn.delete"), stock_journal, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>

View File

@@ -1,4 +1,4 @@
<p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_stock_journal_path(@stock_journal) %> |
<%= link_to t("views.btn.edit"), edit_stock_journal_path(@stock_journal) %> |
<%= link_to 'Back', stock_journals_path %>