@extends('layouts.yellow')
@section('content')
    <div class="container-fluid">
        <div class="row">
            <div class="col-12 p-3">
                <div class="card">
                    <div class="card-header">
                        <h2>{{ __('view-patients.titleView') }}</h2>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-12">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-12">
                            <div class="float-right">
                                <div class="card-body">   
                                    <a href="{{URL::to('/admin/create-patient')}}" class="btn btn-success">
                                        {{__("view-patients.create")}}
                                    </a>
                                    <a href="{{URL::to('/admin/view-patients/export')}}" class="btn btn-primary">
                                        <i class="fas fa-file-excel"></i> {{__("view-patients.export")}}
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-12">
                            <div style="margin-left:100px">
                                <img class="w-40" src="{{asset('img/heart.png')}}" alt="">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-12">
                            <livewire:patients-table-view />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection