porfavor hacer la migracion

This commit is contained in:
Felipe
2024-03-01 10:46:35 -05:00
parent df673cbc65
commit accc509652
7 changed files with 186 additions and 111 deletions
+5 -4
View File
@@ -10,8 +10,8 @@ class ShowLogGeneral extends Component
public $entradas;
public $buscar;
public $filtro_fecha;
public $filtro_fecha;
public function render()
{
$query = Log_general::query();
@@ -23,11 +23,12 @@ class ShowLogGeneral extends Component
if ($this->filtro_fecha) {
$query->whereDate('created_at', $this->filtro_fecha);
}
$logs = $query->orderBy('id', 'desc')->paginate($this->entradas);
$logs = $query->orderBy('id', 'desc')->paginate($this->entradas);
return view('livewire.show-log-general', [
'logs' => $logs
]);
}
}