-
- <% if due.any? %>
-
- <% due.each do |item| %>
- -
- <%= link_to item.title, item.path, class: [ "hover:underline", ("font-medium text-red-700" if item.overdue?) ] %>
-
- <% if item.overdue? %>overdue<% else %><%= "~" if item.projected %><%= fmt_date(item.date) %><% end %><%= " · at #{hours(item.due_hours)} hrs" if item.due_hours %>
-
-
- <% end %>
-
- <% if due.any?(&:projected) %>"~" dates are estimated from the last year's flying.
<% end %>
- <% else %>
- <%= empty_state "Nothing coming due soon." %>
- <% end %>
-
diff --git a/app/views/aircraft/show.html.erb b/app/views/aircraft/show.html.erb
index c2a0fde..c94e68f 100644
--- a/app/views/aircraft/show.html.erb
+++ b/app/views/aircraft/show.html.erb
@@ -46,8 +46,6 @@
<% end %>
- <%= render "aircraft/coming_due", aircraft: @aircraft, due: @coming_due %>
-