| Name |
<%= @commissioner.name %> |
| Employee Name |
<%= @commissioner.employee.name rescue '-' %> |
| Commission Type |
<%= @commissioner.commission.menu_item.name rescue '-' %> |
| Joined Date |
<%= @commissioner.joined_date.utc.getlocal.strftime('%Y-%b-%d') rescue '-' %> |
| Resigned Date |
<%= @commissioner.resigned_date.utc.getlocal.strftime('%Y-%b-%d') rescue '-' %> |
| Active |
<%= @commissioner.is_active %> |
| Created By |
<%= Employee.find(@commissioner.created_by).name %> |
<%= link_to t('.new', :default => t("views.btn.new")), settings_commissioners_path, class: 'btn btn-success' %>
<%= link_to t("views.btn.edit"), edit_settings_commissioner_path(@commissioner), class: 'btn btn-info' %>
<%= link_to t("views.btn.delete"), settings_commissioner_path(@commissioner), method: :delete, data: {confirm: 'Are you sure?'}, class: 'btn btn-danger' %>