<%- include('../partials/header', { activeMenu: 'payments' }) %>
<% for (const p of payments) { %> <% } %>
DateTypeDirectionAmountMethodNotesLoad
<%= p.payment_date || '—' %> <%= p.type %> <%= p.direction === 'in' ? 'In' : 'Out' %> <%= formatINR(p.amount) %> <%= p.method %> <%= p.notes || '' %> <%= p.load ? (p.load.from_city + ' → ' + p.load.to_city) : '—' %>
<%- include('../partials/footer') %>