Revert "Update ShowServicios.php"

This reverts commit 0a47de1871.
This commit is contained in:
lizandrogd
2024-10-24 20:36:59 -05:00
parent e24b2e6799
commit 92bf7f7970
+1 -6
View File
@@ -351,12 +351,7 @@ class ShowServicios extends Component
->Orderby('inicio', 'ASC')
->withCount('historiales')
->where('estado', 'pendiente')
->where(function ($query) {
$query->doesntHave('perfil')
->orWhereHas('perfil', function ($query) {
$query->whereNull('historial_id');
});
})
->doesntHave('perfil')
->get();
} elseif ((int) $pantalla_servicio < (int) $cantidad_solicitada) {
$suma2 = $pantalla_servicio - $pantallas;