Files
cbsnexora/src/assets/env.js
T
niteshandClaude Sonnet 5 6624009d8c
build-run / Run Lint, Build and Deploy (push) Canceled after 0s
Publish Image in Docker Hub / build (push) Canceled after 0s
Playwright E2E Tests / Run Playwright Tests (push) Canceled after 0s
Tests / testRigor (push) Canceled after 0s
feat(accounting): redesign Migrate Opening Balances for clarity, point env at abc_bank tenant
- Replaces the flat, hard-to-scan opening-balances form with a stepped layout: branch pick, a
  clearly-explained contra account, a pinned Debit/Credit balance status (green "Balanced" vs red
  "Out of balance by X"), and account rows grouped by type with a mobile-responsive grid. No
  behavior change - same form controls, same validation, same submit flow.
- env.js: default/available tenant switched from default,socity_bank to abc_bank.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-31 15:09:21 +05:30

123 lines
4.0 KiB
JavaScript

/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
(function (window) {
window["env"] = window["env"] || {};
// BackEnd Environment variables
window["env"]["fineractApiUrls"] = '';
window["env"]["fineractApiUrl"] = '';
window["env"]["apiProvider"] = '';
window["env"]["apiVersion"] = '';
window["env"]["apiActuator"] = '';
window["env"]["fineractPlatformTenantId"] = 'abc_bank';
window["env"]["fineractPlatformTenantIds"] = 'abc_bank';
window['env']['tenantLogoUrl'] = '';
window['env']['tenantLogoUrlDark'] = '';
// Language Environment variables
window["env"]["defaultLanguage"] = '';
window["env"]["supportedLanguages"] = '';
window["env"]["defaultFormatDate"] = '';
window["env"]["defaultFormatDatetime"] = '';
window['env']['preloadClients'] = '';
// Char delimiter to Export CSV options: ',' ';' '|' ' '
window['env']['defaultCharDelimiter'] = '';
// Display or not the Server Selector
window['env']['allowServerSwitch'] = '';
// Display or not the BackEnd Info
window['env']['displayBackEndInfo'] = '';
// Show minimal production hero on login page
window['env']['productionMode'] = '';
// Display or not the Tenant Selector
window['env']['displayTenantSelector'] = '';
// Time in seconds for Notifications, default 60 seconds
window['env']['waitTimeForNotifications'] = '';
// Time in seconds for COB Catch-Up, default 30 seconds
window['env']['waitTimeForCOBCatchUp'] = '';
// Time in milliseconds for Session idle timeout, default 300000 seconds
window['env']['sessionIdleTimeout'] = '';
// OAuth Server Enabled
window['env']['oauthServerEnabled'] = false;
// OAuth Server URL
window['env']['oauthServerUrl'] = '';
// OAuth Server Logout URL
window['env']['oauthServerLogoutUrl'] = '';
// OAuth Client Id
window['env']['oauthAppId'] = '';
// OAuth Authorize URL
window['env']['oauthAuthorizeUrl'] = '';
// OAuth Token URL
window['env']['oauthTokenUrl'] = '';
// OAuth Redirect URI
window['env']['oauthRedirectUri'] = '';
// OAuth Scope
window['env']['oauthScope'] = '';
// Hide client data (mask names)
window['env']['complianceHideClientData'] = '';
// Interbank Transfers Environment variables
window['env']['mifosInterbankTransfersApiUrl'] = '';
window['env']['mifosInterbankTransfersApiProvider'] = '';
window['env']['mifosInterbankTransfersApiVersion'] = '';
window['env']['mifosInterbankTransfersEnabled'] = 'true';
// Remittance Module Environment variables
window['env']['mifosRemittanceApiClientUrl'] = '';
window['env']['mifosRemittanceApiProvider'] = '';
window['env']['mifosRemittanceApiVersion'] = '';
window['env']['mifosRemittanceEnabled'] = false;
window['env']['mifosRemittanceApiClientHeader'] = '';
window['env']['mifosRemittanceApiClientKey'] = '';
// Enable Role-Based Access Control (RBAC) for menu/button permissions
// Set to true to enable RBAC, false (default) for backward compatibility
window['env']['productionModeEnableRBAC'] = false;
// External National ID System
// Set to 'true' to enable External National ID lookup during client creation/editing
// When enabled, set EXTERNAL_NATIONAL_ID_SYSTEM_URL, API_HEADER, API_KEY, and REGEX
// In production, API key is injected server-side via nginx proxy_set_header (never set here)
window['env']['enableExternalNationalIdSystem'] = 'false';
window['env']['externalNationalIdSystemUrl'] = '';
window['env']['externalNationalIdSystemApiHeader'] = '';
window['env']['externalNationalIdSystemApiKey'] = '';
window['env']['externalNationalIdRegex'] = '';
// OIDC Plugin Environment variables
window['env']['oidcServerEnabled'] = false;
window['env']['oidcBaseUrl'] = '';
window['env']['oidcClientId'] = '';
window['env']['oidcApiUrl'] = '';
window['env']['oidcFrontUrl'] = '';
})(this);