fix: refactor ventas page to group by factura instead of idrecepcion
- _agrupar now keys by PREFIJO-NUM_FACTURA so all services of a factura are grouped together - _is_sent checks by factura key instead of idrecepcion - send-one and send endpoints accept/return factura_key instead of idrecepcion - ventas.html JS updated: factura_key used throughout (filaHtml, marcarFila, enviarUno, enviarTodosPendientes, verDetalle) - DOM element IDs sanitized with _safeId() to handle dashes in keys like CMXC-309 - onclick handlers now pass string keys with proper quoting Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
c1925ef6da
commit
8ed8f0999f
@@ -7,3 +7,4 @@ bcrypt==4.2.1
|
||||
python-jose[cryptography]==3.3.0
|
||||
httpx==0.28.1
|
||||
fdb>=2.0.0
|
||||
apscheduler>=3.10.0
|
||||
|
||||
Reference in New Issue
Block a user