@extends('layouts.master') @section('page_header') Patients @endsection @section('content')
{{session('success')}}
ID | Name | Contact No. | Address | Age | |
---|---|---|---|---|---|
{{$patient->id}} | $patient->id])}}'"> {{$patient->first_name}} {{$patient->last_name?:''}} | $patient->id])}}'"> {{$patient->phone}} | $patient->id])}}'"> {{$patient->address}} | $patient->id])}}'"> {{Utils::getAge($patient->dob)}} | @can('delete',$patient) {{-- A modal is used to confirm the delete action. One the modal popup, the url in the form changes according to the patient's id --}} @endcan |