62ea08de9f
feat(pos): add accounting frontend — reports, entries, periods
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 04:11:48 +00:00
9a9031fd27
feat(pos): add accounting blueprint — reports, entries, periods
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 04:11:02 +00:00
e0773cdc1e
feat(pos): add invoicing blueprint — CFDI generation, queue, cancel
...
Six endpoints: POST invoice, GET queue, GET queue/<id>, POST queue/process,
POST cancel/<id>, GET <sale_id>/pdf. Also adds cfdi_builder stub (Task 2).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 04:10:48 +00:00
fe8eff5ea0
feat(pos): add invoicing frontend — CFDI queue, XML preview, cancel
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 04:10:48 +00:00
40e7dd371a
feat(pos): add accounting engine — auto journal entries for sales/purchases
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 04:10:30 +00:00
a665cdb737
feat(pos): add CFDI queue — offline timbrado with retry backoff
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 04:10:13 +00:00
3b804f2c34
feat(pos): register invoicing + accounting blueprints
2026-03-31 04:09:25 +00:00
aeac4387df
docs: add CFDI + Accounting implementation plan (4 of 5)
...
10-task plan covering:
- Accounting engine (auto journal entries for sales/purchases/cuts)
- CFDI 4.0 XML builder (Ingreso/Egreso/Pago with lxml)
- CFDI queue (offline timbrado with retry backoff via Horux API)
- Invoicing blueprint (6 endpoints)
- Accounting blueprint (11 endpoints: reports, periods, entries)
- Hooks into POS engine (non-blocking try/except)
- Frontends for both modules
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 04:08:21 +00:00
09980c1cdb
fix(pos): enrich quotation/layaway items from inventory and allow final payment on layaway complete
...
Quotation and layaway endpoints were calling calculate_totals() on raw
input items without looking up unit_price/tax_rate from inventory, causing
KeyError. Added _enrich_items() helper (with customer price tier support).
Also removed non-existent discount_total column from quotations INSERT,
and made layaway complete accept a final payment for the remaining balance.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 03:51:21 +00:00
b2484af0fb
feat(pos): add POS sale page — F-keys, payment modal, margin display, ticket print
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 03:38:31 +00:00
76f738652b
feat(pos): add customers page — search, credit, vehicles, statements
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 03:36:42 +00:00
c66fb13c15
feat(pos): add POS blueprint — sales, quotations, layaways with stock reservation
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 03:36:04 +00:00
d0343f8087
feat(pos): add POS engine — sale processing with Decimal totals and margin info
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 03:34:44 +00:00
53e3548249
feat(pos): add cash register blueprint — open/close, X/Z cuts, daily summary
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 03:34:35 +00:00
5550fe7bb0
feat(pos): add customers blueprint — CRUD, credit, vehicles, statements
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 03:34:32 +00:00
2a1aee4ee4
feat(pos): add v1.1 migration — sale_payments, layaway_items, customer_payments
2026-03-31 03:33:58 +00:00
fc5a56ba62
feat(pos): register POS, customers, cash register blueprints and page routes
2026-03-31 03:33:39 +00:00
7036a18601
docs: add POS + Cash Register implementation plan (3 of 5)
...
9-task plan covering:
- POS engine (sale processing, Decimal totals, margin info)
- Customers blueprint (CRUD, credit, vehicle history, statements, payments)
- POS blueprint (sales, quotations, layaways with stock reservation)
- Cash register (open/close, X/Z cuts, daily consolidated summary)
- POS frontend (F1-F6 shortcuts, margin display, payment modal)
- Customers frontend (search, credit status, account statements)
- Full integration test (20+ tests covering entire sale lifecycle)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 03:32:00 +00:00
3a271dd4ed
feat(pos): register inventory + catalog blueprints, add page routes
2026-03-31 02:15:00 +00:00
ab655e2ff1
feat(pos): add inventory management UI — products, purchases, adjustments, alerts
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 02:13:03 +00:00
070e2df723
feat(pos): add inventory blueprint — CRUD, operations, physical count, reports, alerts
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 02:12:48 +00:00
659832ab16
feat(pos): add catalog UI — browsable inventory with cart and barcode scanner
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 02:12:40 +00:00
7d7ead4d52
feat(pos): add catalog blueprint — search, barcode lookup, cross-references, external availability
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 02:10:52 +00:00
4e7942d1d1
feat(pos): add inventory operations engine — append-only stock mutations
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 02:10:18 +00:00
db205d6228
feat(pos): add barcode generator with PostgreSQL sequence
2026-03-31 02:10:14 +00:00
af404a6474
docs: add POS Inventory + Catalog implementation plan (2 of 5)
...
8-task plan covering:
- Inventory engine (append-only operations, weighted avg cost)
- Barcode generator (PostgreSQL sequence)
- Inventory blueprint (15+ endpoints: CRUD, purchases, adjustments, transfers, physical count, reports)
- Catalog blueprint (search, barcode lookup, cross-references, external availability)
- Catalog UI with cart and barcode scanner support
- Inventory management UI with tabs for all operations
- 5 inventory reports (valuation, ABC, no-movement, low-stock, branch comparison)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 02:08:05 +00:00
2a639a84ed
docs: add complete 4-month roadmap with Pitz competitive analysis
...
Roadmap covers all features across talleres, refaccionarias, and distribuidores.
Includes competitive comparison vs Pitz, Meru, Jetz, and traditional POS.
Pricing strategy and feature differentiation documented.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 01:50:39 +00:00
e82b63892f
feat(pos): add PIN pad login page with keyboard support and theming
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-31 01:32:53 +00:00
d3728789ec
feat(pos): add tenant migration runner
2026-03-31 01:32:33 +00:00
4814c813c1
feat(pos): add config blueprint — branches, employees, theming
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 01:31:50 +00:00
1a52ac61a0
feat(pos): add insert-only audit logging service
2026-03-31 01:31:48 +00:00
d58105203d
feat(pos): add PIN auth with JWT, rate limiting, and permission middleware
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 01:30:26 +00:00
c82a29279e
feat(pos): add tenant manager — provision DBs from template with sql.Identifier
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 01:27:12 +00:00
3d1a925c5c
feat(pos): add SAT chart of accounts seed data
2026-03-31 01:25:05 +00:00
9c3bf0f273
feat(pos): add tenant DB schema v1.0 with 21 tables and indexes
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-31 01:24:07 +00:00
ba6568085e
feat(pos): scaffold project structure and Flask app
2026-03-31 01:21:52 +00:00
1b9b12d08e
docs: add POS Foundation implementation plan (1 of 5)
...
10-task plan covering multi-tenant infrastructure:
- Tenant DB provisioning from template (21 tables)
- PIN auth with JWT, rate limiting, lockout
- Permission system (owner/admin/cashier/warehouse/accountant)
- Audit logging (insert-only)
- Config: branches, employees, theming
- Migration runner for versioned schema updates
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 01:16:59 +00:00
11d8d7ae0b
docs: add POS + Inventario complete design spec
...
Multi-tenant POS system for Mexican auto parts stores (refaccionarias):
- DB-per-tenant isolation with template versioning
- PWA with offline-first via IndexedDB + Service Worker
- Inventory by operations (append-only, no conflicts)
- CFDI 4.0 via Horux360 API with offline queue
- Accounting with auto journal entries
- Role-based permissions (owner/admin/cashier/warehouse/accountant)
- Themeable frontend via CSS custom properties
- 22 table schemas defined, offline edge cases addressed
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-31 01:03:24 +00:00
b590799f70
feat: add capital protection clause to pitch deck
...
If no qualified round ($500K+ USD) is raised within 12 months,
investors can choose to: (A) keep the SAFE, or (B) convert to
a loan at 15% annual interest payable in 3 months.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-29 23:38:40 +00:00
0fa07b8a2b
feat: reorganizar roadmap a 4 meses con IA+Refaccionarias en mes 2
2026-03-26 23:36:33 -07:00
b521c7dd53
Revert "feat: add technical milestones to roadmap slide"
...
This reverts commit 260bdef388 .
2026-03-27 06:13:08 +00:00
260bdef388
feat: add technical milestones to roadmap slide
...
Each race checkpoint now includes specific feature deliverables:
- Mes 1: CFDI 4.0, VIN decoder, carrito multi-bodega
- Mes 3: Chatbot IA, WhatsApp API, SaaS refaccionarias
- Mes 6: Kanban, BNPL/APLAZO, programa de lealtad
- Mes 9: Sync ERP, flotillas, alianza nacional
- Mes 12: ML/Amazon, IA por voz, API pública
- Mes 15: PWA, escala
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 06:11:26 +00:00
56d8f25ab0
Actualizar pitch/deck.html
2026-03-26 23:01:09 -07:00
9010b1634e
feat: add investor pitch deck and /pitch route
...
13-slide F&F round presentation with roadmap, competitive landscape,
and updated product features. Accessible at /pitch endpoint.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-25 22:47:49 +00:00
fb6ea31100
docs: add README, API reference, and architecture documentation
...
- README.md: project overview, features, quick start, API overview
- docs/API.md: full endpoint reference with examples
- docs/ARCHITECTURE.md: system diagram, DB schema, data pipeline, auth flow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-18 22:30:53 +00:00
d269bc1ffb
feat: add TecDoc import pipeline scripts
...
- import_tecdoc.py: 2-phase TecDoc download + import (brands, models, vehicles)
- import_live.py: real-time streaming importer for part details
- run_all_brands.sh: automated sequential brand processing pipeline
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-18 22:25:48 +00:00
5e6bf788db
docs: add design and implementation plans
...
- SaaS + aftermarket design spec
- SaaS + aftermarket implementation plan (15 tasks)
- Captura partes design
- POS + cuentas design and plan
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-18 22:25:38 +00:00
fe6542c45c
feat: add captura, POS, cuentas, and tienda pages
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-18 22:25:32 +00:00
b1adf536f6
feat: add demo catalog page with image display and part detail modal
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-18 22:25:27 +00:00
eff04a5e60
fix: stop creating AFT- placeholder parts in import pipeline
...
- import_phase1.py: skip AFT- part creation when no OEM data
- link_vehicle_parts.py: remove AFT- fallback lookup in part cache
- import_tecdoc_parts.py: add VW to TOP_BRANDS list
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-18 22:25:21 +00:00