fix timezone
This commit is contained in:
@@ -295,7 +295,7 @@
|
||||
<tbody>
|
||||
<% i=1
|
||||
@order.each do |order| %>
|
||||
<% if order.status == 'delivered' && (order.created_at.strftime("%Y-%m-%d") == DateTime.now.strftime("%Y-%m-%d")) && !order.delivery.nil? %>
|
||||
<% if order.status == 'delivered' && (order.created_at.strftime("%Y-%m-%d") == Time.current.strftime("%Y-%m-%d")) && !order.delivery.nil? %>
|
||||
<tr class="custom-tr fifth-<%=i%>" style="" data-id="<%=order.order_reservation_id%>" data-sr-no="<%= i %>">
|
||||
<td width ="5%" class="align-left">
|
||||
<%=i%>
|
||||
|
||||
Reference in New Issue
Block a user