<!-- BEGIN CONTAINER -->
<div class="page-container">
	<!-- BEGIN CONTENT -->
	<div class="page-content-wrapper">
		<!-- BEGIN CONTENT BODY -->
		<!-- BEGIN PAGE HEAD-->
		<!-- BEGIN CONTAINER -->
		<div class="page-container">
			<!-- BEGIN CONTENT -->
			<div class="page-content-wrapper">
				<!-- BEGIN CONTENT BODY -->
				<!-- BEGIN PAGE HEAD-->
				<div class="page-head">
					<div class="container-fluid">
						<!-- BEGIN PAGE TITLE -->
						<div class="page-title">
							<h1>Inicio </h1>
						</div>
						<!-- END PAGE TITLE -->
					</div>
				</div>
				<!-- END PAGE TITLE -->
			</div>
		</div>
		<!-- END PAGE HEAD-->
		<!-- BEGIN PAGE CONTENT BODY -->
		<div class="page-content">
			<div class="container-fluid">
				<!-- END PAGE BREADCRUMBS -->
				<!-- BEGIN PAGE CONTENT INNER -->
				<div class="page-content-inner">
					<div id="notice">
						<% if success %>
							<div class="alert alert-success">
								<p><%= success %></p>
							</div>
						<% elsif warning %>
							<div class="alert alert-warning">
								<p><%= warning %></p>
							</div>
						<% end %>
					</div>
					<% if current_user.usertype == 'A' %>
						<%= 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 %>
				</div>
				<!-- END PAGE CONTENT INNER -->
			</div>
		</div>
		<!-- END PAGE CONTENT BODY -->
		<!-- END CONTENT BODY -->
	</div>
	<!-- END CONTENT -->
</div>
