<%- include('partials/header') %>
<%= t('tech.pool.title', 'Tiket Baru') %>
<%= t('tech.pool.subtitle', 'Daftar keluhan yang belum ditangani') %>
<%= tickets.length %>
<% if (tickets.length === 0) { %>

<%= t('tech.pool.empty', 'Tidak ada keluhan baru saat ini.') %>
<%= t('tech.pool.empty_hint', 'Semua pelanggan berjalan normal.') %>

<% } else { %> <% tickets.forEach(function(ticket){ %>
<%= t('tech.ticket.open', 'Belum Ditangani') %> <%= typeof formatDateLocal === 'function' ? formatDateLocal(ticket.created_at) : (ticket.created_at ? new Date(ticket.created_at).toLocaleString('id-ID', {day:'2-digit', month:'short', hour:'2-digit', minute:'2-digit'}) : '-') %>
<%= ticket.customer_name %>
<%= ticket.customer_address || t('tech.ticket.no_address', 'Tidak ada alamat') %>
<%= ticket.subject %>
<%= ticket.message %>
<% }); %> <% } %> <%- include('partials/bottom_nav') %>