Update ShowServicios.php

This commit is contained in:
lizandrogd
2025-04-02 01:04:57 -05:00
parent fa619ee05e
commit 8a82ff8e45
+1 -2
View File
@@ -190,9 +190,8 @@ class ShowServicios extends Component
->whereDate('vencimiento', '<=', $this->fecha_final_2) ->whereDate('vencimiento', '<=', $this->fecha_final_2)
->where('servicio_id', $servicio_tarifa->id) ->where('servicio_id', $servicio_tarifa->id)
->where('estado', 'activo') ->where('estado', 'activo')
->having('historiales_count', '<=', $cantidad_restante) ->havingRaw('historiales_count <= ?', [$cantidad_restante])
->get(); ->get();
//dd($cuentas_pantallas); // con count da un numero entero //dd($cuentas_pantallas); // con count da un numero entero
$cuentas_pantallas_tomadas = Historial_cuenta::whereIn('cuenta_id', $cuentas_pantallas $cuentas_pantallas_tomadas = Historial_cuenta::whereIn('cuenta_id', $cuentas_pantallas