<%- include('../../partials/header', { activeMenu: 'portal' }) %>
<%= load.date || '—' %>
<%= load.from_city || '?' %> → <%= load.to_city || '?' %>
<%= load.vehicle_number || '—' %>
<%= formatINR(load.freight_charged) %>
<%= load.status %>
<% if (load.notes) { %>
<%= load.notes %>
<% } %>

💰 Payment History

<% if (!load.payments || load.payments.length === 0) { %>

No payments recorded yet.

<% } else { %>
<% for (const pay of load.payments) { %> <% } %>
Date Type Amount Reference
<%= pay.date || '—' %> <%= pay.payment_type %> <%= formatINR(pay.amount) %> <%= pay.reference || '—' %>
<% } %>
<%- include('../../partials/footer') %>