add localization text for Transactions tab

This commit is contained in:
phyusin
2017-10-30 11:48:44 +06:30
parent 74e90c98d3
commit 4c6c503e15
8 changed files with 176 additions and 135 deletions

View File

@@ -1,8 +1,8 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%=inventory_stock_checks_path%>"></a>Stock Check</li>
<li class="breadcrumb-item active">Detail</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><%= t("views.right_panel.detail.stock_check") %></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
@@ -16,7 +16,7 @@
<div class="p-l-20 p-t-15">
<div class="row">
<div class="col-md-2">
Check by
<%= t("views.right_panel.detail.check_by") %>
</div>
<div class="col-md-8">
<%= Employee.find(@check.check_by).name rescue '' %>
@@ -24,7 +24,7 @@
</div>
<div class="row">
<div class="col-md-2">
Check At
<%= t("views.right_panel.detail.check_at") %>
</div>
<div class="col-md-8">
<%= @check.created_at.utc.getlocal.strftime("%e %b %Y %I:%M %p") rescue '-' %>
@@ -32,7 +32,7 @@
</div>
<div class="row">
<div class="col-md-2">
Reason
<%= t("views.right_panel.detail.reason") %>
</div>
<div class="col-md-8">
<%= @check.reason %>
@@ -44,11 +44,11 @@
<table class="table table-striped col-md-12">
<tr>
<th>#</th>
<th>Product</th>
<th>Stock Count</th>
<th>Stock Balance</th>
<th>Different</th>
<th>Remark</th>
<th><%= t("views.right_panel.detail.product") %></th>
<th><%= t("views.right_panel.detail.stock_count") %></th>
<th><%= t("views.right_panel.detail.stock_balance") %></th>
<th><%= t("views.right_panel.detail.different") %></th>
<th><%= t("views.right_panel.detail.remark") %></th>
</tr>
<%
count = 0
@@ -79,8 +79,8 @@
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">
<div class="body">
<button id="save_to_journal" type="button" class="btn btn-block btn-primary"> Save to Journal</button>
<button id="print" type="button" class="btn btn-block btn-primary"> Print</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"> <%= t :print %></button>
</div>
</div>