Inicio de sesion y probando con octane + frankenphp
This commit is contained in:
@@ -2,19 +2,16 @@
|
||||
|
||||
namespace App\Livewire\Cajas;
|
||||
|
||||
use App\Models\Efectivo;
|
||||
use App\Models\Turno;
|
||||
use Carbon\Carbon;
|
||||
use Exception;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\Pagination\LengthAwarePaginator;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
use Illuminate\Support\Number;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use Livewire\Attributes\Computed;
|
||||
use Livewire\Component;
|
||||
use Livewire\WithPagination;
|
||||
use Log;
|
||||
use TallStackUi\Traits\Interactions;
|
||||
|
||||
class Index extends Component
|
||||
@@ -86,7 +83,7 @@ class Index extends Component
|
||||
|
||||
Session::flash('toast', ['type' => 'success', 'message' => 'Caja registrada correctamente']);
|
||||
|
||||
$this->redirectRoute('cajas.edit', $turno);
|
||||
$this->redirectRoute('cajas.edit', $turno, navigate: true);
|
||||
}
|
||||
|
||||
public function closeTurnoModal(): void
|
||||
@@ -136,7 +133,7 @@ class Index extends Component
|
||||
->orderBy('numero_caja', 'asc')
|
||||
->orderBy('numero_turno', 'asc')
|
||||
->when($this->searchFecha, function ($query) {
|
||||
if (!$this->searchFecha) {
|
||||
if (! $this->searchFecha) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user