saveinmed/marketplace/src
Tiago Yamamoto 285f586371 fix: cart price display showing cents as reais (R19 instead of R.19)
Root cause: Cart.tsx used formatCurrency(819) -> '819,00' instead of formatCents(819) -> 'R$ 8,19'

Changes:
- Cart.tsx: Replace formatCurrency with formatCents at all 5 price display points
- Cart.tsx: Add debug logging (logPrice) to trace price values
- cartStore.ts: Add debug logging for addItem, updateQuantity, etc.
- cartStore.ts: Document unitPrice as CENTS in interface
- cartStore.test.ts: Add 7 new price conversion tests for cents handling

All 95 tests pass.
2025-12-26 23:08:55 -03:00
..
assets feat: apply logo, document database schema, update docs 2025-12-23 17:01:16 -03:00
components feat: add quantity selector, fix offer display, swap filter/location layout 2025-12-26 22:16:48 -03:00
context fix(marketplace): ensure auth token is set before initial requests 2025-12-26 17:24:57 -03:00
hooks test: increase test coverage +10% frontend, +2% backend 2025-12-26 23:02:18 -03:00
layouts fix: use ES module import for logo in Shell.tsx 2025-12-23 17:25:00 -03:00
pages fix: cart price display showing cents as reais (R19 instead of R.19) 2025-12-26 23:08:55 -03:00
services fix(tests): fix failing tests and increase coverage 2025-12-26 22:54:51 -03:00
stores fix: cart price display showing cents as reais (R19 instead of R.19) 2025-12-26 23:08:55 -03:00
test feat(backend): add comprehensive test suite for 80% coverage 2025-12-20 07:43:56 -03:00
types feat: Implement Payment Methods, Shipping Improvements, Swagger Audit, and UUIDv7 Migration 2025-12-26 17:48:50 -03:00
utils test: increase test coverage +10% frontend, +2% backend 2025-12-26 23:02:18 -03:00
App.tsx feat: overhaul shipping module, add seeder, and improve order UI 2025-12-23 18:23:32 -03:00
index.css docs: adiciona documentação completa do projeto SaveInMed 2025-12-17 17:07:30 -03:00
main.tsx docs: adiciona documentação completa do projeto SaveInMed 2025-12-17 17:07:30 -03:00