From 46a5900abc69ddc3b9931aa037c5738197d0589e Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 24 Jul 2025 05:48:01 -0400 Subject: [PATCH] Data clean up --- app/api/services/office_dashboard.py | 146 +-------------------------- 1 file changed, 5 insertions(+), 141 deletions(-) diff --git a/app/api/services/office_dashboard.py b/app/api/services/office_dashboard.py index d8df289..f62429d 100644 --- a/app/api/services/office_dashboard.py +++ b/app/api/services/office_dashboard.py @@ -127,155 +127,19 @@ class OfficeDashboardService(BaseService): "text": "this week", "value": 0 }, - "recent_transactions": [ - { - "account_id": "361005323", - "channel": "USSD", - "created_at": "2025-07-21T10:03:42", - "id": 232, - "transaction_id": "TRCVIC36703401245", - "type": "select_offer", - "updated_at": "2025-07-21T10:03:42" - }, - { - "account_id": "361005323", - "channel": "USSD", - "created_at": "2025-07-21T10:03:29", - "id": 231, - "transaction_id": "TRCVIC36703401245", - "type": "eligibility_check", - "updated_at": "2025-07-21T10:03:29" - }, - { - "account_id": "ACC8118473344", - "channel": "USSD", - "created_at": "2025-07-21T10:03:18", - "id": 230, - "transaction_id": "TRCVIC12120647494", - "type": "eligibility_check", - "updated_at": "2025-07-21T10:03:18" - }, - { - "account_id": "ACC8113712034", - "channel": "USSD", - "created_at": "2025-07-21T10:03:05", - "id": 229, - "transaction_id": "TRCVIC40090254960", - "type": "eligibility_check", - "updated_at": "2025-07-21T10:03:05" - }, - { - "account_id": "ACC8115473093", - "channel": "USSD", - "created_at": "2025-07-21T10:02:48", - "id": 228, - "transaction_id": "TRCVIC27184433816", - "type": "eligibility_check", - "updated_at": "2025-07-21T10:02:48" - }, - { - "account_id": "101036327", - "channel": "USSD", - "created_at": "2025-07-21T08:59:57", - "id": 227, - "transaction_id": "TRCVIC27716634966", - "type": "provide_loan", - "updated_at": "2025-07-21T08:59:57" - }, - { - "account_id": "101036327", - "channel": "USSD", - "created_at": "2025-07-21T08:59:50", - "id": 226, - "transaction_id": "TRCVIC27716634966", - "type": "select_offer", - "updated_at": "2025-07-21T08:59:50" - }, - { - "account_id": "101036327", - "channel": "USSD", - "created_at": "2025-07-21T08:59:40", - "id": 225, - "transaction_id": "TRCVIC27716634966", - "type": "eligibility_check", - "updated_at": "2025-07-21T08:59:40" - }, - { - "account_id": "361005323", - "channel": "USSD", - "created_at": "2025-07-21T08:59:15", - "id": 224, - "transaction_id": "TRCVIC26225302171", - "type": "provide_loan", - "updated_at": "2025-07-21T08:59:15" - }, - { - "account_id": "361005323", - "channel": "USSD", - "created_at": "2025-07-21T08:59:02", - "id": 223, - "transaction_id": "TRCVIC26225302171", - "type": "select_offer", - "updated_at": "2025-07-21T08:59:02" - }, - { - "account_id": "361005323", - "channel": "USSD", - "created_at": "2025-07-21T08:58:52", - "id": 222, - "transaction_id": "TRCVIC26225302171", - "type": "eligibility_check", - "updated_at": "2025-07-21T08:58:52" - }, - { - "account_id": "IT51846105", - "channel": "USSD", - "created_at": "2025-07-18T14:42:58", - "id": 221, - "transaction_id": "FBN2507181418049D08B23", - "type": "repayment", - "updated_at": "2025-07-18T14:42:58" - }, - { - "account_id": "IT51846105", - "channel": "100", - "created_at": "2025-07-18T14:42:51", - "id": 220, - "transaction_id": "TRCVIC93468626395", - "type": "loan_status", - "updated_at": "2025-07-18T14:42:51" - }, - { - "account_id": "IT51846105", - "channel": "100", - "created_at": "2025-07-18T14:42:33", - "id": 219, - "transaction_id": "TRCVIC55986208679", - "type": "loan_status", - "updated_at": "2025-07-18T14:42:33" - }, - { - "account_id": "IT51846105", - "channel": "USSD", - "created_at": "2025-07-18T14:38:33", - "id": 218, - "transaction_id": "FBN250718143821FF5D323", - "type": "loan_status", - "updated_at": "2025-07-18T14:38:33" - } - ], + "request_summary": { "eligibility_check": { - "Eligibility": 6 + "Started": 6 }, "provide_loan": { - "Loans": 2 + "Scheduled": 2 }, "repayment": { - "Repayments": 0 + "Processing": 0 }, "select_offer": { - "Offers": 3 + "Completed": 3 } } }