add manage in ability for supervisor
This commit is contained in:
@@ -129,10 +129,19 @@ class Ability
|
||||
can :item_edit, :sale_edit
|
||||
can :item_void_cancel, :sale_edit
|
||||
can :cancel_all_void, :sale_edit
|
||||
can :apply_void, :sale_edit
|
||||
|
||||
can :apply_void, :sale_edit
|
||||
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 :create, :payment
|
||||
can :show, :payment
|
||||
|
||||
@@ -35,18 +35,21 @@
|
||||
<span><%= t :dashboard %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% if can? :menage, OrderQueueStation %>
|
||||
<li>
|
||||
<a href="<%= oqs_root_path %>">
|
||||
<i class="material-icons">room_service</i>
|
||||
<span><%= t :oqs %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% end %>
|
||||
<li>
|
||||
<a href="<%= origami_root_path %>">
|
||||
<i class="material-icons">monetization_on</i>
|
||||
<span><%= t :origami %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% if can? :menage, Customer %>
|
||||
<li>
|
||||
<a href="javascript:void(0);" class="menu-toggle">
|
||||
<i class="material-icons">widgets</i>
|
||||
@@ -61,6 +64,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<% end %>
|
||||
<li>
|
||||
<a href="<%= inventory_path %>">
|
||||
<i class="material-icons">store</i>
|
||||
|
||||
@@ -101,6 +101,7 @@ en:
|
||||
discount: "DISCOUNT"
|
||||
charges: "CHARGES"
|
||||
commissions: "COMMISSIONS"
|
||||
commissioners: "COMMISSIONERS"
|
||||
in_duties: "IN DUTIES"
|
||||
move: "MOVE"
|
||||
req_bill: "REQ BILL"
|
||||
|
||||
@@ -6,7 +6,7 @@ mm:
|
||||
origami: "အရောင်းကောင်တာ"
|
||||
crm: "စားသုံးသူကြီးကြပ်ရေး"
|
||||
customer: "စားသုံးသူကြီးကြပ်ရေး"
|
||||
queue: "စားသုံးသူကြီးကြပ်ရေး"
|
||||
queue: "တန်းစီစာရင်း"
|
||||
inventory: "ကုန်လှောင်ရုံ"
|
||||
settings: "သတ်မှတ်ချက်များ"
|
||||
transactions: "အလုပ်ပြီးမြောက်မှု့များ"
|
||||
@@ -21,7 +21,7 @@ mm:
|
||||
products: "ကုန်စည်များ"
|
||||
promotions: "အရောင်းမြှင့်တင်ရေး"
|
||||
commissions: "ကော်မရှင်များ"
|
||||
commissioners: "ကော်မရှင်များ"
|
||||
commissioners: "ကော်မရှင်နာများ"
|
||||
printer: "ပရင့်တာ"
|
||||
logout: "ထွက်ရန်"
|
||||
sale: "အရောင်း"
|
||||
@@ -38,9 +38,33 @@ mm:
|
||||
category: "အမျိုးအစား"
|
||||
processed: "လုပ်ဆောင်ခဲ့ပြီး"
|
||||
completed: "ဆောင်ရွက်ပြီးစီး"
|
||||
tax_profile: "Tax Profile"
|
||||
payment_methods: "Payment Methods"
|
||||
accounts: "Accounts"
|
||||
tax_profile: "အခွန်အမျိုးအစား"
|
||||
payment_method: "ငွေပေးချေရန်နည်းလမ်း"
|
||||
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:
|
||||
btn:
|
||||
@@ -75,7 +99,7 @@ mm:
|
||||
customer: "စားသုံးသူ"
|
||||
discount: "လျှော့စျေး"
|
||||
charges: "ပိုက်ဆံကောက်သည်"
|
||||
commissions: "ကော်မရှင်များ"
|
||||
commissions: "ကော်မရှင်များ"
|
||||
in_duties: "တာဝန်ကျသူများ"
|
||||
move: "ရွေ့ပြောင်းသည်"
|
||||
req_bill: "ကျသင့်ငွေတောင်းခံသည်"
|
||||
|
||||
Reference in New Issue
Block a user