update view files
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
<tr>
|
||||
<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>Discount</th>
|
||||
<th>Point</th>
|
||||
<th>Bonus</th>
|
||||
<th>Rebate</th>
|
||||
|
||||
<th style="">Action</th>
|
||||
</tr>
|
||||
@@ -29,10 +29,10 @@
|
||||
<% @settings_accounts.each do |account| %>
|
||||
<tr>
|
||||
<td><%= account.title %></td>
|
||||
<td><%= account.account_type %></td>
|
||||
<!-- <td><%= account.discount %></td> -->
|
||||
<td><%= %><%= account.account_type == 1 ? "Expense" : "Income"%></td>
|
||||
<td><%= account.discount %></td>
|
||||
<td><%= account.point %></td>
|
||||
<!-- <td><%= account.bonus %></td> -->
|
||||
<td><%= account.bonus %></td>
|
||||
<td><%= account.rebate %></td>
|
||||
<td>
|
||||
<%= link_to 'Edit', edit_settings_account_path(account) %> |
|
||||
|
||||
Reference in New Issue
Block a user