UI change
This commit is contained in:
14
app/views/settings/cashier_terminals/index.html.erb
Normal file → Executable file
14
app/views/settings/cashier_terminals/index.html.erb
Normal file → Executable file
@@ -24,14 +24,14 @@
|
||||
<th>Show tax</th>
|
||||
<th>Show cashier</th>
|
||||
<!-- <th>Show guest info</th> -->
|
||||
<th>Action</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<% @settings_cashier_terminals.each do |settings_cashier_terminal| %>
|
||||
<tr>
|
||||
<td><%= settings_cashier_terminal.name %></td>
|
||||
<td><%= link_to settings_cashier_terminal.name,settings_cashier_terminal_path(settings_cashier_terminal) %></td>
|
||||
<td><%= settings_cashier_terminal.is_active %></td>
|
||||
<td><%= settings_cashier_terminal.is_currently_login %></td>
|
||||
<td><%= settings_cashier_terminal.auto_print_receipt %></td>
|
||||
@@ -40,16 +40,6 @@
|
||||
<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' %>
|
||||
|
||||
<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 %>
|
||||
|
||||
Reference in New Issue
Block a user