update employee active , addorder view

This commit is contained in:
Aung Myo
2018-05-22 16:54:18 +06:30
parent ead01f3d97
commit ec4a0a3f81
6 changed files with 55 additions and 35 deletions

View File

@@ -7,6 +7,7 @@
<div class="form-inputs p-l-15">
<%= f.input :name %>
<%= f.input :is_active,:input_html=>{:class=>"col-md-9"} %>
<% if current_user.role == "administrator" %>
<%= f.input :role, :collection => Lookup.collection_of("employee_roles"),:class=>'form-group' %>
<% else %>