@if (loading) {
hourglass_empty Loading entry…
} @else {
{{ voucherNo || '—' }} {{ entry.status }}{{ entry.voucherCancelled ? ' · VOUCHER CANCELLED' : '' }}
person {{ entry.makerName || entry.maker }} ({{ entry.maker }}) schedule {{ formatDateTime(entry.madeOn) }} @if (entry.status !== 'PENDING' && entry.checker) { check_circle Actioned by: {{ entry.checkerName || entry.checker }} }
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)
@for (line of debitLines; track $index; let i = $index) { }
# Account No Account Name Type Amount (DR)
{{ 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)
@for (line of creditLines; track $index; let i = $index) { }
# Account No Account Name Type Amount (CR)
{{ 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 {
}
}
}