Skip to content

Commit 67626df

Browse files
committed
Merge branch 'desarrollo' into produccion
2 parents 9a0a5b9 + f3277b3 commit 67626df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Frontend/app/Services/Inventario/RecetasService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function crearReceta(array $data): array
7979
'ingredientes' => array_map(function($detalle) {
8080
return [
8181
'idIngrediente' => (int) $detalle['idIngrediente'],
82-
'cantidadNecesaria' => (float) $detalle['cantidadRequerida'],
82+
'cantidadRequerida' => (float) $detalle['cantidadRequerida'],
8383
'idUnidad' => (int) $detalle['idUnidad'],
8484
];
8585
}, $data['detalles'] ?? [])
@@ -105,7 +105,7 @@ public function actualizarReceta(int $idProducto, array $data): array
105105
'ingredientes' => array_map(function($detalle) {
106106
return [
107107
'idIngrediente' => (int) $detalle['idIngrediente'],
108-
'cantidadNecesaria' => (float) $detalle['cantidadRequerida'],
108+
'cantidadRequerida' => (float) $detalle['cantidadRequerida'],
109109
'idUnidad' => (int) $detalle['idUnidad'],
110110
];
111111
}, $data['detalles'] ?? [])

0 commit comments

Comments
 (0)