Page body
What this module is for
Use Merchant Balance when an operator needs to inspect the manual merchant-balance transaction journal or create a manual debit or credit entry.
This module is intentionally narrow. The current CRM only exposes:
- a
Listpage with the transaction journal and date filters - a
Formpage for creating a new manual transaction
There is no edit, delete, or detail workflow in the current FE.
Main surfaces
List: journal of recorded merchant-balance transactions plus the current merchant-balance totalForm: create-only workflow for one manual debit or credit adjustment
Important caveats
- The table filters affect the transaction journal, but the large
Merchant balancesummary is calculated separately and is not restricted by the selected date range. - Journal rows are append-only from the current backoffice flow. Operators can create a new adjustment, but they cannot edit an older record from this module.
- The create form always uses the current logged-in admin user ID as
userId.
Verification status
- status:
verified_backend - verified backend edges in
gs-admin-backend:GET /api/admin/get-merchant-balancePOST /api/admin/create-merchant-balance- SQL sources:
app/db/sql/getMerchantBalanceList.sqlapp/db/sql/getMerchantBalanceListCount.sqlapp/db/sql/getMerchantBalance.sql