commit parcial de implementacion de builder

Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
fede committed 2026-11-22 00:24:52 -03:00
1 parent f2cf7927eb
commit 4704777050
53 files changed
+1054 -863

No files matched your search

+9 -1
View File
@@ -7,6 +7,7 @@ import (
"github.com/gin-gonic/gin"
dto_directors "repuestera_back/dto/Builders/Directors"
r "repuestera_back/repositorios"
)
@@ -43,7 +44,14 @@ func ObtenerFacturas(c *gin.Context) {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return
}
c.JSON(http.StatusOK, facturas)
respuesta, err := dto_directors.NewFacturaDirector().Listar(facturas)
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()})
return
}
c.JSON(http.StatusOK, respuesta)
}
func fechaQuery(valor string) (*time.Time, error) {