Skip to content

feat: implement Venta CRUD (listar, crear, detalle, paginacion, elimi… - #7

Merged
edelmezamx merged 1 commit into
mainfrom
Venta
Aug 5, 2026
Merged

feat: implement Venta CRUD (listar, crear, detalle, paginacion, elimi…#7
edelmezamx merged 1 commit into
mainfrom
Venta

Conversation

@edelmezamx

Copy link
Copy Markdown
Collaborator

…nar detalle)

  • Venta screen con paginacion, filtros, busqueda por cliente/fecha
  • VentaCrear screen con autocomplete cliente/usuario y estado
  • VentaDetalle screen con tabla productos, agregar/eliminar detalle, total footer
  • Domain: Venta, VentaDetalle, EstadoVenta, ProductoAutocomplete models + 8 use cases
  • Data: VentaApi (Ktor), VentaRepositoryImpl, DTOs con PascalCase
  • UI: 3 screens + 3 ViewModels con Clean Architecture
  • Tests: unit (ViewModel, UseCase, Repository) + androidTest (Compose UI)
  • Mock API: endpoints Venta/VentaDetalle con paginacion y DELETE
  • Certificate pinning SHA-256 en network_security_config.xml
  • API base URL cambiada a https://localhost:7227
  • Fix: pagination waitUntil en tests Empleado/Venta
  • Fix: CampoAutocompletado labels unicos (cliente/usuario)
  • Fix: totalDetalles computed inline en VentaDetalleScreen

…nar detalle)

- Venta screen con paginacion, filtros, busqueda por cliente/fecha
- VentaCrear screen con autocomplete cliente/usuario y estado
- VentaDetalle screen con tabla productos, agregar/eliminar detalle, total footer
- Domain: Venta, VentaDetalle, EstadoVenta, ProductoAutocomplete models + 8 use cases
- Data: VentaApi (Ktor), VentaRepositoryImpl, DTOs con PascalCase
- UI: 3 screens + 3 ViewModels con Clean Architecture
- Tests: unit (ViewModel, UseCase, Repository) + androidTest (Compose UI)
- Mock API: endpoints Venta/VentaDetalle con paginacion y DELETE
- Certificate pinning SHA-256 en network_security_config.xml
- API base URL cambiada a https://localhost:7227
- Fix: pagination waitUntil en tests Empleado/Venta
- Fix: CampoAutocompletado labels unicos (cliente/usuario)
- Fix: totalDetalles computed inline en VentaDetalleScreen
@edelmezamx
edelmezamx merged commit ae7fe7a into main Aug 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants