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 + +