Se cargan las modificaciones para pasarela stripe

This commit is contained in:
2026-03-12 17:17:03 -06:00
parent 46a0f8b1c3
commit 58e27fc5fc
10 changed files with 99 additions and 8 deletions
+4 -1
View File
@@ -255,7 +255,10 @@ class DataProspecto extends Component
$q->where('plantels.id', $this->pplantels)
)->get();
$this->planesPago = Plane::where('nivel', $this->selectedNivel)
$this->planesPago = Plane::query()
->whereHas('nivelPlane', function ($q) {
$q->where('nivels.id', $this->selectedNivel);
})
->whereHas('planPlantel', function ($q) {
$q->where('plantels.id', $this->pplantels);
})