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

@@ -21,7 +21,7 @@
<tr>
<th>Payment method</th>
<th>Is active</th>
<th>Gateway communication type</th>
<th>Gateway Comm type</th>
<th>Gateway url</th>
<th>Auth token</th>
<th>Merchant account</th>
@@ -39,7 +39,16 @@
<td><%= settings_payment_method_setting.auth_token %></td>
<td><%= settings_payment_method_setting.merchant_account_id %></td>
<td><%= link_to t("views.btn.edit"), edit_settings_payment_method_setting_path(settings_payment_method_setting),:class => 'btn btn-primary btn-sm waves-effect' %>
<%= link_to t("views.btn.delete"), settings_payment_method_setting_path(settings_payment_method_setting), 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_payment_method_setting_path(settings_payment_method_setting)%>" 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>