update filter in sale and order and creditnote
This commit is contained in:
@@ -13,10 +13,28 @@
|
||||
<div class="col-lg-12">
|
||||
<div class="main-box-body clearfix">
|
||||
<%= form_tag transactions_orders_path, :method => :get do %>
|
||||
<div class="input-append col-md-4 form-group pull-right">
|
||||
<input type="text" name="filter" placeholder="Order ID" class="form-control input-md col-md-8">
|
||||
<button type="submit" class="btn btn-primary btn-md">Search</button>
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<label>Enter Keyword</label>
|
||||
<input type="text" name="filter" placeholder="Order ID" class="form-control input-md">
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label>Items Count</label>
|
||||
<input id="number" data-id='numberRangePicker' type="range" data-min="0" data-max="20" data-step="1" data-value="14"/>
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label class="">From</label>
|
||||
<input class="form-control datepicker" name="from" id="date" type="text" placeholder="From date">
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label class="">To</label>
|
||||
<input class="form-control datepicker" name="to" id="date" type="text" placeholder="To date">
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-1">
|
||||
<label></label>
|
||||
<input type="submit" value="Search" class='btn btn-primary btn-md'>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
@@ -49,7 +67,9 @@
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<%= paginate @orders %>
|
||||
<%if !@order.nil?%>
|
||||
<%= paginate @orders %>
|
||||
<%end%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -57,6 +77,5 @@
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user