Files
sx-fc/app/views/settings/payment_method_settings/show.html.erb
2017-10-23 17:59:35 +06:30

66 lines
2.2 KiB
Plaintext
Executable File

<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_payment_method_setting_path %>">Payment Method Settings</a></li>
<li class="breadcrumb-item active">Details</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_payment_method_setting_path %>
</span>
</ol>
</div>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<div class="card">
<table class="table table-striped">
<tr>
<td><p id="notice"><%= notice %></p></td>
</tr>
<tr>
<td><strong>Payment method:</strong></td>
<td><%= @settings_payment_method_setting.payment_method %></td>
</tr>
<tr>
<td><strong>Is active:</strong></td>
<td><%= @settings_payment_method_setting.is_active %></td>
</tr>
<tr>
<td><strong>Gateway communication type:</strong></td>
<td><%= @settings_payment_method_setting.gateway_communication_type %></td>
</tr>
<tr>
<td><strong>Gateway url:</strong></td>
<td><%= @settings_payment_method_setting.gateway_url %></td>
</tr>
<tr>
<td><strong>Auth token:</strong></td>
<td><%= @settings_payment_method_setting.auth_token %></td>
</tr>
<tr>
<td><strong>Merchant account:</strong></td>
<td><%= @settings_payment_method_setting.merchant_account_id %></td>
</tr>
<tr>
<td colspan="2" align="right">
<%= link_to t("views.btn.edit"), edit_settings_payment_method_setting_path(@settings_payment_method_setting),:class => 'btn btn-info btn-sm waves-effect' %>
<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>
</table>
</div>
</div>
</div>