add manage in ability for supervisor
This commit is contained in:
@@ -130,9 +130,18 @@ class Ability
|
|||||||
can :item_void_cancel, :sale_edit
|
can :item_void_cancel, :sale_edit
|
||||||
can :cancel_all_void, :sale_edit
|
can :cancel_all_void, :sale_edit
|
||||||
can :apply_void, :sale_edit
|
can :apply_void, :sale_edit
|
||||||
|
|
||||||
can :overall_void, :void
|
can :overall_void, :void
|
||||||
|
|
||||||
|
can :index, :other_charge
|
||||||
|
can :create, :other_charge
|
||||||
|
can :index, :discount
|
||||||
|
can :create, :discount
|
||||||
|
can :remove_discount_items, :discount
|
||||||
|
can :remove_all_discount, :discount
|
||||||
|
|
||||||
|
can :manage, Customer
|
||||||
|
can :manage, DiningQueue
|
||||||
|
|
||||||
can :first_bill, :payment
|
can :first_bill, :payment
|
||||||
can :create, :payment
|
can :create, :payment
|
||||||
can :show, :payment
|
can :show, :payment
|
||||||
|
|||||||
@@ -35,18 +35,21 @@
|
|||||||
<span><%= t :dashboard %></span>
|
<span><%= t :dashboard %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<% if can? :menage, OrderQueueStation %>
|
||||||
<li>
|
<li>
|
||||||
<a href="<%= oqs_root_path %>">
|
<a href="<%= oqs_root_path %>">
|
||||||
<i class="material-icons">room_service</i>
|
<i class="material-icons">room_service</i>
|
||||||
<span><%= t :oqs %></span>
|
<span><%= t :oqs %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<% end %>
|
||||||
<li>
|
<li>
|
||||||
<a href="<%= origami_root_path %>">
|
<a href="<%= origami_root_path %>">
|
||||||
<i class="material-icons">monetization_on</i>
|
<i class="material-icons">monetization_on</i>
|
||||||
<span><%= t :origami %></span>
|
<span><%= t :origami %></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<% if can? :menage, Customer %>
|
||||||
<li>
|
<li>
|
||||||
<a href="javascript:void(0);" class="menu-toggle">
|
<a href="javascript:void(0);" class="menu-toggle">
|
||||||
<i class="material-icons">widgets</i>
|
<i class="material-icons">widgets</i>
|
||||||
@@ -61,6 +64,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
<% end %>
|
||||||
<li>
|
<li>
|
||||||
<a href="<%= inventory_path %>">
|
<a href="<%= inventory_path %>">
|
||||||
<i class="material-icons">store</i>
|
<i class="material-icons">store</i>
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ en:
|
|||||||
discount: "DISCOUNT"
|
discount: "DISCOUNT"
|
||||||
charges: "CHARGES"
|
charges: "CHARGES"
|
||||||
commissions: "COMMISSIONS"
|
commissions: "COMMISSIONS"
|
||||||
|
commissioners: "COMMISSIONERS"
|
||||||
in_duties: "IN DUTIES"
|
in_duties: "IN DUTIES"
|
||||||
move: "MOVE"
|
move: "MOVE"
|
||||||
req_bill: "REQ BILL"
|
req_bill: "REQ BILL"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ mm:
|
|||||||
origami: "အရောင်းကောင်တာ"
|
origami: "အရောင်းကောင်တာ"
|
||||||
crm: "စားသုံးသူကြီးကြပ်ရေး"
|
crm: "စားသုံးသူကြီးကြပ်ရေး"
|
||||||
customer: "စားသုံးသူကြီးကြပ်ရေး"
|
customer: "စားသုံးသူကြီးကြပ်ရေး"
|
||||||
queue: "စားသုံးသူကြီးကြပ်ရေး"
|
queue: "တန်းစီစာရင်း"
|
||||||
inventory: "ကုန်လှောင်ရုံ"
|
inventory: "ကုန်လှောင်ရုံ"
|
||||||
settings: "သတ်မှတ်ချက်များ"
|
settings: "သတ်မှတ်ချက်များ"
|
||||||
transactions: "အလုပ်ပြီးမြောက်မှု့များ"
|
transactions: "အလုပ်ပြီးမြောက်မှု့များ"
|
||||||
@@ -21,7 +21,7 @@ mm:
|
|||||||
products: "ကုန်စည်များ"
|
products: "ကုန်စည်များ"
|
||||||
promotions: "အရောင်းမြှင့်တင်ရေး"
|
promotions: "အရောင်းမြှင့်တင်ရေး"
|
||||||
commissions: "ကော်မရှင်များ"
|
commissions: "ကော်မရှင်များ"
|
||||||
commissioners: "ကော်မရှင်များ"
|
commissioners: "ကော်မရှင်နာများ"
|
||||||
printer: "ပရင့်တာ"
|
printer: "ပရင့်တာ"
|
||||||
logout: "ထွက်ရန်"
|
logout: "ထွက်ရန်"
|
||||||
sale: "အရောင်း"
|
sale: "အရောင်း"
|
||||||
@@ -38,9 +38,33 @@ mm:
|
|||||||
category: "အမျိုးအစား"
|
category: "အမျိုးအစား"
|
||||||
processed: "လုပ်ဆောင်ခဲ့ပြီး"
|
processed: "လုပ်ဆောင်ခဲ့ပြီး"
|
||||||
completed: "ဆောင်ရွက်ပြီးစီး"
|
completed: "ဆောင်ရွက်ပြီးစီး"
|
||||||
tax_profile: "Tax Profile"
|
tax_profile: "အခွန်အမျိုးအစား"
|
||||||
payment_methods: "Payment Methods"
|
payment_method: "ငွေပေးချေရန်နည်းလမ်း"
|
||||||
accounts: "Accounts"
|
payment_methods: "ငွေပေးချေရန်နည်းလမ်းများ"
|
||||||
|
accounts: "အကောင့်များ"
|
||||||
|
details: "အသေးစိတ်များ"
|
||||||
|
menus: "မီနူးများ"
|
||||||
|
sale_count: "ရောင်းရသည့်အရေအတွက်"
|
||||||
|
total_sale: "စုစုပေါင်းရောင်းရငွေ"
|
||||||
|
total_credit: "စုစုပေါင်းအကြွေး"
|
||||||
|
total_card: "ငွေရှင်းကတ်စုစုပေါင်း"
|
||||||
|
OQS: "အိုကျူအက်စ်"
|
||||||
|
tables: "စားပွဲများ"
|
||||||
|
rooms: "အခန်းများ"
|
||||||
|
cash_in: "ငွေသွင်း"
|
||||||
|
cash_out: "ငွေထုတ်"
|
||||||
|
close_cashier: "ငွေစာရင်းအပိတ်"
|
||||||
|
payment_reference: "ငွေပေးချေမှုအကိုးအကား"
|
||||||
|
reference_number: "ငွေပေးချေမှုနံပါတ်"
|
||||||
|
shift_started_at: "တာ၀န်စခဲ့သည့်အချိန်"
|
||||||
|
cashier_name: "ငွေထိန်းနာမည်"
|
||||||
|
closing_balance: "ငွေစာရင်းအပိတ်စာရင်း"
|
||||||
|
card_tap: "ကတ်ဖြင့်တို့ထိပါ"
|
||||||
|
customer_details: "စားသုံးသူကိုယ်ရေးအသေးစိတ်"
|
||||||
|
order_details: "မှာကြားမှုအသေးစိတ်"
|
||||||
|
sale_details: "ရောင်းရငွေအသေးစိတ်"
|
||||||
|
inventory_definitions: "ကုန်လှောင်ရုံပစ္စည်းဖွင့်ဆိုချက်များ"
|
||||||
|
sale_audits: "အရောင်းပြင်ဆင်ခြင်းများ"
|
||||||
|
|
||||||
views:
|
views:
|
||||||
btn:
|
btn:
|
||||||
|
|||||||
Reference in New Issue
Block a user