add localization text for Transactions tab
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||||
<li class="breadcrumb-item"><a href="<%=inventory_stock_checks_path%>"></a>Stock Check</li>
|
<li class="breadcrumb-item"><a href="<%=inventory_stock_checks_path%>"></a><%= t("views.right_panel.detail.stock_check") %></li>
|
||||||
<li class="breadcrumb-item active">Detail</li>
|
<li class="breadcrumb-item active"><%= t :details %></li>
|
||||||
<span class="float-right">
|
<span class="float-right">
|
||||||
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
|
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
|
||||||
</span>
|
</span>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<div class="p-l-20 p-t-15">
|
<div class="p-l-20 p-t-15">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
Check by
|
<%= t("views.right_panel.detail.check_by") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<%= Employee.find(@check.check_by).name rescue '' %>
|
<%= Employee.find(@check.check_by).name rescue '' %>
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
Check At
|
<%= t("views.right_panel.detail.check_at") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<%= @check.created_at.utc.getlocal.strftime("%e %b %Y %I:%M %p") rescue '-' %>
|
<%= @check.created_at.utc.getlocal.strftime("%e %b %Y %I:%M %p") rescue '-' %>
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
Reason
|
<%= t("views.right_panel.detail.reason") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<%= @check.reason %>
|
<%= @check.reason %>
|
||||||
@@ -44,11 +44,11 @@
|
|||||||
<table class="table table-striped col-md-12">
|
<table class="table table-striped col-md-12">
|
||||||
<tr>
|
<tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
<th>Product</th>
|
<th><%= t("views.right_panel.detail.product") %></th>
|
||||||
<th>Stock Count</th>
|
<th><%= t("views.right_panel.detail.stock_count") %></th>
|
||||||
<th>Stock Balance</th>
|
<th><%= t("views.right_panel.detail.stock_balance") %></th>
|
||||||
<th>Different</th>
|
<th><%= t("views.right_panel.detail.different") %></th>
|
||||||
<th>Remark</th>
|
<th><%= t("views.right_panel.detail.remark") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
<%
|
<%
|
||||||
count = 0
|
count = 0
|
||||||
@@ -79,8 +79,8 @@
|
|||||||
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">
|
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">
|
||||||
|
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<button id="save_to_journal" type="button" class="btn btn-block btn-primary"> Save to Journal</button>
|
<button id="save_to_journal" type="button" class="btn btn-block btn-primary"> <%= t("views.right_panel.button.save_to_journal") %></button>
|
||||||
<button id="print" type="button" class="btn btn-block btn-primary"> Print</button>
|
<button id="print" type="button" class="btn btn-block btn-primary"> <%= t :print %></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
</div> -->
|
</div> -->
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||||
<li class="breadcrumb-item active">Credit Note</li>
|
<li class="breadcrumb-item active"><%= t("views.right_panel.detail.credit_note") %></li>
|
||||||
<span class="float-right">
|
<span class="float-right">
|
||||||
<%= link_to 'Back', dashboard_path %>
|
<%= link_to 'Back', dashboard_path %>
|
||||||
</span>
|
</span>
|
||||||
@@ -29,13 +29,13 @@
|
|||||||
<%= form_tag transactions_credit_notes_path, :method => :get do %>
|
<%= form_tag transactions_credit_notes_path, :method => :get do %>
|
||||||
<div class="row clearfix">
|
<div class="row clearfix">
|
||||||
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
|
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
|
||||||
<label class="font-14">Enter Keywords</label>
|
<label class="font-14"><%= t("views.right_panel.detail.enter_keyboards") %></label>
|
||||||
<input type="text" name="receipt_no" class="form-control m-t-3" placeholder="Receipt No/Cashier Name/Status" style="margin-right: 10px">
|
<input type="text" name="receipt_no" class="form-control m-t-3" placeholder="Receipt No/Cashier Name/Status" style="margin-right: 10px">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
||||||
<label class="font-14">Select Customer</label>
|
<label class="font-14"><%= t("views.right_panel.detail.select_customer") %></label>
|
||||||
<select class="selectpicker form-control col-md-12 " name="customer" style="height: 40px" >
|
<select class="selectpicker form-control col-md-12 " name="customer" style="height: 40px" >
|
||||||
<option value="">Select Customer</option>
|
<option value=""><%= t("views.right_panel.detail.select_customer") %></option>
|
||||||
<% @customers.each do |customer| %>
|
<% @customers.each do |customer| %>
|
||||||
<option value="<%= customer.customer_id %>">
|
<option value="<%= customer.customer_id %>">
|
||||||
<%= customer.name %></option>
|
<%= customer.name %></option>
|
||||||
@@ -43,11 +43,11 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
||||||
<label class="font-14">From</label>
|
<label class="font-14"><%= t("views.right_panel.detail.from") %></label>
|
||||||
<input class="form-control datepicker m-t-3" name="from" id="date" type="text" placeholder="From date">
|
<input class="form-control datepicker m-t-3" name="from" id="date" type="text" placeholder="From date">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
||||||
<label class="font-14">To</label>
|
<label class="font-14"><%= t("views.right_panel.detail.to") %></label>
|
||||||
<input class="form-control datepicker m-t-3" name="to" id="date" type="text" placeholder="To date">
|
<input class="form-control datepicker m-t-3" name="to" id="date" type="text" placeholder="To date">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -70,12 +70,12 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Sale Id </th>
|
<th><%= t("views.right_panel.detail.sale_id") %></th>
|
||||||
<th>Receipt no </th>
|
<th><%= t("views.right_panel.detail.receipt_no") %></th>
|
||||||
<th>Credit Amount</th>
|
<th><%= t("views.right_panel.detail.credit_amount") %></th>
|
||||||
<th>Cashier</th>
|
<th><%= t :cashier %></th>
|
||||||
<th>Customer Name</th>
|
<th><%= t :customer %> <%= t("views.right_panel.detail.name") %></th>
|
||||||
<th>Receipt Date</th>
|
<th><%= t("views.right_panel.detail.receipt_date") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<tr><td colspan="8"><strong><p style="text-align: center">There is no data for search....</p></strong></td></tr>
|
<tr><td colspan="8"><strong><p style="text-align: center"><%= t("views.right_panel.detail.no_data_txt") %>....</p></strong></td></tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||||
<li class="breadcrumb-item active">Order</li>
|
<li class="breadcrumb-item active"><%= t("views.right_panel.detail.order") %></li>
|
||||||
<span class="float-right">
|
<span class="float-right">
|
||||||
<%= link_to 'Back', dashboard_path %>
|
<%= link_to 'Back', dashboard_path %>
|
||||||
</span>
|
</span>
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
<%= form_tag transactions_orders_path, :method => :get do %>
|
<%= form_tag transactions_orders_path, :method => :get do %>
|
||||||
<div class="row clearfix">
|
<div class="row clearfix">
|
||||||
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
|
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
|
||||||
<label class="form-control-label">Search Keyword</label>
|
<label class="form-control-label"><%= t("views.right_panel.button.search_keyboard") %></label>
|
||||||
<input type="text" name="filter" placeholder="Order ID" class="form-control input-md">
|
<input type="text" name="filter" placeholder="Order ID" class="form-control input-md">
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
<!-- <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
||||||
@@ -27,11 +27,11 @@
|
|||||||
|
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
||||||
<label class="form-control-label">From</label>
|
<label class="form-control-label"><%= t("views.right_panel.detail.from") %></label>
|
||||||
<input class="form-control datepicker" name="from" id="date" type="text" placeholder="From date">
|
<input class="form-control datepicker" name="from" id="date" type="text" placeholder="From date">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
|
||||||
<label class="form-control-label">To</label>
|
<label class="form-control-label"><%= t("views.right_panel.detail.to") %></label>
|
||||||
<input class="form-control datepicker" name="to" id="date" type="text" placeholder="To date">
|
<input class="form-control datepicker" name="to" id="date" type="text" placeholder="To date">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -47,12 +47,12 @@
|
|||||||
<thead>
|
<thead>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Order ID </th>
|
<th><%= t("views.right_panel.detail.order_id") %></th>
|
||||||
<th>Type</th>
|
<th><%= t("views.right_panel.detail.type") %></th>
|
||||||
<th>Customer</th>
|
<th><%= t :customer %></th>
|
||||||
<th>Order status</th>
|
<th><%= t("views.right_panel.detail.order_status") %></th>
|
||||||
<th>Order date</th>
|
<th><%= t("views.right_panel.detail.order_date") %></th>
|
||||||
<th>Items Count</th>
|
<th><%= t("views.right_panel.detail.items_count") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||||
<li class="breadcrumb-item"><a href="<%= transactions_orders_path %>">Order</a></li>
|
<li class="breadcrumb-item"><a href="<%= transactions_orders_path %>"><%= t("views.right_panel.detail.order") %></a></li>
|
||||||
<li class="breadcrumb-item active">Details</li>
|
<li class="breadcrumb-item active"><%= t :details %></li>
|
||||||
<span class="float-right">
|
<span class="float-right">
|
||||||
<%= link_to 'Back', transactions_orders_path %>
|
<%= link_to 'Back', transactions_orders_path %>
|
||||||
</span>
|
</span>
|
||||||
@@ -17,11 +17,11 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Type</th>
|
<th><%= t("views.right_panel.detail.type") %></th>
|
||||||
<th>Customer</th>
|
<th><%= t :customer %></th>
|
||||||
<th>Order status</th>
|
<th><%= t("views.right_panel.detail.order_status") %></th>
|
||||||
<th>Order date</th>
|
<th><%= t("views.right_panel.detail.order_date") %></th>
|
||||||
<th>Order By</th>
|
<th><%= t("views.right_panel.detail.order_by") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
@@ -35,18 +35,18 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<h3>Order Items</h3>
|
<h3><%= t("views.right_panel.detail.order_items") %></h3>
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Item Name</th>
|
<th><%= t("views.right_panel.detail.item") +" "+ t("views.right_panel.detail.name") %></th>
|
||||||
<th>Qty</th>
|
<th><%= t("views.right_panel.detail.qty") %></th>
|
||||||
<th> Unit Price</th>
|
<th><%= t("views.right_panel.detail.unit_price") %></th>
|
||||||
<th>Total Price</th>
|
<th><%= t("views.right_panel.detail.total_price") %></th>
|
||||||
<!-- <th>Option</th> -->
|
<!-- <th>Option</th> -->
|
||||||
<th>Status</th>
|
<th><%= t("views.right_panel.detail.status") %></th>
|
||||||
<th>Order By</th>
|
<th><%= t("views.right_panel.detail.order_by") %></th>
|
||||||
<th>Created at</th>
|
<th><%= t("views.right_panel.detail.created_at") %></th>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||||
<li class="breadcrumb-item active">Sale</li>
|
<li class="breadcrumb-item active"><%= t :sale %></li>
|
||||||
<span class="float-right">
|
<span class="float-right">
|
||||||
<%= link_to 'Back', dashboard_path %>
|
<%= link_to 'Back', dashboard_path %>
|
||||||
</span>
|
</span>
|
||||||
@@ -18,15 +18,15 @@
|
|||||||
<%= form_tag transactions_sales_path, :method => :get do %>
|
<%= form_tag transactions_sales_path, :method => :get do %>
|
||||||
<div class="row clearfix">
|
<div class="row clearfix">
|
||||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
|
||||||
<label>Enter Keywords</label>
|
<label><%= t("views.right_panel.detail.enter_keyboards") %></label>
|
||||||
<input type="text" name="receipt_no" class="form-control" placeholder="Receipt No/Cashier Name/Status" style="margin-right: 10px">
|
<input type="text" name="receipt_no" class="form-control" placeholder="Receipt No/Cashier Name/Status" style="margin-right: 10px">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
|
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
|
||||||
<label class="">From</label>
|
<label class=""><%= t("views.right_panel.detail.from") %></label>
|
||||||
<input class="form-control datepicker" name="from" id="date" type="text" placeholder="From date">
|
<input class="form-control datepicker" name="from" id="date" type="text" placeholder="From date">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
|
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
|
||||||
<label class="">To</label>
|
<label class=""><%= t("views.right_panel.detail.to") %></label>
|
||||||
<input class="form-control datepicker" name="to" id="date" type="text" placeholder="To date">
|
<input class="form-control datepicker" name="to" id="date" type="text" placeholder="To date">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -51,13 +51,13 @@
|
|||||||
<thead>
|
<thead>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Sale Id </th>
|
<th><%= t("views.right_panel.detail.sale_id") %></th>
|
||||||
<th>Receipt no </th>
|
<th><%= t("views.right_panel.detail.receipt_no") %></th>
|
||||||
<th>Grand total</th>
|
<th><%= t("views.right_panel.detail.grand_total") %></th>
|
||||||
<th>Tax amount</th>
|
<th><%= t("views.right_panel.detail.tax_amount") %></th>
|
||||||
<th>Cashier</th>
|
<th><%= t :cashier %></th>
|
||||||
<th>Sales status</th>
|
<th><%= t("views.right_panel.detail.sales_status") %></th>
|
||||||
<th>Receipt Date</th>
|
<th><%= t("views.right_panel.detail.receipt_date") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|||||||
@@ -1,27 +1,27 @@
|
|||||||
<p id="notice"><%= notice %></p>
|
<p id="notice"><%= notice %></p>
|
||||||
|
|
||||||
<h1>Transactions Sales</h1>
|
<h1><%= t("views.right_panel.header.transactions_sales") %></h1>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Cashier</th>
|
<th><%= t :cashier %></th>
|
||||||
<th>Cashier name</th>
|
<th><%= t :cashier %> <%= t("views.right_panel.detail.name_txt2") %></th>
|
||||||
<th>Requested by</th>
|
<th><%= t("views.right_panel.detail.requested_by") %></th>
|
||||||
<th>Requested at</th>
|
<th><%= t("views.right_panel.detail.requested_at") %></th>
|
||||||
<th>Receipt no</th>
|
<th><%= t("views.right_panel.detail.receipt_no") %></th>
|
||||||
<th>Receipt date</th>
|
<th><%= t("views.right_panel.detail.receipt_date") %></th>
|
||||||
<th>Customer</th>
|
<th><%= t :customer %></th>
|
||||||
<th>Payment status</th>
|
<th><%= t("views.right_panel.detail.payment_status") %></th>
|
||||||
<th>Sale status</th>
|
<th><%= t("views.right_panel.detail.sale_status") %></th>
|
||||||
<th>Total amount</th>
|
<th><%= t("views.right_panel.detail.total_amount") %></th>
|
||||||
<th>Total discount</th>
|
<th><%= t("views.right_panel.detail.total_discount") %></th>
|
||||||
<th>Total tax</th>
|
<th><%= t("views.right_panel.detail.total_tax") %></th>
|
||||||
<th>Tax type</th>
|
<th><%= t("views.right_panel.detail.tax_type") %></th>
|
||||||
<th>Grand total</th>
|
<th><%= t("views.right_panel.detail.grand_total") %></th>
|
||||||
<th>Rounding adjustment</th>
|
<th><%= t("views.right_panel.detail.rnd_adj") %></th>
|
||||||
<th>Amount received</th>
|
<th><%= t("views.right_panel.detail.amt_received") %></th>
|
||||||
<th>Amount changed</th>
|
<th><%= t("views.right_panel.detail.amt_changed") %></th>
|
||||||
<th colspan="3"></th>
|
<th colspan="3"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||||
<li class="breadcrumb-item"><a href="<%= transactions_sales_path %>">Sales</a></li>
|
<li class="breadcrumb-item"><a href="<%= transactions_sales_path %>"><%= t :sale %></a></li>
|
||||||
<li class="breadcrumb-item active">Details</li>
|
<li class="breadcrumb-item active"><%= t :details %></li>
|
||||||
<span class="float-right">
|
<span class="float-right">
|
||||||
<%= link_to 'Back', transactions_sales_path %>
|
<%= link_to 'Back', transactions_sales_path %>
|
||||||
</span>
|
</span>
|
||||||
@@ -16,16 +16,16 @@
|
|||||||
<!-- Nav tabs -->
|
<!-- Nav tabs -->
|
||||||
<ul class="nav nav-tabs" role="tablist">
|
<ul class="nav nav-tabs" role="tablist">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link active" data-toggle="tab" href="#queue" role="tab">Sale Details </a>
|
<a class="nav-link active" data-toggle="tab" href="#queue" role="tab"><%= t :sale_details %> </a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link " data-toggle="tab" href="#booking" role="tab">Orders Details</a>
|
<a class="nav-link " data-toggle="tab" href="#booking" role="tab"><%= t :order_details %></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" data-toggle="tab" href="#customer" role="tab">Customer Details</a>
|
<a class="nav-link" data-toggle="tab" href="#customer" role="tab"><%= t :customer_details %></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" data-toggle="tab" href="#sale_audit" role="tab">Sale Audits</a>
|
<a class="nav-link" data-toggle="tab" href="#sale_audit" role="tab"><%= t :sale_audits %></a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<!-- Nav tabs - End -->
|
<!-- Nav tabs - End -->
|
||||||
@@ -38,11 +38,11 @@
|
|||||||
<thead>
|
<thead>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Receipt Date </th>
|
<th><%= t("views.right_panel.detail.receipt_date") %></th>
|
||||||
<th>Receipt no</th>
|
<th><%= t("views.right_panel.detail.receipt_no") %></th>
|
||||||
<th>Cashier</th>
|
<th><%= t :cashier %></th>
|
||||||
<th>Sales status</th>
|
<th><%= t("views.right_panel.detail.sales_status") %></th>
|
||||||
<th>Receipt generated at</th>
|
<th><%= t("views.right_panel.detail.receipt_generated_at") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
@@ -55,11 +55,11 @@
|
|||||||
<td> <%= @sale.requested_at.strftime("%m-%d-%Y %H:%M %p") %> </td>
|
<td> <%= @sale.requested_at.strftime("%m-%d-%Y %H:%M %p") %> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="border-top:2px solid #000">
|
<tr style="border-top:2px solid #000">
|
||||||
<th>Sale item name</th>
|
<th><%= t :sale %> <%= t("views.right_panel.detail.item_txt") %> <%= t("views.right_panel.detail.name_txt2") %></th>
|
||||||
<th> Qty</th>
|
<th><%= t("views.right_panel.detail.qty") %></th>
|
||||||
<th>Unit price</th>
|
<th><%= t("views.right_panel.detail.unit_price") %></th>
|
||||||
<th>Total pirce </th>
|
<th><%= t("views.right_panel.detail.total_price") %></th>
|
||||||
<th>Created at</th>
|
<th><%= t("views.right_panel.detail.created_at") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
<% @sale.sale_items.each do |s| %>
|
<% @sale.sale_items.each do |s| %>
|
||||||
|
|
||||||
@@ -73,12 +73,12 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
<tr style="border-top:2px solid #000">
|
<tr style="border-top:2px solid #000">
|
||||||
<td colspan=2 style="text-align:center"></td>
|
<td colspan=2 style="text-align:center"></td>
|
||||||
<td>Total</td>
|
<td><%= t("views.right_panel.detail.total") %></td>
|
||||||
<td colspan="2"><%= number_with_precision(@sale.total_amount, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
<td colspan="2"><%= number_with_precision(@sale.total_amount, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan=2 style="text-align:center"></td>
|
<td colspan=2 style="text-align:center"></td>
|
||||||
<td>Discount</td>
|
<td><%= t("views.right_panel.detail.discount") %></td>
|
||||||
<td colspan="2"><%= number_with_precision(@sale.total_discount, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
<td colspan="2"><%= number_with_precision(@sale.total_discount, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
||||||
</tr>
|
</tr>
|
||||||
<% @sale.sale_taxes.each do |r|%>
|
<% @sale.sale_taxes.each do |r|%>
|
||||||
@@ -90,13 +90,13 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan=2 style="text-align:center"></td>
|
<td colspan=2 style="text-align:center"></td>
|
||||||
<td>Grand Total</td>
|
<td><%= t("views.right_panel.detail.grand_total") %></td>
|
||||||
<td colspan="2"><%= number_with_precision(@sale.grand_total, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
<td colspan="2"><%= number_with_precision(@sale.grand_total, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td colspan="5"> <td></tr>
|
<tr><td colspan="5"> <td></tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan=2 style="text-align:center"></td>
|
<td colspan=2 style="text-align:center"></td>
|
||||||
<td>Total Pay Amount</td>
|
<td><%= t("views.right_panel.detail.total_pay_amount") %></td>
|
||||||
<td colspan="2"><%= number_with_precision(@sale.amount_received, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
<td colspan="2"><%= number_with_precision(@sale.amount_received, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan=2 style="text-align:center"></td>
|
<td colspan=2 style="text-align:center"></td>
|
||||||
<td>Change</td>
|
<td><%= t("views.right_panel.detail.change") %></td>
|
||||||
<td colspan="2"><%= number_with_precision(@sale.amount_changed, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
<td colspan="2"><%= number_with_precision(@sale.amount_changed, :precision => 2, :delimiter => ',') rescue ' '%></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@@ -128,14 +128,14 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Order ID</th>
|
<th><%= t("views.right_panel.detail.order_id") %></th>
|
||||||
<th>Menu Item</th>
|
<th><%= t("views.right_panel.header.menu_item") %></th>
|
||||||
<th>QTY</th>
|
<th><%= t("views.right_panel.detail.qty") %></th>
|
||||||
<th>Unit Price </th>
|
<th><%= t("views.right_panel.detail.unit_price") %></th>
|
||||||
<th>Option</th>
|
<th><%= t("views.right_panel.detail.option") %></th>
|
||||||
<th>Status</th>
|
<th><%= t("views.right_panel.detail.status") %></th>
|
||||||
<th>Waiter</th>
|
<th><%= t("views.right_panel.detail.waiter") %></th>
|
||||||
<th>Created at </th>
|
<th><%= t("views.right_panel.detail.created_at") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
@@ -163,14 +163,14 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Card No</th>
|
<th><%= t("views.right_panel.detail.card_no") %></th>
|
||||||
<th>Name</th>
|
<th><%= t("views.right_panel.detail.name") %></th>
|
||||||
<th>Company</th>
|
<th><%= t("views.right_panel.detail.company") %></th>
|
||||||
<th>Contact no</th>
|
<th><%= t("views.right_panel.detail.contact_no") %></th>
|
||||||
<th>Email</th>
|
<th><%= t("views.right_panel.detail.email") %></th>
|
||||||
<th>NRC/Passport No</th>
|
<th><%= t("views.right_panel.detail.nrc_passport_no") %></th>
|
||||||
<th>Address</th>
|
<th><%= t("views.right_panel.detail.address") %></th>
|
||||||
<th>DOB</th>
|
<th><%= t("views.right_panel.detail.dob") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
@@ -187,16 +187,16 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr></tr>
|
<tr></tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="5">Membership Transactions</th>
|
<th colspan="5"><%= t("views.right_panel.detail.membership_transactions") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Date</th>
|
<th><%= t("views.right_panel.detail.date") %></th>
|
||||||
<th>Redeem</th>
|
<th><%= t("views.right_panel.detail.redeem") %></th>
|
||||||
<th>Rebate</th>
|
<th><%= t("views.right_panel.detail.rebate") %></th>
|
||||||
<th>Balance</th>
|
<th><%= t("views.right_panel.detail.balance") %></th>
|
||||||
<th>From Account</th>
|
<th><%= t("views.right_panel.detail.from_account") %></th>
|
||||||
<th>Status</th>
|
<th><%= t("views.right_panel.detail.status") %></th>
|
||||||
<th>Receipt No</th>
|
<th><%= t("views.right_panel.detail.receipt_no") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<%
|
<%
|
||||||
@@ -225,10 +225,10 @@
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Action </th>
|
<th><%= t("views.right_panel.detail.action") %></th>
|
||||||
<th>Action At</th>
|
<th><%= t("views.right_panel.detail.action_at") %></th>
|
||||||
<th>Approved At</th>
|
<th><%= t("views.right_panel.detail.approved_at") %></th>
|
||||||
<th>Remark</th>
|
<th><%= t("views.right_panel.detail.remark") %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ en:
|
|||||||
order_details: "Order Details"
|
order_details: "Order Details"
|
||||||
sale_details: "Sale Details"
|
sale_details: "Sale Details"
|
||||||
inventory_definitions: "Inventory Definitions"
|
inventory_definitions: "Inventory Definitions"
|
||||||
|
sale_audits: "Sale Audits"
|
||||||
|
|
||||||
views:
|
views:
|
||||||
btn:
|
btn:
|
||||||
@@ -147,6 +148,7 @@ en:
|
|||||||
order_queue_stations: "Order Queue Stations"
|
order_queue_stations: "Order Queue Stations"
|
||||||
cashier_terminal: "Cashier Terminal"
|
cashier_terminal: "Cashier Terminal"
|
||||||
print_settings: "Print Settings"
|
print_settings: "Print Settings"
|
||||||
|
transaction_sales: "Transactions Sales"
|
||||||
button:
|
button:
|
||||||
new: "NEW"
|
new: "NEW"
|
||||||
create: "CREATE"
|
create: "CREATE"
|
||||||
@@ -173,6 +175,8 @@ en:
|
|||||||
queue: "QUEUE"
|
queue: "QUEUE"
|
||||||
save: "SAVE"
|
save: "SAVE"
|
||||||
finish: "FINISH"
|
finish: "FINISH"
|
||||||
|
save_to_journal: "Save to Journal"
|
||||||
|
search_keyboard: "Search Keyword"
|
||||||
detail:
|
detail:
|
||||||
name: "Name"
|
name: "Name"
|
||||||
type: "Type"
|
type: "Type"
|
||||||
@@ -185,6 +189,7 @@ en:
|
|||||||
created_at: "Created at"
|
created_at: "Created at"
|
||||||
updated_at: "Updated at"
|
updated_at: "Updated at"
|
||||||
action: "Action"
|
action: "Action"
|
||||||
|
action_at: "Action At"
|
||||||
actions: "Actions"
|
actions: "Actions"
|
||||||
item_code: "Item code"
|
item_code: "Item code"
|
||||||
unit_price: "Unit price"
|
unit_price: "Unit price"
|
||||||
@@ -337,11 +342,46 @@ en:
|
|||||||
order_id: "Order ID"
|
order_id: "Order ID"
|
||||||
order_date: "Order date"
|
order_date: "Order date"
|
||||||
sale_id: "Sale ID"
|
sale_id: "Sale ID"
|
||||||
receipt_no: "Receipt No"
|
|
||||||
grand_total: "Grand Total"
|
grand_total: "Grand Total"
|
||||||
tax_amount: "Tax Amount"
|
tax_amount: "Tax Amount"
|
||||||
sales_status: "Sales Status"
|
sales_status: "Sales Status"
|
||||||
receipt_date: "Receipt Date"
|
receipt_date: "Receipt Date"
|
||||||
|
check_by: "Check By"
|
||||||
|
check_at: "Check At"
|
||||||
|
reason: "Reason"
|
||||||
|
stock_count: "Stock Count"
|
||||||
|
stock_balance: "Stock Balance"
|
||||||
|
different: "Different"
|
||||||
|
order: "Order"
|
||||||
|
from: "From"
|
||||||
|
to: "To"
|
||||||
|
order_status: "Order Status"
|
||||||
|
order_items: "Order Items"
|
||||||
|
total_price: "Total price"
|
||||||
|
enter_keyboards: "Enter Keywords"
|
||||||
|
receipt_generated_at: "Receipt generated at"
|
||||||
|
total: "Total"
|
||||||
|
total_pay_amount: "Total Pay Amount"
|
||||||
|
change: "Change"
|
||||||
|
option: "Option"
|
||||||
|
waiter: "Waiter"
|
||||||
|
membership_transactions: "Membership Transactions"
|
||||||
|
redeem: "Redeem"
|
||||||
|
approved_at: "Approved At"
|
||||||
|
credit_note: "Credit Note"
|
||||||
|
requested_by: "Requested by"
|
||||||
|
requested_at: "Requested at"
|
||||||
|
payment_status: "Payment status"
|
||||||
|
sale_status: "Sale status"
|
||||||
|
total_amount: "Total amount"
|
||||||
|
total_discount: "Total discount"
|
||||||
|
total_tax: "Total tax"
|
||||||
|
tax_type: "Tax type"
|
||||||
|
rnd_adj: "Rounding adjustment"
|
||||||
|
amt_received: "Amount received"
|
||||||
|
amt_changed: "Amount changed"
|
||||||
|
select_customer: "Select Customer"
|
||||||
|
credit_amount: "Credit Amount"
|
||||||
|
|
||||||
code_txt: "code "
|
code_txt: "code "
|
||||||
charge_txt: "charge"
|
charge_txt: "charge"
|
||||||
@@ -498,6 +538,7 @@ en:
|
|||||||
stock_check_reason_txt: "stock check reason"
|
stock_check_reason_txt: "stock check reason"
|
||||||
stock_check_txt: "stock check"
|
stock_check_txt: "stock check"
|
||||||
detail_txt: "detail"
|
detail_txt: "detail"
|
||||||
|
no_data_txt: "There is no data for search"
|
||||||
|
|
||||||
assign_txt: "to assign "
|
assign_txt: "to assign "
|
||||||
remove_txt: "to remove "
|
remove_txt: "to remove "
|
||||||
|
|||||||
Reference in New Issue
Block a user