@extends('layouts.website.website') @section('content') Patient Database Add New Patient ID Name Doctor Phone Due Balance Options @foreach (App\User::where('role_id',8)->orderBy('name','ASC')->get() as $item) {{ $item->id }} {{ $item->name }} @if ($item->patients_doctor) {{ $item->patients_doctor->name }} @else @endif {{ $item->phone }} Edit Info History @endforeach