From 959df75fa806a77ec0d39eb299c51ec24b359264 Mon Sep 17 00:00:00 2001 From: rats4final Date: Tue, 13 Dec 2022 00:07:39 -0400 Subject: [PATCH] ajustes --- app/Actions/Fortify/CreateNewUser.php | 3 ++- resources/views/admin/Citas/create.blade.php | 2 +- resources/views/components/layouts/app.blade.php | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/Actions/Fortify/CreateNewUser.php b/app/Actions/Fortify/CreateNewUser.php index 638131a..a3b53ff 100644 --- a/app/Actions/Fortify/CreateNewUser.php +++ b/app/Actions/Fortify/CreateNewUser.php @@ -3,6 +3,7 @@ namespace App\Actions\Fortify; use App\Models\User; +use App\Models\Persona; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\Rule; @@ -32,7 +33,7 @@ public function create(array $input) 'username' => ['required', 'string', 'max:20'], 'password' => $this->passwordRules(), ])->validate(); - + //TODO: Terminar esto de las personas return User::create([ //'name' => $input['name'], 'email' => $input['email'], diff --git a/resources/views/admin/Citas/create.blade.php b/resources/views/admin/Citas/create.blade.php index 953506f..86c14a8 100644 --- a/resources/views/admin/Citas/create.blade.php +++ b/resources/views/admin/Citas/create.blade.php @@ -73,7 +73,7 @@ }); }); $("#select1").change(function () { - + //un momento, esto es jquery!? if ($(this).data('options') == undefined) { $(this).data('options', $('#select2 option').clone()); } diff --git a/resources/views/components/layouts/app.blade.php b/resources/views/components/layouts/app.blade.php index c7cd062..538aaed 100644 --- a/resources/views/components/layouts/app.blade.php +++ b/resources/views/components/layouts/app.blade.php @@ -51,7 +51,10 @@ Support
  • - Salir +
    + @csrf + +