@@ -351,12 +351,7 @@ class ShowServicios extends Component
|
|||||||
->Orderby('inicio', 'ASC')
|
->Orderby('inicio', 'ASC')
|
||||||
->withCount('historiales')
|
->withCount('historiales')
|
||||||
->where('estado', 'pendiente')
|
->where('estado', 'pendiente')
|
||||||
->where(function ($query) {
|
->doesntHave('perfil')
|
||||||
$query->doesntHave('perfil')
|
|
||||||
->orWhereHas('perfil', function ($query) {
|
|
||||||
$query->whereNull('historial_id');
|
|
||||||
});
|
|
||||||
})
|
|
||||||
->get();
|
->get();
|
||||||
} elseif ((int) $pantalla_servicio < (int) $cantidad_solicitada) {
|
} elseif ((int) $pantalla_servicio < (int) $cantidad_solicitada) {
|
||||||
$suma2 = $pantalla_servicio - $pantallas;
|
$suma2 = $pantalla_servicio - $pantallas;
|
||||||
|
|||||||
Reference in New Issue
Block a user