Commit Graph

105 Commits

Author SHA1 Message Date
root e55ad993aa frontend: complete redesign following n8n form layout
Build Fechamento de Caixa / build (macos-14, app) (push) Has been cancelled
Build Fechamento de Caixa / build (ubuntu-22.04, deb) (push) Has been cancelled
Build Fechamento de Caixa / build (windows-2022, msi) (push) Has been cancelled
- Single column layout (not 2-column dark theme)
- Light theme with red (#c0272d) accent color matching n8n
- All sections: Sangrias, Despesas, PIX CNPJ, Vales, À Receber, Saldo de Caixa, Fechamento, Cancelamentos, Cartões 4 colunas
- sys-grid with editable system values
- fechamento counted values grid
- Diferença calculation with color feedback (green/orange/red)
- Cards 4-column grid at bottom
- Footer with action buttons
2026-06-21 02:41:19 +00:00
root 453f5ba4e3 Fix: align frontend commands with backend, fix data model mismatch
Build Fechamento de Caixa / build (macos-14, app) (push) Has been cancelled
Build Fechamento de Caixa / build (ubuntu-22.04, deb) (push) Has been cancelled
Build Fechamento de Caixa / build (windows-2022, msi) (push) Has been cancelled
- Rename commands: salvar_local→salvar_fechamento, enviar_fechamento→sb_salvar_fechamento, etc.
- Fix typo: cartoes.credo→cartoes.credito
- storage: accept serde_json::Value instead of FechamentoEstado for flexibility
- Add Default derive on FechamentoEstado and SyncStatus
- Commands now return simplified JSON for frontend compatibility
2026-06-21 02:16:13 +00:00
root 3cb0f5a93b Fix cross-compilation: stub USB module, add Tauri commands, fix type errors
Build Fechamento de Caixa / build (macos-14, app) (push) Has been cancelled
Build Fechamento de Caixa / build (ubuntu-22.04, deb) (push) Has been cancelled
Build Fechamento de Caixa / build (windows-2022, msi) (push) Has been cancelled
- Stubbed usb_windows module (printing needs native Windows build)
- Added Tauri commands: detectar/configurar/imprimir_recibo/teste_impressora
- Fixed tipo annotation and concat type mismatch
- Removed windows-sys dependency (unstable API)

Windows .exe available via GitHub Actions CI
2026-06-20 17:37:35 +00:00
root a5cff433a6 Fechamento de Caixa - Tauri 2 initial commit
Build Fechamento de Caixa / build (macos-14, app) (push) Has been cancelled
Build Fechamento de Caixa / build (ubuntu-22.04, deb) (push) Has been cancelled
Build Fechamento de Caixa / build (windows-2022, msi) (push) Has been cancelled
- Storage: SQLite local via rusqlite
- Supabase: REST API via reqwest
- Printer: USB ESC/POS for TM-T20
- Frontend: vanilla HTML (form-v9.3 ported)
- Build: GitHub Actions for Linux/Windows/macOS
2026-06-20 13:58:34 +00:00
root b06462a92d Add .gitignore 2026-06-20 13:58:34 +00:00