UI change
This commit is contained in:
79
app/views/settings/payment_method_settings/show.html.erb
Normal file → Executable file
79
app/views/settings/payment_method_settings/show.html.erb
Normal file → Executable file
@@ -1,34 +1,59 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
<strong>Payment method:</strong>
|
||||
<%= @settings_payment_method_setting.payment_method %>
|
||||
</p>
|
||||
<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>
|
||||
|
||||
<p>
|
||||
<strong>Is active:</strong>
|
||||
<%= @settings_payment_method_setting.is_active %>
|
||||
</p>
|
||||
<tr>
|
||||
<td><strong>Payment method:</strong></td>
|
||||
<td><%= @settings_payment_method_setting.payment_method %></td>
|
||||
</tr>
|
||||
|
||||
<p>
|
||||
<strong>Gateway communication type:</strong>
|
||||
<%= @settings_payment_method_setting.gateway_communication_type %>
|
||||
</p>
|
||||
<tr>
|
||||
<td><strong>Is active:</strong></td>
|
||||
<td><%= @settings_payment_method_setting.is_active %></td>
|
||||
</tr>
|
||||
|
||||
<p>
|
||||
<strong>Gateway url:</strong>
|
||||
<%= @settings_payment_method_setting.gateway_url %>
|
||||
</p>
|
||||
<tr>
|
||||
<td><strong>Gateway communication type:</strong></td>
|
||||
<td><%= @settings_payment_method_setting.gateway_communication_type %></td>
|
||||
</tr>
|
||||
|
||||
<p>
|
||||
<strong>Auth token:</strong>
|
||||
<%= @settings_payment_method_setting.auth_token %>
|
||||
</p>
|
||||
<tr>
|
||||
<td><strong>Gateway url:</strong></td>
|
||||
<td><%= @settings_payment_method_setting.gateway_url %></td>
|
||||
</tr>
|
||||
|
||||
<p>
|
||||
<strong>Merchant account:</strong>
|
||||
<%= @settings_payment_method_setting.merchant_account_id %>
|
||||
</p>
|
||||
<tr>
|
||||
<td><strong>Auth token:</strong></td>
|
||||
<td><%= @settings_payment_method_setting.auth_token %></td>
|
||||
</tr>
|
||||
|
||||
<%= link_to t("views.btn.edit"), edit_settings_payment_method_setting_path(@settings_payment_method_setting) %> |
|
||||
<%= link_to t('.new', :default => t("views.btn.new")), settings_payment_method_settings_path %>
|
||||
<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' %>
|
||||
<%= 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>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user