Add extra fields to accounts
This commit is contained in:
@@ -17,6 +17,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>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -25,10 +29,14 @@
|
||||
<tr>
|
||||
<td><%= @settings_account.title %></td>
|
||||
<td><%= @settings_account.account_type %></td>
|
||||
|
||||
<td><%= @settings_account.discount %></td>
|
||||
<td><%= @settings_account.point %></td>
|
||||
<td><%= @settings_account.bonus %></td>
|
||||
<td><%= @settings_account.rebate %></td>
|
||||
|
||||
<td><%= link_to 'Edit', edit_settings_account_path(@settings_account, @settings_account) %></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user