homo #8

Merged
ncoronel merged 79 commits from homo into main 2026-09-17 17:52:21 +00:00
169 changed files with 8361 additions and 500 deletions
Showing only changes of commit e6b5da366c - Show all commits

View File

@@ -16,7 +16,10 @@ class EntryResource extends JsonResource
'id' => $this->id,
'title' => $this->nombre,
'description' => $this->descripcion,
'variants' => $this->variants->toArray(),
'variants' => $this->variants
->whereNull('replaced_by_variant_id')
->values()
->toArray(),
'price' => $this->precio,
];
}