<%- include('partials/header') %>
<%= t('tech.history_page.title', 'Riwayat Tugas') %>
<%= t('tech.history_page.subtitle', '50 tugas terakhir yang sudah diselesaikan') %>
<% if (tickets.length === 0) { %>

<%= t('tech.history_page.empty', 'Belum ada riwayat tugas yang diselesaikan.') %>

<% } else { %> <% tickets.forEach(function(ticket){ %>
<%= t('tech.ticket.resolved', 'Selesai') %> <%= new Date(ticket.updated_at).toLocaleString('id-ID', {day:'2-digit', month:'short', year:'numeric'}) %>
<%= ticket.customer_name %>
<%= ticket.subject %>
<% }); %> <% } %> <%- include('partials/bottom_nav') %>