Repository navigation
F-Cedi v1.0.8
Release Notes
Payment to Head - Transaction Type Separation
Overview
Separated "Payment to Head" transactions from regular payments, creating a distinct transaction type with different wallet behavior.
Changes
Mobile App (Android)
- New Transaction Type: Added
FNET_PAYMENT_TO_HEADtransaction type - Payment to Head Dialog: Updated to use the new transaction type when making payments to head office (0549429685)
- Transaction Display: Added "Payment to Head" label for the new transaction type
Backend & Web Dashboard
- New Transaction Type: Added
payment_to_headtype to mobile transactions schema - Regular Payments: Updated to work like deposits:
- Credits cash wallet with amount received
- Debits MTN wallet with e-cash sent
- Payment to Head: Does not affect wallet balances (no wallet updates)
- UI Updates:
- Added "Payment to Head" filter option in mobile transactions pages
- Updated transaction cards and details to display payment to head with distinct styling
- Included in statistics and reporting
Technical Details
- Mobile app automatically detects payments to head office number (0549429685) and uses the correct transaction type
- Backend properly maps
FNET_PAYMENT_TO_HEAD→payment_to_head - All mobile transaction pages (Admin, Branch, Manager) support the new transaction type
- Statistics queries include payment to head counts
Impact
- Better transaction categorization and reporting
- Accurate wallet balance tracking for regular payments
- Clear distinction between regular payments and payments to head office