The balance column on the paywall's stat card showed summed account balances per currency (e.g. "58.031 MXN 65 US$"). As a variable-length, multi-currency string it overflowed the card on mobile and broke the four-column layout. The remaining stats (accounts, transactions, categories) are short integer counts, so dropping balance leaves a clean three-column row. Also removes the now-unused per-account balance computation in getUserStats (which ran an N+1 query — one AccountBalance lookup per account) and the never-rendered automationRulesCount stat, so the endpoint only ships data the paywall actually displays. |
||
|---|---|---|
| .. | ||
| .pest | ||
| Browser | ||
| Feature | ||
| Fixtures | ||
| Performance | ||
| Support | ||
| Unit | ||
| Pest.php | ||
| TestCase.php | ||
| bootstrap.php | ||