@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) {
-
{{ stageLabel(n.stage) }}
Generated {{ n.generatedAt }} by {{ n.generatedBy }}
{{ n.id }}
@if (n.sends.length === 0) {
Generated but not yet dispatched.
} @else {
| Channel |
Destination |
Sent |
By |
Status |
@for (s of n.sends; track s.sentAt + s.channel) {
|
{{ channelLabel(s.channel) }}
|
{{ s.destination }} |
{{ s.sentAt }} |
{{ s.sentBy }} |
{{ s.status }}
|
@if (s.channel === 'POST' && (s.consignmentNo || s.postOffice)) {
|
@if (s.consignmentNo) {
Consignment
{{ s.consignmentNo }}
}
@if (s.postOffice) {
Post office
{{ s.postOffice }}
}
@if (s.bookedDate) {
Booked
{{ s.bookedDate | date: 'd MMM y' }}
}
@if (s.postage) {
Postage
₹{{ s.postage | number: '1.0-0' }}
}
|
}
}
}
}
}