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

Commit

Permalink
Enhancenment #41 : Addded appointment button to doctors page
Browse files Browse the repository at this point in the history
  • Loading branch information
arindamkabir committed Aug 17, 2019
1 parent ebf6809 commit b231338
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion PROJECT CODE/resources/views/doctor/doctors.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@
@foreach($doctors as $doctor)


<a href="#" class="list-group-item list-group-item-action list-group-item-info">{{$doctor->doc_name}}</a>
<a href="#" class="list-group-item list-group-item-action list-group-item-info">
<p>{{$doctor->doc_name}}</p>
<form action="{{route('appointment.store')}}" method="POST">
@csrf
<div class="text-right mt-5">
<button type="submit" class="crt-btn">Make Appointment</button>
</div>
</form>
</a>



@endforeach

</div>
Expand Down

0 comments on commit b231338

Please sign in to comment.