Skip to content

Commit

Permalink
Merge pull request #225 from AndresC1/bugfix/production
Browse files Browse the repository at this point in the history
fix: Inventario con disponibilidad de entrada - refactor
  • Loading branch information
AndresC1 authored Jun 13, 2024
2 parents 09a191d + d9423b9 commit e86df94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/InventoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function index(TypeInventoryRequest $request)
});
return $inventory->productInputs->isNotEmpty();
});
$response['inventario'] = $filteredInventories;
$response['inventario'] = InventoryCleanResource::collection($filteredInventories);
}else{
$paginate_meta = [
'total' => $inventory->total(),
Expand Down

0 comments on commit e86df94

Please sign in to comment.