Files
sx-fc/app/views/settings/payment_method_settings/index.html.erb
Min Zeya Phyo 0af7d78c3c scaffold models
2017-04-20 17:01:14 +06:30

38 lines
1.3 KiB
Plaintext

<p id="notice"><%= notice %></p>
<h1>Settings Payment Method Settings</h1>
<table>
<thead>
<tr>
<th>Payment method</th>
<th>Is active</th>
<th>Gateway communication type</th>
<th>Gateway url</th>
<th>Auth token</th>
<th>Merchant account</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @settings_payment_method_settings.each do |settings_payment_method_setting| %>
<tr>
<td><%= settings_payment_method_setting.payment_method %></td>
<td><%= settings_payment_method_setting.is_active %></td>
<td><%= settings_payment_method_setting.gateway_communication_type %></td>
<td><%= settings_payment_method_setting.gateway_url %></td>
<td><%= settings_payment_method_setting.auth_token %></td>
<td><%= settings_payment_method_setting.merchant_account %></td>
<td><%= link_to 'Show', settings_payment_method_setting %></td>
<td><%= link_to 'Edit', edit_settings_payment_method_setting_path(settings_payment_method_setting) %></td>
<td><%= link_to 'Destroy', settings_payment_method_setting, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
<%= link_to 'New Settings Payment Method Setting', new_settings_payment_method_setting_path %>