payment option | cashier terminal | membership
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= simple_form_for(@settings_payment_method_setting) do |f| %>
|
||||
<%= simple_form_for([:settings, @settings_payment_method_setting]) do |f| %>
|
||||
<%= f.error_notification %>
|
||||
|
||||
<div class="form-inputs">
|
||||
@@ -7,7 +7,7 @@
|
||||
<%= f.input :gateway_communication_type %>
|
||||
<%= f.input :gateway_url %>
|
||||
<%= f.input :auth_token %>
|
||||
<%= f.association :merchant_account %>
|
||||
<%= f.input :merchant_account_id %>
|
||||
</div>
|
||||
|
||||
<div class="form-actions">
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
<h1>Editing Settings Payment Method Setting</h1>
|
||||
|
||||
<%= render 'form', settings_payment_method_setting: @settings_payment_method_setting %>
|
||||
|
||||
<%= link_to 'Show', @settings_payment_method_setting %> |
|
||||
<%= link_to 'Back', settings_payment_method_settings_path %>
|
||||
<div class="span12">
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="<%= root_path %>">Home</a></li>
|
||||
<li><a href="<%= settings_payment_method_settings_path %>">Payment Method Setting</a></li>
|
||||
<li>Edit</li>
|
||||
</ul>
|
||||
</div>
|
||||
<%= render 'form', settings_payment_method_setting: @settings_payment_method_setting %>
|
||||
</div>
|
||||
|
||||
@@ -1,37 +1,42 @@
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<%= link_to 'New Settings Payment Method Setting', new_settings_payment_method_setting_path %>
|
||||
<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_settings_path(settings_payment_method_setting), method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
<h1>New Settings Payment Method Setting</h1>
|
||||
|
||||
<%= render 'form', settings_payment_method_setting: @settings_payment_method_setting %>
|
||||
|
||||
<%= link_to 'Back', settings_payment_method_settings_path %>
|
||||
<div class="span12">
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="<%= root_path %>">Home</a></li>
|
||||
<li><a href="<%= settings_payment_method_settings_path %>"> Payment Method Setting</a></li>
|
||||
<li>New</li>
|
||||
</ul>
|
||||
</div>
|
||||
<%= render 'form', settings_payment_method_setting: @settings_payment_method_setting %>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<p>
|
||||
<strong>Merchant account:</strong>
|
||||
<%= @settings_payment_method_setting.merchant_account %>
|
||||
<%= @settings_payment_method_setting.merchant_account_id %>
|
||||
</p>
|
||||
|
||||
<%= link_to 'Edit', edit_settings_payment_method_setting_path(@settings_payment_method_setting) %> |
|
||||
|
||||
Reference in New Issue
Block a user