feat(telegram): Unify Trezorerie button (Casa + Banca combined)

- Replace separate [Trezorerie Casa] and [Trezorerie Banca] buttons
  with single unified [Trezorerie] button in main menu
- Add format_treasury_combined_response() formatter showing:
  - Grand total (Sold Trezorerie)
  - Casa section with total + all accounts
  - Banca section with total + all accounts
- Compact menu layout: Row 2 [Sold Companie][Trezorerie],
  Row 3 [Sold Clienti][Sold Furnizori], Row 4 [Evolutie Incasari]
- Use Romanian number format (period as thousands separator)

Also includes:
- Oracle pool: Support both SERVICE_NAME and SID connections
  (ORACLE_SERVICE_NAME takes priority over ORACLE_SID)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-30 19:15:05 +02:00
parent ab160b628d
commit 4a886f0b64
9 changed files with 843 additions and 19 deletions

View File

@@ -15,7 +15,8 @@ ORACLE_USER=CONTAFIN_ORACLE
ORACLE_PASSWORD=your_oracle_password_here
ORACLE_HOST=localhost
ORACLE_PORT=1526
ORACLE_SID=roa
# ORACLE_SID=roa # Deprecated
ORACLE_SERVICE_NAME=ROA
# TEST: Start SSH tunnel before running backend
# ./ssh-tunnel-test.sh start
@@ -109,7 +110,7 @@ TEST_COMPANY_SCHEMA=MARIUSM_AUTO
# ============================================================================
# Obtain bot token from @BotFather on Telegram
TELEGRAM_BOT_TOKEN=your_bot_token_from_botfather
TELEGRAM_BOT_TOKEN=8483383555:AAGNY1z6WiBkvVfy1ZV_gM_JnAqW4q4MlEY
# Backend URL for bot to communicate with API
BACKEND_URL=http://localhost:8000