Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Sibebar a medias
Browse files Browse the repository at this point in the history
  • Loading branch information
XSlayer67 committed Dec 1, 2022
1 parent 31aa89f commit 9d630bf
Show file tree
Hide file tree
Showing 9 changed files with 8,515 additions and 7 deletions.
6 changes: 6 additions & 0 deletions app/Http/Controllers/CitasController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ public function create()

public function store(Request $request)
{
$request->validate([

'fecha_cita'=>['required'],
'detalles_cita'=>['required','max:50']

]);
$input = $request->all();
Citas::create($input);
return redirect('Citas')->with('flash_message', 'Citas Addedd!');
Expand Down
Loading

0 comments on commit 9d630bf

Please sign in to comment.