<%= csrf_meta_tags %> <%= stylesheet_link_tag 'login', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'login', 'data-turbolinks-track': 'reload' %>

Please wait...

<% flash.each do |type, message| %> <% if type == "notice" color = "alert-success" elsif type == "error" color = "alert-danger" elsif type == "warning" color = "alert-warning" else color = "bg-black" end %> <% end %>

Version - 1.0.1

<%= shop_detail.name %>

1
2
3
4
5
6
7
8
9
BACK
0
CLR
<% @employees.each do |employee| %> <%if employee.role == "manager" %>
<%if employee.image_path.present? %> <% else %> <% end %>
<% end %> <% end %>
<% @employees.each do |employee| %> <%if employee.role == "supervisor" %>
<%if employee.image_path.present? %> <% else %> <% end %>
<% end %> <% end %>
<% @employees.each do |employee| %> <%if employee.role == "cashier" %>
<%if employee.image_path.present? %> <% else %> <% end %>
<% end %> <% end %>
<% @employees.each do |employee| %> <%if employee.role == "account" %>
<%if employee.image_path.present? %> <% else %> <% end %>
<% end %> <% end %>
<% @employees.each do |employee| %> <%if employee.role == "waiter" %>
<%if employee.image_path.present? %> <% else %> <% end %>
<% end %> <% end %>