{{ data.loan.customerName }} · {{ data.loan.accountNo }}

{{ data.loan.notices.length }} notice(s) generated · Overdue ₹{{ data.loan.overdueTotal | number: '1.0-0' }} · DPD {{ data.loan.daysOverdue }}
@if (data.loan.notices.length === 0) {
No notices have been generated yet.

Click the Generate icon on the row to issue a first-stage notice.

} @else {
    @for (n of data.loan.notices; track n.id) {
  1. {{ stageLabel(n.stage) }} Generated {{ n.generatedAt }} by {{ n.generatedBy }} {{ n.id }}
    @if (n.sends.length === 0) {
    Generated but not yet dispatched.
    } @else { @for (s of n.sends; track s.sentAt + s.channel) { @if (s.channel === 'POST' && (s.consignmentNo || s.postOffice)) { } }
    Channel Destination Sent By Status
    {{ channelLabel(s.channel) }} {{ s.destination }} {{ s.sentAt }} {{ s.sentBy }} {{ s.status }}
    }
  2. }
}