feature/refund #7

Merged
ncoronel merged 63 commits from feature/refund into homo 2026-09-17 15:19:27 +00:00
1 changed files with 4 additions and 1 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,
];
}