@extends('frontend.diagnostic.layouts.template-base') @section('meta_tags') @include('frontend.diagnostic.layouts.meta-tags', ['title' => 'Profile', 'page' => 'profile']) @endsection @section('styles') @endsection @section('header') @include('frontend.diagnostic.layouts.header') @endsection @section('content') @if(session('success'))
{{ session('success') }}
@endif
@if (isset($members) && $members->count())
Family Members
    @foreach ($members as $m) @php $mName = trim($m->name ?: trim(($m->first_name ?? '') . ' ' . ($m->last_name ?? ''))) ?: 'Member'; @endphp
  • @csrf
  • @endforeach
@endif
@php $isOwn = $isOwnProfile ?? true; $memberName = $activeMember ? (trim($activeMember->name ?: trim(($activeMember->first_name ?? '') . ' ' . ($activeMember->last_name ?? ''))) ?: 'Member') : $user->name; $profileName = old('name', $isOwn ? $user->name : ($activeMember->name ?? $memberName)); $profileMobile = old('mobile', $isOwn ? $user->mobile : ($activeMember->mobile ?? '')); $profileGender = old('gender', $patient?->sex ?? ''); $profileAge = old('age', $patient?->age !== null ? (string) $patient->age : ''); $profileDob = old('date_of_birth', $patient?->dob?->format('Y-m-d') ?? ''); $genderNormalized = strtolower(trim((string) $profileGender)); $isFemaleSelected = in_array($genderNormalized, ['female', 'f'], true); $isMaleSelected = in_array($genderNormalized, ['male', 'm'], true); @endphp

{{ $isOwn ? 'My Profile' : $memberName . "'s Profile" }}

@unless ($isOwn)

Family member — editing only this person's details (not your login).

@endunless
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('date_of_birth')
{{ $message }}
@enderror
@error('age')
{{ $message }}
@enderror
@error('mobile')
{{ $message }}
@enderror
@if ($isOwn)
@error('email')
{{ $message }}
@enderror
@else
Shared family account email
@endif

Change Password

@if (session('password_updated'))
{{ session('message') }}
@endif @error('password')
{{ $message }}
@enderror @error('current_password')
{{ $message }}
@enderror
@csrf @method('PUT')

Reports @if (isset($activeMember) && $activeMember){{ trim($activeMember->name ?: 'Member') }}@endif

@if(isset($bookings) && $bookings->count() > 0)
@foreach($bookings as $booking) @php $bookingDate = $booking->date ? \Carbon\Carbon::parse($booking->date)->format('d M Y') : null; @endphp @foreach($booking->packages as $package)
{{ $package->title }}

{{ $package->title }}

Booking Date: {{ $bookingDate ?? 'N/A' }}

{{ $booking->reportStatusLabel() }}

@if($booking->isReportPublished()) @else @endif
@endforeach @if($booking->packages->isEmpty())
{{ $booking->reportDisplayTitle() }}

{{ $booking->reportDisplayTitle() }}

Booking Date: {{ $bookingDate ?? 'N/A' }}

{{ $booking->reportStatusLabel() }}

@if($booking->isReportPublished()) @else @endif
@endif @endforeach
@else
No Reports Found

You don't have any booked packages with reports yet.

Book Now
@endif

Bookings @if (isset($activeMember) && $activeMember){{ trim($activeMember->name ?: 'Member') }}@endif

@if($bookings && $bookings->count() > 0) @foreach($bookings as $booking)
@php $package = $booking->packages->first(); @endphp

{{ $booking->packages->pluck('title')->join(', ') ?: 'Test Booking' }}

Booking Date: {{ $booking->date ? \Carbon\Carbon::parse($booking->date)->format('d M Y') : 'N/A' }}

Report: {{ $booking->reportStatusLabel() }}

{{ $booking->status == 1 ? 'Confirmed' : 'Pending' }}
@endforeach @else
No Bookings Found

No results match your search or filter.

Book Now
@endif

Privacy Policy

Veridian Micro Lab

At Veridian Micro Lab, we are committed to protecting your privacy and safeguarding your personal and medical information. This Privacy Policy explains how we collect, use, and protect your data when you use our diagnostic test booking services.

Medical Data Protection
  • Stored securely
  • Accessible only to authorized personnel
  • Protected using reasonable administrative and technical safeguards
Contact Us

If you have any questions regarding this Privacy Policy:

+91 9677111346

+91 9171578984

info@veridianmicrolab.com

Terms & Conditions

By accessing and using the Veridian Micro Lab website and booking services, you agree to the following terms:

Sample Collection
  • Customers must be available at the scheduled time.
  • Fasting or preparation instructions must be followed (if applicable).
  • Failure to comply may result in rescheduling.
Contact Us

If you have any questions regarding this Privacy Policy:

+91 9677111346

+91 9171578984

info@veridianmicrolab.com

Updated Successfully ✅
@endsection @section('scripts') @endsection