transaction sales

This commit is contained in:
Myat Zin Wai Maw
2020-02-04 17:47:06 +06:30
parent 70a0c21567
commit 978e7b7e07
11 changed files with 80 additions and 33 deletions

View File

@@ -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{

View File

@@ -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{

View File

@@ -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{

View File

@@ -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 -->