add localization text for Transactions tab
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
</div> -->
|
||||
<div class="page-header">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
||||
<li class="breadcrumb-item active">Credit Note</li>
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("views.right_panel.detail.credit_note") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to 'Back', dashboard_path %>
|
||||
</span>
|
||||
@@ -29,13 +29,13 @@
|
||||
<%= form_tag transactions_credit_notes_path, :method => :get do %>
|
||||
<div class="row clearfix">
|
||||
<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">
|
||||
</div>
|
||||
<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" >
|
||||
<option value="">Select Customer</option>
|
||||
<option value=""><%= t("views.right_panel.detail.select_customer") %></option>
|
||||
<% @customers.each do |customer| %>
|
||||
<option value="<%= customer.customer_id %>">
|
||||
<%= customer.name %></option>
|
||||
@@ -43,11 +43,11 @@
|
||||
</select>
|
||||
</div>
|
||||
<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">
|
||||
</div>
|
||||
<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">
|
||||
</div>
|
||||
|
||||
@@ -70,12 +70,12 @@
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Sale Id </th>
|
||||
<th>Receipt no </th>
|
||||
<th>Credit Amount</th>
|
||||
<th>Cashier</th>
|
||||
<th>Customer Name</th>
|
||||
<th>Receipt Date</th>
|
||||
<th><%= t("views.right_panel.detail.sale_id") %></th>
|
||||
<th><%= t("views.right_panel.detail.receipt_no") %></th>
|
||||
<th><%= t("views.right_panel.detail.credit_amount") %></th>
|
||||
<th><%= t :cashier %></th>
|
||||
<th><%= t :customer %> <%= t("views.right_panel.detail.name") %></th>
|
||||
<th><%= t("views.right_panel.detail.receipt_date") %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
</tr>
|
||||
<% end %>
|
||||
<% 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 %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user