Daily Transaction Detail

Agent Information
Name
{{ agentInfo.name || '—' }}
Address
{{ agentInfo.address || '—' }}
City
{{ agentInfo.city || '—' }}
A/C
{{ agentInfo.accountNo || '—' }}
Guarantor
{{ agentInfo.guarantor1 || '—' }}
Guarantor
{{ agentInfo.guarantor2 || '—' }}
Curr Bal
{{ agentInfo.currentBalance | number: '1.2-2' }}
Party Information
@if (partyInfo) {
Client Id
{{ partyInfo.clientId }}
Name
{{ partyInfo.partyName }}
Address
{{ partyInfo.address1 || '—' }}
City
{{ partyInfo.city || '—' }}
Op. Date
{{ partyInfo.openingDate ? (partyInfo.openingDate | dateFormat) : '—' }}
Maturity
{{ partyInfo.maturityDate ? (partyInfo.maturityDate | dateFormat) : '—' }}
Daily Depo
{{ partyInfo.dailyDepositAmount | number: '1.2-2' }}
Ledger
{{ partyInfo.ledgerNo || '—' }}
Aadhar No
{{ partyInfo.aadharNo || '—' }}
Curr Bal
{{ partyInfo.currentBalance | number: '1.2-2' }}
Due So Far
{{ partyInfo.expectedToDate | number: '1.2-2' }}
Collected
{{ partyInfo.collectedToDate | number: '1.2-2' }}
@if (schedule(partyInfo); as sched) {
Schedule
{{ sched.text }}
}
Bal. After This Tr
{{ partyBalanceAfter | number: '1.2-2' }}
} @else {

Pick a party in a collection row below — this panel shows whose account it is and what the balance becomes.

}
Agent @for (agent of selectableAgents; track agent.id) { {{ agent.agentCode }} · {{ agent.agentNameId }} @if (!agent.active) { — not collecting } } @if (selectableAgents.length === 0) { No active agent on file } @else if (pickedAgentIsInactive) { This agent no longer collects — settling held cash only } @else if (agentInfo.name) { {{ agentParties.length }} {{ agentParties.length === 1 ? 'party' : 'parties' }} to collect from } Date Tran. Type @for (type of transactionTypes; track type.label) { {{ type.label }} @if (!type.supported) { — not available yet } }
@if (isPartyTran && agentInfo.name) {

Collections up to {{ entryForm.get('transactionDate')?.value | dateFormat }}

@if (pendingLoading) {

Reading this agent's entries...

} @else if (pendingEntries.length === 0) {

{{ agentInfo.name }} has nothing outstanding up to this date.

} @else { @for (entry of pendingEntries; track entry.id) {
{{ entry.entryDate | dateFormat }} {{ entry.partyCode }} {{ entry.partyName }} {{ entry.transactionMode }} @if (entry.advanceDays) { · {{ entry.advanceDays }}d advance } @if (entry.arrearsDays) { · {{ entry.arrearsDays }}d previous } {{ entry.amount | number: '1.2-2' }}
}
{{ pendingEntries.length }} {{ pendingEntries.length === 1 ? 'entry' : 'entries' }} {{ pendingTotal | number: '1.2-2' }}

Everything {{ agentInfo.name }} wrote down and has not handed in yet, up to this date, customer by customer. The cash and its receipts are under Agent Tran.

}
} @if (isAgentTran && agentInfo.name) {

Agent's cash

@if (!agentGlCode) {

{{ agentInfo.name }} has no GL account, so the cashier has nowhere to take their cash. Set one on Agent Master.

} @else {

Agent GL: {{ agentGlCode }}{{ agentGlName ? ' · ' + agentGlName : '' }} — the cashier takes {{ agentInfo.name }}'s cash into this GL (Entry Type DDS).

}
To take {{ agentOwed | number: '1.2-2' }}
Received (approved) {{ agentReceived | number: '1.2-2' }}
Still to take {{ agentBalance | number: '1.2-2' }}
@if (agentReceivedBeyondDay > 0) {

{{ agentReceivedBeyondDay | number: '1.2-2' }} received at the counter is more than everything outstanding up to {{ entryForm.get('transactionDate')?.value | dateFormat }}. Check the voucher was taken for the right agent.

} @if (agentWaiting > 0) {

{{ agentWaiting | number: '1.2-2' }} more is at the counter awaiting the manager's approval.

}

Outstanding entries up to {{ entryForm.get('transactionDate')?.value | dateFormat }}

@if (agentMoneyLoading) {

Reading this agent's entries...

} @else if (agentDays.length === 0) {

{{ agentInfo.name }} has nothing outstanding.

} @else { @for (day of agentDays; track day.date) {
{{ day.date | dateFormat }} {{ day.entries.length }} {{ day.entries.length === 1 ? 'entry' : 'entries' }} {{ day.total | number: '1.2-2' }}
@if (agentOpenDay === day.date) {
@for (entry of day.entries; track entry.id) {
{{ entry.partyCode }} {{ entry.partyName }} {{ entry.transactionMode }} @if (entry.advanceDays) { · {{ entry.advanceDays }}d advance } @if (entry.arrearsDays) { · {{ entry.arrearsDays }}d previous } {{ entry.amount | number: '1.2-2' }}
}
} } }

Cashier receipts

@if (agentReceipts.length === 0) {

No DDS receipt on {{ agentInfo.name }}'s GL account{{ agentGlCode ? ' ' + agentGlCode : '' }} waiting to be applied.

} @else { @for (receipt of agentReceipts; track receipt.id) {
{{ receipt.voucherNo }} {{ receipt.txnDate | dateFormat }} {{ receipt.cashierName || '—' }} {{ receipt.status === 'APPROVED' ? 'Approved' : 'Awaiting manager' }} {{ receipt.amount | number: '1.2-2' }}
} }
} @if (isWithdrawDeposite) {

Withdraw Deposite

Creditor Party Code arrow_drop_down @for (party of transferPartyOptions('creditor'); track party.id) { {{ party.partyCode }} · {{ party.partyName }} · ₹{{ party.currentBalance | number: '1.2-2' }} } @if (transferPartyOptions('creditor').length === 0) { No open DDS account matches } Account the money goes into Creditor Party Name Creditor Curr Bal Debit Party Code arrow_drop_down @for (party of transferPartyOptions('debit'); track party.id) { {{ party.partyCode }} · {{ party.partyName }} · ₹{{ party.currentBalance | number: '1.2-2' }} } @if (transferPartyOptions('debit').length === 0) { No open DDS account matches } @if (transferToItself) { Pick a different account - it cannot transfer to itself } @else { Account the money is taken from } Debit Party Name Debit Curr Bal Amount Description
} @if (!isPartyTran && !isWithdrawDeposite && !isAgentTran) {

"{{ entryForm.get('transactionType').value }}" entry screen — same shape as Party Tran, to be filled in once the backend distinguishes these transaction types.

}
@if (!isPartyTran && !isAgentTran) { }