Inicio de sesion y probando con octane + frankenphp

This commit is contained in:
2025-01-12 22:55:11 -03:00
parent d4f65832f0
commit e5e040a53b
26 changed files with 2405 additions and 1687 deletions

View File

@@ -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;
}