Private
Public Access
añadida interfaz de proveedores y hechas correcciones en la parte de
logs del control stock Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
1 parent
7a61f35682
commit
3079a70026
14 files changed
+273
-33
No files matched your search
@@ -45,8 +45,8 @@ func ActualizarObservacion(c *gin.Context) {
|
||||
}
|
||||
|
||||
registrarLog(repos, utils.EmpresaID(c), c.GetUint("userID"), "COMENTAR_STOCK", []models_logs.LogDetalle{
|
||||
{Columna: "stockId", ValorNuevo: fmt.Sprintf("%d", id)},
|
||||
{Columna: "observacion", ValorNuevo: texto},
|
||||
{NombreTabla: "stock", Columna: "stockId", ValorNuevo: fmt.Sprintf("%d", id)},
|
||||
{NombreTabla: "stock", Columna: "observacion", ValorNuevo: texto},
|
||||
})
|
||||
c.JSON(http.StatusOK, resultado)
|
||||
}
|
||||
Reference in new issue
Block a user