This commit is contained in:
Yan
2017-10-12 18:08:49 +06:30
parent 5df78b10ed
commit 2379079b03
5 changed files with 32 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
<div class="container-fluid">
<div class="block-header">
<h2>DASHBOARD</h2>
<h2><%= t :dashboard %></h2>
</div>
<!-- Widgets -->
@@ -57,7 +57,7 @@
<div class="row">
<div class="col-md-6">
<div class="panel">
<div class="panel-heading"><h4>Top Products</h4></div>
<div class="panel-heading"><h4><%= (t :top) + " " + (t :products) %></h4></div>
<div class="panel-body">
<canvas id="top_products" class="col-md-12"></canvas>
</div>
@@ -65,7 +65,7 @@
</div>
<div class="col-md-6">
<div class="panel">
<div class="panel-heading"><h4>Inventory</h4></div>
<div class="panel-heading"><h4><%= t :inventory %></h4></div>
<div class="panel-body">
<canvas id="inventory" class="col-md-12"></canvas>
</div>
@@ -76,7 +76,7 @@
<div class="row">
<div class="col-md-6">
<div class="panel">
<div class="panel-heading"><h4>Hourly Sales</h4></div>
<div class="panel-heading"><h4><%= (t :hourly) + " " + (t :sale) %></h4></div>
<div class="panel-body">
<canvas id="hourly_sales" class="col-md-12"></canvas>
</div>
@@ -84,7 +84,7 @@
</div>
<div class="col-md-6">
<div class="panel">
<div class="panel-heading"><h4>Employee Sales</h4></div>
<div class="panel-heading"><h4><%= (t :staff) + " " + (t :sale) %></h4></div>
<div class="panel-body">
<canvas id="employee_sales" class="col-md-12"></canvas>
</div>

View File

@@ -27,7 +27,7 @@
</a>
<ul class="dropdown-menu">
<li>
<%= link_to 'Logout',logout_path, method: :delete, data: {confirm: 'Are you sure?'} %>
<%= link_to (t :logout),logout_path, method: :delete, data: {confirm: 'Are you sure?'} %>
<!-- <a href="<%= logout_path %>"><i class="material-icons">input</i>Sign Out</a> -->
</li>
</ul>

View File

@@ -66,13 +66,13 @@
</a>
<ul class="ml-menu">
<li>
<a href="<%= transactions_orders_path %>">Order</a>
<a href="<%= transactions_orders_path %>"><%= t :orders %></a>
</li>
<li>
<a href="<%= transactions_sales_path %>">Sale</a>
<a href="<%= transactions_sales_path %>"><%= t :sale %></a>
</li>
<li>
<a href="<%= transactions_credit_notes_path %>">Credit Note</a>
<a href="<%= transactions_credit_notes_path %>"><%= (t :credit) + " " + (t :reports) %></a>
</li>
</ul>
</li>

View File

@@ -19,7 +19,12 @@ en:
products: "Products"
promotions: "Promotions"
printer: "Printer"
logout: "Logout"
sale: "Sale"
hourly: "Hourly"
top: "Top"
orders: "Orders"
credit: "Credit"
views:
pagination:

View File

@@ -3,23 +3,28 @@ mm:
main_navigation: "မာတိကာ"
dashboard: "မျက်နှာစာ"
oqs: "အမှာစာနေရာများ"
origami: "အရောင်းဌာန"
origami: "အရောင်းကောင်တာ"
crm: "စားသုံးသူကြီးကြပ်ရေး"
inventory: "ကုန်လှောင်ရုံ"
settings: "သတ်မှတ်ချက်များ"
transactions: "အလုပ်ပြီးမြောက်မှု့များ"
reports: "အစီရင်ခံစာ"
zones: "Zones"
dinings: "Dinings"
menu: "Menu"
cashier: "Cashier"
terminal: "Terminal"
print: "Print"
staff: "Staff"
products: "Products"
promotions: "Promotions"
printer: "Printer"
zones: "ဇုန်"
dinings: "စားပွဲရုံ"
menu: "စားဖွယ်စုံ"
cashier: "ငွေရှင်း"
terminal: "ကောင်တာ"
print: "စာထုတ်ပါ"
staff: "၀န်ထမ်းများ"
products: "ကုန်စည်များ"
promotions: "အရောင်းမြှင့်တင်ရေး"
printer: "ပရင့်တာ"
logout: "ထွက်ရန်"
sale: "အရောင်း"
hourly: "နာရီအလိုက်"
top: "အရောင်းရဆုံး"
orders: "အော်ဒါများ"
credit: "အကြွေး"
views:
pagination: