# Telegram Trezorerie Unification - Quick Summary ## What We're Building Replace two separate treasury buttons with one unified button showing complete treasury overview. ## Key Changes ### Menu (Before → After) ``` BEFORE: Row 2: [Sold Companie] [Trezorerie Casa] Row 3: [Trezorerie Banca] [Sold Clienti] Row 4: [Sold Furnizori] [Evolutie Incasari] AFTER: Row 2: [Sold Companie] [Trezorerie] Row 3: [Sold Clienti] [Sold Furnizori] Row 4: [Evolutie Incasari] ``` ### Message Format (New) ``` Sold Total Trezorerie: 20,500 RON Casa Sold Total Cash: 5,000 RON Conturi de Casa: - Casa Lei: 3,000 RON - Casa Valuta: 2,000 RON Banca Sold Total Banca: 15,500 RON Conturi Bancare: - BCR RON: 10,000 RON - BRD EUR: 5,500 RON ``` ## Files to Modify 1. **formatters.py** - Add `format_treasury_combined_response()` 2. **menus.py** - Update `create_main_menu()` layout (lines 234-247) 3. **handlers.py** - Add `menu:trezorerie` callback case ## Backward Compatibility Keep working: - `/trezorerie_casa` - shows Casa only - `/trezorerie_banca` - shows Banca only - `/trezorerie` - shows unified view ## Estimated Time 2.5 hours total (1h coding, 1h testing, 0.5h review) ## Testing Focus - Grand total = Casa + Banca - Menu layout compaction - Legacy commands still work - Performance footer appears