update view files

This commit is contained in:
Aung Myo
2017-07-27 17:43:07 +06:30
parent 382c4f7161
commit 63cda9a076
5 changed files with 25 additions and 20 deletions

View File

@@ -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) %> |