-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
202 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
resources/views/appointments/confirmed-appointments.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<div class="table-responsive"> | ||
<!-- Projects table --> | ||
<table class="table align-items-center table-flush"> | ||
<thead class="thead-light"> | ||
<tr> | ||
<th scope="col">Descripción</th> | ||
<th scope="col">Especialidad</th> | ||
<th scope="col">Médico</th> | ||
<th scope="col">Fecha</th> | ||
<th scope="col">Hora</th> | ||
<th scope="col">Tipo</th> | ||
<th scope="col">Estado</th> | ||
<th scope="col">Opciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
|
||
@foreach ($confirmedAppointments as $cita) | ||
<tr> | ||
<th scope="row"> | ||
{{ $cita->description }} | ||
</th> | ||
<td> | ||
{{ $cita->specialty->name }} | ||
</td> | ||
<td> | ||
{{ $cita->doctor->name }} | ||
</td> | ||
<td> | ||
{{ $cita->scheduled_date }} | ||
</td> | ||
<td> | ||
{{ $cita->Scheduled_Time_12 }} | ||
</td> | ||
<td> | ||
{{ $cita->type }} | ||
</td> | ||
<td> | ||
{{ $cita->status }} | ||
</td> | ||
<td> | ||
<form action="{{ url('miscitas/' . $cita->id) }}" method="POST"> | ||
@csrf | ||
@method('DELETE') | ||
<button type="submit" class="btn btn-sn btn-danger" title="Cancelar Cita">Cancelar</button> | ||
</form> | ||
</td> | ||
</tr> | ||
@endforeach | ||
|
||
</tbody> | ||
</table> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<div class="table-responsive"> | ||
<!-- Projects table --> | ||
<table class="table align-items-center table-flush"> | ||
<thead class="thead-light"> | ||
<tr> | ||
<th scope="col">Descripción</th> | ||
<th scope="col">Especialidad</th> | ||
<th scope="col">Médico</th> | ||
<th scope="col">Fecha</th> | ||
<th scope="col">Hora</th> | ||
<th scope="col">Tipo</th> | ||
<th scope="col">Estado</th> | ||
<th scope="col">Opciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
|
||
@foreach ($oldAppointments as $cita) | ||
<tr> | ||
<th scope="row"> | ||
{{ $cita->description }} | ||
</th> | ||
<td> | ||
{{ $cita->specialty->name }} | ||
</td> | ||
<td> | ||
{{ $cita->doctor->name }} | ||
</td> | ||
<td> | ||
{{ $cita->scheduled_date }} | ||
</td> | ||
<td> | ||
{{ $cita->Scheduled_Time_12 }} | ||
</td> | ||
<td> | ||
{{ $cita->type }} | ||
</td> | ||
<td> | ||
{{ $cita->status }} | ||
</td> | ||
<td> | ||
<form action="{{ url('miscitas/' . $cita->id) }}" method="POST"> | ||
@csrf | ||
@method('DELETE') | ||
<button type="submit" class="btn btn-sn btn-danger" title="Cancelar Cita">Cancelar</button> | ||
</form> | ||
</td> | ||
</tr> | ||
@endforeach | ||
|
||
</tbody> | ||
</table> | ||
</div> |
48 changes: 48 additions & 0 deletions
48
resources/views/appointments/pending-appointments.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<div class="table-responsive"> | ||
<!-- Projects table --> | ||
<table class="table align-items-center table-flush"> | ||
<thead class="thead-light"> | ||
<tr> | ||
<th scope="col">Descripción</th> | ||
<th scope="col">Especialidad</th> | ||
<th scope="col">Médico</th> | ||
<th scope="col">Fecha</th> | ||
<th scope="col">Hora</th> | ||
<th scope="col">Tipo</th> | ||
<th scope="col">Opciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
|
||
@foreach ($pendingAppointments as $cita) | ||
<tr> | ||
<th scope="row"> | ||
{{ $cita->description }} | ||
</th> | ||
<td> | ||
{{ $cita->specialty->name }} | ||
</td> | ||
<td> | ||
{{ $cita->doctor->name }} | ||
</td> | ||
<td> | ||
{{ $cita->scheduled_date }} | ||
</td> | ||
<td> | ||
{{ $cita->Scheduled_Time_12 }} | ||
</td> | ||
<td> | ||
{{ $cita->type }} | ||
</td> | ||
<td> | ||
<form action="{{ url('miscitas/' . $cita->id) }}" method="POST"> | ||
@csrf | ||
@method('DELETE') | ||
<button type="submit" class="btn btn-sn btn-danger" title="Cancelar Cita">Cancelar</button> | ||
</form> | ||
</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> |