@for (s of ['SENT_TO_CLEARING_HOUSE', 'SETTLED', 'DISHONOURED']; track s) { }
{{ 'labels.inputs.Cheque Number' | translate }} {{ 'labels.inputs.Drawer Bank Name' | translate }} {{ 'labels.inputs.Payee Name' | translate }}
{{ 'labels.inputs.Id' | translate }} {{ p.id }} {{ 'labels.inputs.Cheque Number' | translate }} {{ p.chequeNumber }} {{ 'labels.inputs.Drawer Bank' | translate }} {{ p.drawerBankName || '–' }} @if (p.drawerIfsc) { {{ p.drawerIfsc }} } {{ 'labels.inputs.Payee Name' | translate }} {{ p.payeeName }} {{ 'labels.inputs.Amount' | translate }} {{ p.amount }} {{ 'labels.inputs.Image' | translate }}
@if (getItemImageUrl(p, 'front')) { front } @if (getItemImageUrl(p, 'back')) { back }
{{ 'labels.inputs.Status' | translate }} {{ p.status }} @if (p.iqaStatus && p.iqaStatus !== 'NA') { IQA: {{ p.iqaStatus }} } @if (p.status === 'SENT_TO_CLEARING_HOUSE') { } @if (p.ctsFileJson) { }
@if (presentments.length === 0) {
{{ 'labels.text.No records to display' | translate }}
} @for (p of presentments; track p.id) { @if (shownEnvelopeId === p.id && p.ctsFileJson) {
📄 CTS-2010 outward file sent to the clearing house — cheque #{{ p.chequeNumber }}
{{ prettyJson(p.ctsFileJson) }}
@if (p.npciResponseJson) {
📥 NPCI's real routing response for this batch:
{{ prettyJson(p.npciResponseJson) }}
}
} } @if (totalRecords > 0) { }
@if (dishonourForId) {

{{ 'labels.inputs.Dishonour Cheque' | translate }}

{{ 'labels.inputs.Dishonour Reason Code' | translate }} @for (c of reasonCodes; track c.id) { {{ c.code }} — {{ c.description }} }
}