Skip to content

REC-176: Implementa rutas para control de insumos#72

Merged
ma7payne merged 1 commit into
developerfrom
REC-176
May 12, 2026
Merged

REC-176: Implementa rutas para control de insumos#72
ma7payne merged 1 commit into
developerfrom
REC-176

Conversation

@ma7payne

@ma7payne ma7payne commented Dec 4, 2025

Copy link
Copy Markdown

Requerimiento

https://proyectos.andes.gob.ar/browse/REC-176
https://proyectos.andes.gob.ar/browse/REC-231

Funcionalidad desarrollada

  1. Se crea ruta para pedir insumos (stock) desde Andes, listado general y búsqueda por términos (nombre de insumo) y tipos
  2. Se modifican los esquemas de prestación para permitir type, requiresSpecification y specification en los supplies.

Requerimiento

https://proyectos.andes.gob.ar/browse/REC-178

Funcionalidad desarrollada

  1. Se crea ruta para pedir recuperar y devolver insumos (stock) mediante el stock.controller

Warning

Requiere andes/api#2208

UserStories llegó a completarse

  • Si
  • No

Requiere actualizaciones en la base de datos

  • Si
  • No

supplies: [{
_id: false,
supply: supplySchema,
supply: {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

buenas!
consultado con @MCele se quiere que el esquema sea analogo al esquema de insumo en andes
image
seria agregar los campos
-estado
-fuente/codigo
-observaciones
tambien
'specification' seria parte de la receta y no del insumo

cualquier cosa lo vemos

@aldoEMatamala aldoEMatamala removed the Changes done Cambios realizados label Apr 1, 2026
@ma7payne ma7payne force-pushed the REC-176 branch 2 times, most recently from 2d87ed9 to 1c060b8 Compare April 6, 2026 15:05
Comment thread src/models/supply.model.ts Outdated
fsn: String,
semanticTag: String
code: {
source: { type: String, enum: ['SIFAHO', 'NOMED'] },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

falta una S

@aldoEMatamala aldoEMatamala left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahi revise lo modificado y quedo funcionando, quedaria consultar si es necesario agregar el atributo 'observaciones' al esquema y si es necesario incluir el codigo.fuente y codigo.valor en los PDF

@ma7payne ma7payne force-pushed the REC-176 branch 2 times, most recently from b1e7639 to 12816af Compare April 21, 2026 14:52
@ma7payne

Copy link
Copy Markdown
Author

ahi revise lo modificado y quedo funcionando, quedaria consultar si es necesario agregar el atributo 'observaciones' al esquema y si es necesario incluir el codigo.fuente y codigo.valor en los PDF

@aldo, no lo deje agregado pero si llega a ser requerido lo podemos modificar en otra tarea.

@github-actions github-actions Bot removed the Aprobado label Apr 22, 2026
@ma7payne ma7payne force-pushed the REC-176 branch 2 times, most recently from 5beb675 to 5c8287c Compare May 5, 2026 16:53
@ma7payne ma7payne force-pushed the REC-176 branch 2 times, most recently from 5c8287c to bb8f2a4 Compare May 5, 2026 18:35
@ma7payne ma7payne added the Changes done Cambios realizados label May 5, 2026
@ma7payne ma7payne changed the base branch from master to developer May 12, 2026 12:17
@ma7payne ma7payne merged commit d532de9 into developer May 12, 2026
4 checks passed
@ma7payne ma7payne deleted the REC-176 branch May 12, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants