Root cause: Old code used rules.get('max_vehicles') which only searched
JSONB root level. Corporate tiers store limits under rules['allowances'].
Changes:
1. Added _extract_limit() helper (3-level search: direct → allowances → limits)
2. Replaced single-sub .limit(1) with multi-sub .all() for true aggregation
3. Fixed fallback path to use _extract_limit() instead of rules.get()
4. Added clamping: asset_limit = max(asset_limit, 1) right before
SubscriptionSummary creation on BOTH code paths
5. Added 'type' column to SubscriptionTier model (base vs addon)
- Wire garageStore.addVehicle to POST /assets/vehicles (real API call)
- Wire authStore.fetchUserProfile to GET /users/me (real API call)
- Remove mock data fallback for vehicle creation
- Add userProfile state to auth store
These changes connect the frontend to verified existing FastAPI endpoints as identified in the backend endpoint audit (#132).
Fix atomic_billing_transaction double deduction bug; implement dynamic CREDIT handling for beneficiaries in Double-Entry Ledger; clean up audit test directory.
- Átfogó README dokumentáció készítése
- Projekt áttekintés, architektúra leírás
- Telepítési és használati útmutató
- Robot rendszer dokumentálása
- API dokumentáció vázlat