This commit is contained in:
Felipe
2023-10-07 11:28:31 -05:00
parent 8e19bd129e
commit 87124fdf46
7 changed files with 89 additions and 29 deletions
+3 -2
View File
@@ -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()