<% if current_user.manager_id @template_route = TemplateRoute.find_by_manager_id_and_day_of_week(current_user.manager_id, Date.today.wday) if @template_route %> <% @template_route.template_route_points.each do |template_route_point| %> <% end %>
<%= t(:shipping_address) %> <%= t(:address) %>
<%= template_route_point.shipping_address.name %> <%= template_route_point.shipping_address.address %>
<% else %> <%= t(:template_route_not_found) %> <% end %> <% else %> <%= t(:current_user_no_manager)%> <% end %>