Inicio

<% if success %>

<%= success %>

<% elsif warning %>

<%= warning %>

<% end %>
<% if current_user.usertype == "A" || current_user.usertype == "SS" %> <%= render 'dashboard/dashboard_for_admin' %> <% elsif current_user.usertype == 'G' %> <%= render 'dashboard/dashboard_for_manager' %> <% elsif current_user.usertype == 'C' %> <%= render partial: 'dashboard/dashboard_for_cashier' %> <%if @need_to_open_cash %> <%= render partial: 'open_cash_registers/new', formats: [:js] %> <% end %> <% end %>