log general
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
|
||||
use App\Models\Log_general;
|
||||
use Livewire\Component;
|
||||
|
||||
class ShowLogGeneral extends Component
|
||||
{
|
||||
public $entradas;
|
||||
|
||||
public function render()
|
||||
{
|
||||
$logs = Log_general::orderby('id', 'desc')->paginate($this->entradas);
|
||||
|
||||
return view('livewire.show-log-general', [
|
||||
'logs' => $logs
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user