more controller for cashier/waiter view

This commit is contained in:
Min Zeya Phyo
2017-05-10 01:10:21 +06:30
parent 62e8615f12
commit c1c72eca30
25 changed files with 634 additions and 44 deletions

View File

@@ -14,7 +14,7 @@
</head>
<body>
<%= render 'layouts/header' %>
<%= render 'layouts/header_crm' %>
<div class="container-fluid">
<% flash.each do |type, message| %>
<div class="alert fade in">

View File

@@ -0,0 +1,16 @@
<div class="container-fluid" style="min-height:30px; padding-left:0px !important; padding-right:0px !important; background:#2F3D47; margin-bottom:5px">
<div style="padding-top:5px;padding-bottom:5px;margin-left:15px; margin-right:15px;color:#ffffff ">
<div style="float:left;margin-top:3px;text-align:left; width:100px">
<strong>CRM</strong>
</div>
<div style="float:left;margin-top:3px;text-align:left; width:600px">
Queue | Bookings | Online Orders | Customers
</div>
<div style="float:right; margin-top:3px; text-align:right;width:200px;color:#ffffff">
<% if current_login_employee %>
<%= current_login_employee.name %> | <%= link_to 'Logout', logout_path, method: :delete, data: { confirm: 'Are you sure?' } %>
<% end %>
</div>
</div>
</div>

View File

@@ -1,7 +1,7 @@
<div class="container-fluid" style="min-height:30px; padding-left:0px !important; padding-right:0px !important; background:#2F3D47; margin-bottom:5px">
<div style="padding-top:5px;padding-bottom:5px;margin-left:15px; margin-right:15px;color:#ffffff ">
<div style="float:left;margin-top:3px;text-align:left; width:200px">
<strong>ORDE QUEUE STATION</strong>
<strong>ORDER QUEUE STATION - <%= @station_name %></strong>
</div>
<div style="float:right; margin-top:3px; text-align:right;width:200px;color:#ffffff">
<% if current_login_employee %>