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

Commit

Permalink
puto david
Browse files Browse the repository at this point in the history
  • Loading branch information
XSlayer67 committed Nov 24, 2022
1 parent d003990 commit 3ecf9cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions app/Http/Controllers/CitasController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function index()

public function create()
{
$User =User::get();
$User = User::get();
return view('admin.Citas.create');
}

Expand All @@ -32,12 +32,14 @@ public function store(Request $request)

public function show($id)
{
$Citas =Citas::find($id);
$Citas = Citas::find($id);
return view('admin.Citas.show')->with('Citas', $Citas);
}

public function edit($id)
{
$User = User::all();

$Citas =Citas::find($id);
return view('admin.Citas.edit')->with('Citas', $Citas);
}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/admin/Citas/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<td>{{ $loop->iteration }}</td>
<td>{{ $item->fecha_cita }}</td>
<td>{{ $item->detalles_cita }}</td>
<td>{{ $item->id_secretaria->name}}</td>
<td>{{ $item->id_secretaria}}</td>
<td>
<a href="{{ url('/Citas/' . $item->id_citas . '/edit') }}" title="Edit Citas"><button class="btn btn-primary btn-sm"><i class="fa fa-pencil-square-o" aria-hid_tip_Citasden="true"></i> Edit</button></a>
<form method="POST" action="{{ url('/Citas' . '/' . $item->id_citas) }}" accept-charset="UTF-8" style="display:inline">
Expand Down

0 comments on commit 3ecf9cb

Please sign in to comment.