feat: wire live Fineract M1 to Central Bank UI and Office 24 journal seed
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m21s
CI/CD Pipeline / Security Scanning (push) Successful in 2m42s
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
Deploy ChainID 138 / Deploy ChainID 138 (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
Verify Deployment / Verify Deployment (push) Has been cancelled

Add a read-only money-supply endpoint for Office 24 dashboards, pass Fineract env through deploy scripts, and provide a seed script for the opening Dr 1410 / Cr 2100 journal.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-28 15:41:23 -07:00
parent 37e280f372
commit 1fe57901e5
12 changed files with 237 additions and 25 deletions

View File

@@ -38,10 +38,12 @@ CHAIN_8453_RPC_URL=https://mainnet.base.org
CHAIN_10_RPC_URL=https://mainnet.optimism.io
# === Fineract / Office 24 ===
FINERACT_BASE_URL=
FINERACT_TENANT=omnl
OMNL_FINERACT_USERNAME=
OMNL_FINERACT_BASE_URL=
OMNL_FINERACT_TENANT=omnl
OMNL_FINERACT_USERNAME=ali_hospitallers_tenant
OMNL_FINERACT_PASSWORD=
OMNL_PUBLIC_MONEY_SUPPLY=1
OFFICE24_OPENING_M1_USD=
# === Frontend ===
VITE_WALLETCONNECT_PROJECT_ID=

View File

@@ -0,0 +1,14 @@
{
"$schema": "Office 24 opening M1 allocation from Head Office (Fineract journal)",
"version": "1.0.0",
"officeId": 24,
"externalId": "HOSPITALLERS-ALI-IRAQ-IRAN",
"referenceNumber": "HOSPITALLERS-24-OPENING-M1",
"comments": "M1 allocation from Head Office — Dr 1410 Due From HO / Cr 2100 M1 Central Liabilities",
"debitGlCode": "1410",
"creditGlCode": "2100",
"currency": "USD",
"ipsasRef": "IPSAS 28",
"amountEnv": "OFFICE24_OPENING_M1_USD",
"notes": "Set OFFICE24_OPENING_M1_USD in .env before running scripts/deployment/seed-office-24-opening-journal.mjs"
}