swap_horiz
{{ entry.type }} Summary
Total Amount
{{ entry.amount !== null && entry.amount !== undefined ? '₹' + (entry.amount | number: '1.2-2') : '—' }}
DR Accounts
{{ debitLines.length }} account{{ debitLines.length !== 1 ? 's' : '' }}
CR Accounts
{{ creditLines.length }} account{{ creditLines.length !== 1 ? 's' : '' }}
Details
{{ entry.details || '—' }}
@if (detail?.description) {
Description
{{ detail.description }}
}
@if (debitLines.length) {
arrow_upward
Debit Entries ({{ debitLines.length }} account{{ debitLines.length !== 1 ? 's' : '' }} — funds out)
| # |
Account No |
Account Name |
Type |
Amount (DR) |
@for (line of debitLines; track $index; let i = $index) {
| {{ i + 1 }} |
{{ line.accountNo || '—' }} |
{{ line.accountName || '—' }} |
{{ line.type || '—' }}
|
₹{{ line.amount | number: '1.2-2' }} |
}
| Total Debit |
₹{{ total(debitLines) | number: '1.2-2' }} |
}
@if (creditLines.length) {
arrow_downward
Credit Entries ({{ creditLines.length }} account{{ creditLines.length !== 1 ? 's' : '' }} — funds in)
| # |
Account No |
Account Name |
Type |
Amount (CR) |
@for (line of creditLines; track $index; let i = $index) {
| {{ i + 1 }} |
{{ line.accountNo || '—' }} |
{{ line.accountName || '—' }} |
{{ line.type || '—' }}
|
₹{{ line.amount | number: '1.2-2' }} |
}
| Total Credit |
₹{{ total(creditLines) | number: '1.2-2' }} |
}
@if (entry.status === 'PENDING' && isMine && !done) {
info
Your own entry
You made this entry, so another user with checker rights has to approve or reject it.
}
@if (entry.status === 'REJECTED') {
cancel
Rejected
Nothing was done{{ voucherNo ? '. Voucher ' + voucherNo + ' is cancelled and will not be used' : '' }}.
@if (entry.checker) {
manage_accounts
{{ entry.checker }}
}
}
@if (entry.status === 'APPROVED') {
check_circle
Approved and carried out
{{
voucherNo
? 'Voucher ' + voucherNo
: entry.entity === 'DDSBATCH'
? 'Posting is running - refresh for its voucher'
: '—'
}}
manage_accounts
Approved by: {{ entry.checker || '—' }}
}
@if (error) {
error
Could not complete
{{ error }}
}
@if (entry.status === 'PENDING' && !done) {
@if (!confirmReject) {
} @else {
}
}
}