update admin bsb

This commit is contained in:
Aung Myo
2017-10-20 17:02:49 +06:30
parent 9dac7198e9
commit f0494307f6
20 changed files with 232 additions and 96 deletions

View File

@@ -40,7 +40,17 @@
<td><%= settings_cashier_terminal.show_cashier %></td>
<!-- <td><%= settings_cashier_terminal.show_guest_info %></td> -->
<td><%= link_to t("views.btn.edit"), edit_settings_cashier_terminal_path(settings_cashier_terminal),:class => 'btn btn-info btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), settings_cashier_terminal_path(settings_cashier_terminal), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %></td>
<button class="delete btn btn-danger btn-sm waves-effect" data-ref="<%= settings_cashier_terminal_path(settings_cashier_terminal) %>" data-method="delete">
<%= t("views.btn.delete") %>
</button>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to delete this row ?</h6>
<h6>This action can't be undo. </h6>
</span>
</td>
</tr>
<% end %>
</tbody>