Skip to content

Update Cashier frontend to Use Teller Extension for Direct Cashier + Transaction Retrieval #116

@NkwaTambe

Description

@NkwaTambe

Description

The current cashier implementation relies on multiple frontend loops to fetch cashier information and their transactions. This approach creates unnecessary complexity, increases load times, and duplicates logic that should be handled server-side.

A new Teller Extension module has been implemented in Fineract, exposing the getCashierData method, which provides:

  • Direct retrieval of cashier records
  • Direct retrieval of cashier transactions
  • Consolidated data access without additional frontend processing

This ticket involves updating the existing frontend cashier implementation to consume the new getCashierData method from the Teller Extension module. The goal is to simplify the data flow, reduce client-side logic, and rely on the backend to provide complete, clean cashier datasets.

Scope Includes:

  • Replace existing frontend loops with a single call to the Teller Extension’s getCashierData
  • Update API service layer to use the new endpoint/module
  • Refactor UI logic to work with the consolidated response structure
  • Remove redundant code paths related to cashier and transaction fetching
  • Validate that all cashier views and reports continue to function correctly using the new backend data structure

Outcome:
A cleaner, faster, and more maintainable cashier module that relies fully on backend-provided cashier & transaction data through the Teller Extension.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions