updateCommissioner

This commit is contained in:
yamin
2017-08-21 17:31:17 +06:30
parent b7f9d56221
commit 9d424df9fd
7 changed files with 15 additions and 17 deletions

View File

@@ -3,7 +3,7 @@
<li><a href="<%= %>">Home</a></li>
<li>Commissioner</li>
<span style="float: right">
<%= link_to t('.new', :default => t("helpers.links.new")),new_commissioner_path,:class => 'btn btn-primary btn-sm' %>
<%= link_to t('.new', :default => t("helpers.links.new")), new_origami_commissioner_path ,:class => 'btn btn-primary btn-sm' %>
</span>
</ul>
</div>
@@ -17,7 +17,6 @@
<th>Employee Name</th>
<th>Commission type</th>
<th>Active</th>
<th>Created By</th>
<th colspan="3"></th>
</tr>
</thead>
@@ -35,10 +34,9 @@
</td>
<td><%= commissioner.commission_type %></td>
<td><%= commissioner.is_active %></td>
<td><%= current_user.name %></td>
<td><%= link_to 'Show', commissioner_path(commissioner) %></td>
<td><%= link_to 'Edit', edit_commissioner_path(commissioner) %></td>
<td><%= link_to 'Destroy', commissioner_path(commissioner), method: :delete, data: { confirm: 'Are you sure?' } %></td>
<td><%= link_to 'Show', origami_commissioner_path(commissioner) %></td>
<td><%= link_to 'Edit', edit_origami_commissioner_path(commissioner) %></td>
<td><%= link_to 'Destroy', origami_commissioner_path(commissioner), method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>