<%= render :partial=>'shift_sale_report_filter', :locals=>{ :period_type => true, :commissioners => true, :shift_name => true, :report_path =>reports_induty_index_path} %>
<% if @shift_from %> <% if @shift_data.employee %> <% cashier_name = !@shift_data.nil? ? @shift_data.employee.name : '-' %> <% end %> <% end %> <% if !@induty_data.nil? %> <% induty_arr = Array.new %> <% @induty_data.each do |induty| %> <% end %> <% end %>
<%= t("views.right_panel.detail.from_date") %> : <%= @from.utc.getlocal.strftime("%Y-%b-%d") rescue '-' %> - <%= t("views.right_panel.detail.to_date") %> : <%= @to.utc.getlocal.strftime("%Y-%b-%d") rescue '-'%>
<%= t("views.right_panel.detail.shift_name") %> = <%= @shift_from %> - <%= @shift_to %> ( <%= cashier_name %> )
  <%= t("views.right_panel.detail.receipt_no") %> <%= t :commissioners %> <%= t :table %> <%= t("views.right_panel.detail.in_time") %> <%= t("views.right_panel.detail.out_time") %>
  <%= induty.receipt_no %> <%= induty.name %> <%= induty.dining_name %> <%= induty.in_time.utc.getlocal.strftime("%d-%m-%Y - %I:%M") %> <%= induty.out_time.utc.getlocal.strftime("%d-%m-%Y - %I:%M") %>