planes
This commit is contained in:
@@ -97,6 +97,8 @@ class ShowPlanes extends Component
|
||||
public $perfil;
|
||||
public $repetidas;
|
||||
|
||||
public $entradas = 10;
|
||||
|
||||
public $editarTarifaRol = false;
|
||||
|
||||
|
||||
@@ -155,7 +157,7 @@ class ShowPlanes extends Component
|
||||
}
|
||||
|
||||
|
||||
$consulta_cuentas = $consulta_cuentas->paginate(30);
|
||||
$consulta_cuentas = $consulta_cuentas->paginate($this->entradas);
|
||||
|
||||
if ( $this->searchTerm) {
|
||||
$this->usuarios = User::where('email', 'LIKE', '%' . $this->searchTerm . '%')->get();
|
||||
@@ -168,7 +170,6 @@ class ShowPlanes extends Component
|
||||
|
||||
|
||||
return view('livewire.show-planes', [
|
||||
|
||||
'cuentas' => $consulta_cuentas,
|
||||
'servicios' => Servicio::where('estado','activo')->get(),
|
||||
'roles' => Role::get()
|
||||
|
||||
Reference in New Issue
Block a user