Files
streamline-emr/docker/statistics/Modules/Insurance/Resources/views/insurance_members/details.blade.php
T
2025-03-31 03:46:05 +03:00

102 lines
3.7 KiB
PHP
Executable File

@extends('layouts.main')
@section('content')
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title">{{ __('insurance_members.insurance_member_details') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('insurance_members.dashboard') }}</a></li>
<li><a href="/insurance_members/">{{ __('insurance_members.insurance_members') }}</a></li>
<li class="active">{{ __('insurance_members.member_details') }}</li>
</ol>
</div>
</div>
@include('flash::message')
@include('insurance::insurance_members.menu')
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-md-8">
<h3>{{ __('insurance_members.member_details_bio') }}</h3>
<table class="table table-striped table-bordered">
<tr>
<th>{{ __('insurance_members.patient_number') }}</th>
<td>{{ $patient_number }}</td>
</tr>
<tr>
<th>{{ __('insurance_members.full_names') }}</th>
<td>{!! insurance_flag($patient_id) !!}</td>
</tr>
<tr>
<th>{{ __('insurance_members.relationship_to_head_of_family') }}</th>
<td>{{ $patient_relationship }}</td>
</tr>
@if (!empty($research_id))
<tr>
<th>{{ __('insurance_members.research_id') }}</th>
<td>{{ $research_id }}</td>
</tr>
@endif
</table>
<hr>
<h3>{{ __('insurance_members.head_of_family_details') }}</h3>
<table class="table table-striped table-bordered">
<tr>
<th>{{ __('insurance_members.full_names') }}</th>
<td>{{ title_case($head_of_family) }}</td>
</tr>
</table>
<hr>
<h3>{{ __('insurance_members.group_details') }}</h3>
<table class="table table-striped table-bordered">
<tr>
<th>{{ __('insurance_members.group_name') }}</th>
<td>{{ $group_name }}</td>
</tr>
<tr>
<th>{{ __('insurance_members.start_of_insurance') }}</th>
<td>{{ streamline_date($start_date) }}</td>
</tr>
<tr>
<th>{{ __('insurance_members.end_of_insurance') }}</th>
<td>{{ streamline_date($end_date) }}</td>
</tr>
<tr>
<th>{{ __('insurance_members.insurance_status') }}</th>
<td>
@if (date('Y-m-d') < $end_date)
<font color="green" ><strong>{{ __('insurance_members.active') }}</strong></font>
@else
<font color="red"><strong>{{ __('insurance_members.inactive') }}</strong></font>
@endif
</td>
</tr>
</table>
</div>
<div class="col-md-4">
<div>
<h4>{{ __('insurance_members.member_picture') }}</h4>
<img style='height: 140px; width: 250px;' src="{{ asset($member_photo) }}">
</div>
<hr>
<div>
<h4>{{ __('insurance_members.head_of_family_picture') }}</h4>
<img style='height: 140px; width: 250px;' src="{{ asset($head_photo) }}">
</div>
</div>
</div>
</div>
</div>
@endsection