diff --git a/app/Http/Livewire/ShowLogHistorial.php b/app/Http/Livewire/ShowLogHistorial.php index 8eb6163..993c48a 100644 --- a/app/Http/Livewire/ShowLogHistorial.php +++ b/app/Http/Livewire/ShowLogHistorial.php @@ -2,10 +2,11 @@ namespace App\Http\Livewire; +use App\Models\Log_general; use App\Models\Log_historial; use Livewire\Component; -class ShowLogGeneral extends Component +class ShowLogHistorial extends Component { public $entradas; @@ -14,7 +15,7 @@ class ShowLogGeneral extends Component public function render() { - $query = Log_historial::query(); + $query = Log_general::query(); if ($this->buscar) { $query->where('detalle', 'like', '%' . $this->buscar . '%'); diff --git a/resources/views/livewire/show-log-general.blade.php b/resources/views/livewire/show-log-general.blade.php index 10dbbe9..5b9b2e4 100755 --- a/resources/views/livewire/show-log-general.blade.php +++ b/resources/views/livewire/show-log-general.blade.php @@ -1,6 +1,6 @@