You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
8.1 KiB
135 lines
8.1 KiB
2 years ago
|
@extends('admin.layouts.app')
|
||
|
@section('content')
|
||
|
<!-- Content Wrapper. Contains page content -->
|
||
|
<div class="content-wrapper">
|
||
|
<!-- Content Header (Page header) -->
|
||
|
<section class="content-header">
|
||
|
<div class="container-fluid">
|
||
|
<div class="row mb-2">
|
||
|
<div class="col-sm-6">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div><!-- /.container-fluid -->
|
||
|
</section>
|
||
|
|
||
|
<!-- Main content -->
|
||
|
<section class="content">
|
||
|
<div class="container-fluid">
|
||
|
<!-- SELECT2 EXAMPLE -->
|
||
|
<div class="card card-default">
|
||
|
<div class="card-header">
|
||
|
<h3 class="card-title">Referral</h3>
|
||
|
<a href="{{url('admin/referrals')}}" class="btn btn-green back-button active" role="button" aria-pressed="true">List</a>
|
||
|
</div>
|
||
|
<div class="card-body">
|
||
|
@include('success.success')
|
||
|
@include('errors.error')
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
<div class="col-md-12">
|
||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Participant Details</label></br>
|
||
|
<ul class="contact-info">
|
||
|
<li class="d-flex">
|
||
|
<span>Full Name:</span>
|
||
|
<span>{{$referral->name}}</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>Gender:</span>
|
||
|
<span>@if($referral->gender == '1') Male @elseif($referral->gender == '2') Female @else Other @endif</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>Email:</span>
|
||
|
<span>{{$referral->email}}</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>Date of Birth:</span>
|
||
|
<span>{{$referral->dob}}</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>Phone:</span>
|
||
|
<span>{{$referral->mobile_no}}</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-12 mt-4">
|
||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Participant Address</label></br>
|
||
|
<ul class="contact-info">
|
||
|
<li class="d-flex">
|
||
|
<span>Suburb:</span>
|
||
|
<span>{{$referral->suburb}}</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>State/Region:</span>
|
||
|
<span>{{$referral->state_name}}</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>Postal Code:</span>
|
||
|
<span>{{$referral->postalcode}}</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
@if($referral->is_ndis == '1')
|
||
|
<div class="col-md-12 mt-4" >
|
||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">NDIS Details</label></br>
|
||
|
<ul class="contact-info">
|
||
|
<li class="d-flex">
|
||
|
<span>NDIS Number:</span>
|
||
|
<span>{{$referral->ndis_number}}</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>NDIS Expiry Date:</span>
|
||
|
<span>{{$referral->ndis_expiry_date}}</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>NDIS Plan:</span>
|
||
|
<span>{{config('custom.ndis_plan')[$referral->ndis_plan]}}</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
@endif
|
||
|
|
||
|
<div class="col-md-12 mt-4">
|
||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Service Details</label></br>
|
||
|
<ul class="contact-info">
|
||
|
<li class="d-flex">
|
||
|
<span>Sevices:</span>
|
||
|
<span>
|
||
|
@foreach($referral->referral_services as $service)
|
||
|
|
||
|
{{App\Models\Service::find($service->service_id)->name}}<br />
|
||
|
@endforeach
|
||
|
</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>Details: </span>
|
||
|
<span>{{$referral->services_details}}</span>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-12 mt-4">
|
||
|
<label for="service_name" style="font-weight: bold; font-size: 20px; color: #DD6227">Referrer Details</label></br>
|
||
|
<ul class="contact-info">
|
||
|
<li class="d-flex">
|
||
|
<span>Referrer Full Name:</span>
|
||
|
<span>{{$referral->referrer_full_name}}</span>
|
||
|
</li>
|
||
|
<li class="d-flex">
|
||
|
<span>Referrer Contact Number:</span>
|
||
|
<span>{{$referral->referrer_contact_no}}</span>
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
</div>
|
||
|
@endsection
|