{{
detail.row.type === 'settlement'
? 'account_balance_wallet'
: detail.row.type === 'exchange'
? 'currency_exchange'
: 'swap_horiz'
}}
{{ typeLabel(detail.row.type) }}
#{{ detail.row.id }}
@if (detail.row.isReversed) {
undo
Reversed
@if (detail.row.reversedAt) {
on {{ detail.row.reversedAt }}
}
@if (detail.row.reverseReason) {
— {{ detail.row.reverseReason }}
}
}
@if (detail.row.type === 'settlement' && detail.morningTotal > 0) {
wb_sunny
Morning Received
₹{{ detail.morningTotal | number: '1.2-2' }}
arrow_forward
account_balance_wallet
This Settlement
₹{{ detail.row.amount | number: '1.2-2' }}
detail.morningTotal"
[class.settle-compare-net--neg]="detail.row.amount < detail.morningTotal"
[class.settle-compare-net--zero]="detail.row.amount === detail.morningTotal"
>
{{
detail.row.amount === detail.morningTotal
? 'check_circle'
: detail.row.amount > detail.morningTotal
? 'trending_up'
: 'trending_down'
}}
{{
detail.row.amount === detail.morningTotal
? 'Fully Settled'
: (detail.row.amount - detail.morningTotal >= 0 ? '+' : '') +
'₹' +
(detail.row.amount - detail.morningTotal | number: '1.2-2')
}}
}
payments
Denomination Breakdown
@if (detail.loading) {
Loading denomination details…
} @else if (
detail.row.type === 'exchange' &&
detail.receivedDenominations.length === 0 &&
detail.givenDenominations.length === 0
) {
No denomination data recorded.
} @else if (detail.row.type !== 'exchange' && detail.denominations.length === 0) {
No denomination data recorded.
} @else if (detail.row.type === 'exchange') {
south Received from Customer
@if (notes(detail.receivedDenominations).length > 0) {
Notes
| Denomination |
Count |
Total |
@for (d of notes(detail.receivedDenominations); track d.denominationValue) {
|
₹{{ d.denominationValue }}
|
{{ d.count }} |
₹{{ d.totalAmount | number: '1.2-2' }} |
}
| Subtotal |
{{ totalCount(notes(detail.receivedDenominations)) }}
|
₹{{ subtotal(notes(detail.receivedDenominations)) | number: '1.2-2' }}
|
}
@if (coins(detail.receivedDenominations).length > 0) {
Coins
| Denomination |
Count |
Total |
@for (d of coins(detail.receivedDenominations); track d.denominationValue) {
|
₹{{ d.denominationValue }}
|
{{ d.count }} |
₹{{ d.totalAmount | number: '1.2-2' }} |
}
| Subtotal |
{{ totalCount(coins(detail.receivedDenominations)) }}
|
₹{{ subtotal(coins(detail.receivedDenominations)) | number: '1.2-2' }}
|
}
north Given to Customer
@if (notes(detail.givenDenominations).length > 0) {
Notes
| Denomination |
Count |
Total |
@for (d of notes(detail.givenDenominations); track d.denominationValue) {
|
₹{{ d.denominationValue }}
|
{{ d.count }} |
₹{{ d.totalAmount | number: '1.2-2' }} |
}
| Subtotal |
{{ totalCount(notes(detail.givenDenominations)) }}
|
₹{{ subtotal(notes(detail.givenDenominations)) | number: '1.2-2' }}
|
}
@if (coins(detail.givenDenominations).length > 0) {
Coins
| Denomination |
Count |
Total |
@for (d of coins(detail.givenDenominations); track d.denominationValue) {
|
₹{{ d.denominationValue }}
|
{{ d.count }} |
₹{{ d.totalAmount | number: '1.2-2' }} |
}
| Subtotal |
{{ totalCount(coins(detail.givenDenominations)) }}
|
₹{{ subtotal(coins(detail.givenDenominations)) | number: '1.2-2' }}
|
}
Grand Total
{{ totalCount(detail.receivedDenominations) }} notes/coins
₹{{ detail.row.amount | number: '1.2-2' }}
} @else {
@if (notes(detail.denominations).length > 0) {
Notes
| Denomination |
@if (detail.row.type === 'settlement' && detail.morningTotal > 0) {
Morning |
}
{{ detail.row.type === 'settlement' ? 'Settled' : 'Count' }} |
Total |
@for (d of notes(detail.denominations); track d.denominationValue) {
|
₹{{ d.denominationValue }}
|
@if (detail.row.type === 'settlement' && detail.morningTotal > 0) {
{{ d.morningCount || '—' }} |
}
{{ d.count }} |
₹{{ d.totalAmount | number: '1.2-2' }} |
}
| Subtotal |
@if (detail.row.type === 'settlement' && detail.morningTotal > 0) {
|
}
{{ totalCount(notes(detail.denominations)) }}
|
₹{{ subtotal(notes(detail.denominations)) | number: '1.2-2' }}
|
}
@if (coins(detail.denominations).length > 0) {
Coins
| Denomination |
@if (detail.row.type === 'settlement' && detail.morningTotal > 0) {
Morning |
}
{{ detail.row.type === 'settlement' ? 'Settled' : 'Count' }} |
Total |
@for (d of coins(detail.denominations); track d.denominationValue) {
|
₹{{ d.denominationValue }}
|
@if (detail.row.type === 'settlement' && detail.morningTotal > 0) {
{{ d.morningCount || '—' }} |
}
{{ d.count }} |
₹{{ d.totalAmount | number: '1.2-2' }} |
}
| Subtotal |
@if (detail.row.type === 'settlement' && detail.morningTotal > 0) {
|
}
{{ totalCount(coins(detail.denominations)) }}
|
₹{{ subtotal(coins(detail.denominations)) | number: '1.2-2' }}
|
}
Grand Total
{{ totalCount(detail.denominations) }} notes/coins
₹{{ detail.row.amount | number: '1.2-2' }}
}