Add extra fields to accounts
This commit is contained in:
@@ -14,9 +14,14 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:40%">Title</th>
|
||||
<th style="width:40%">Account Type</th>
|
||||
<th style="width:20%">Action</th>
|
||||
<th>Title</th>
|
||||
<th>Account Type</th>
|
||||
<th>Can get Discount</th>
|
||||
<th>Can get Points</th>
|
||||
<th>Can get Bonus</th>
|
||||
<th>Can rebate</th>
|
||||
|
||||
<th style="">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -25,10 +30,14 @@
|
||||
<tr>
|
||||
<td><%= account.title %></td>
|
||||
<td><%= account.account_type %></td>
|
||||
<td><%= account.discount %></td>
|
||||
<td><%= account.point %></td>
|
||||
<td><%= account.bonus %></td>
|
||||
<td><%= account.rebate %></td>
|
||||
<td>
|
||||
<%= link_to 'Edit', edit_settings_account_path(account) %> |
|
||||
<%= link_to 'Edit', edit_settings_account_path(account) %> |
|
||||
<%= link_to 'Destroy', settings_account_path(account), method: :delete, data: { confirm: 'Are you sure?' } %>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user