transaction sales
This commit is contained in:
@@ -162,7 +162,7 @@
|
||||
</p>
|
||||
</li>
|
||||
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
|
||||
<% if food_court %>
|
||||
<% if food_court && ShiftSale.current_open_shift(current_user)%>
|
||||
<li>
|
||||
<p class="waves-effect waves-block p-l-30 m-b-5 close_cashier">
|
||||
<i class="material-icons font-7 logout_icon">close</i>
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
<% end %>
|
||||
</ol>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<% breadcrumb_add t(:bookings), "", @food_court ? foodcourt_food_court_path : dashboard_path %>
|
||||
<% breadcrumb_add t(:bookings), "", (@food_court && current_user.role=='cashier') ? foodcourt_food_court_path : dashboard_path %>
|
||||
<style>
|
||||
@media screen and (max-width: 785px) {
|
||||
section.content{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<% breadcrumb_add t('views.right_panel.detail.order'), "", @food_court ? foodcourt_food_court_path : dashboard_path %>
|
||||
|
||||
<% breadcrumb_add t('views.right_panel.detail.order'), "", (@food_court && current_user.role=='cashier') ? foodcourt_food_court_path : dashboard_path %>
|
||||
<style>
|
||||
@media screen and (max-width: 785px) {
|
||||
section.content{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<% breadcrumb_add t('sale'), "", @food_court ? transactions_bookings_path : dashboard_path %>
|
||||
|
||||
<% breadcrumb_add t('sale'), "", (@food_court && current_user.role=='cashier') ? foodcourt_food_court_path : dashboard_path %>
|
||||
<style>
|
||||
@media screen and (max-width: 785px) {
|
||||
section.content{
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<% breadcrumb_add t('sale'), transactions_sales_path, transactions_sales_path, t('details') %>
|
||||
<% if can? :menage, Inventory %>
|
||||
<% end %>
|
||||
<% breadcrumb_add t('sale'), transactions_sales_path, :back, t('details') %>
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<!-- Column One -->
|
||||
|
||||
Reference in New Issue
Block a user