COMPLETE SOLUTION FOR ORIGINAL DISBURSEMENT TRACKING ==================================================== THE PROBLEM: ----------- - Faith's loan: Originally disbursed KES 200,000 in March 2025 - After payments + rollover: Now shows KES 140,000 everywhere - Disbursement report incorrectly shows KES 140,000 instead of KES 200,000 THE FIX: -------- Add `original_disbursed_amount` field to track actual disbursement amount. IMMEDIATE ACTION: ---------------- 1. Upload and run check_faith_application.py to verify original amount: scp check_faith_application.py xygbfpsg@162.240.14.22:/home/xygbfpsg/phingrazuri/ python3 check_faith_application.py 2. If confirms original was KES 200,000, proceed with add_original_disbursed_amount.py scp add_original_disbursed_amount.py xygbfpsg@162.240.14.22:/home/xygbfpsg/phingrazuri/ python3 add_original_disbursed_amount.py 3. Manually fix Faith's loan: UPDATE loans SET original_disbursed_amount = 200000 WHERE loan_number = '19112026-000001'; 4. Update code (see artifact for details): - loans/models.py - reports/views.py 5. Test March 2025 disbursement report - should show KES 200,000 See the complete implementation plan in the artifact created.