
<div class="page-header">
 <ul class="breadcrumb">
  <li><a href="<%=  %>">Home</a></li>
  <li>Payment Method</li>
  <span style="float: right">
    <%= link_to t('.new', :default => t("helpers.links.new")),new_settings_payment_method_setting_path,:class => 'btn btn-primary btn-sm' %>
  </span>
 </ul>
</div>

<br>
<div class="card">
  <table class="table table-striped">
    <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_id %></td>
          <td><%= link_to 'Edit', edit_settings_payment_method_setting_path(settings_payment_method_setting) %>
          | <%= link_to 'Destroy', settings_payment_method_setting_path(settings_payment_method_setting), method: :delete, data: { confirm: 'Are you sure?' } %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>
