@extends('front_end.layouts.home') @php $showRightSidebar = false; @endphp @section('title', 'Donate Blood') @section('left_sidebar') @include('front_end.pages.bloodbank.bloodbank_left_sidebar') @endsection @section('content')

Donate Blood

Schedule a blood donation and save lives

Your Donation Eligibility
{{ $isEligible ? 'You are eligible to donate' : 'You are not eligible to donate right now' }}
@if(!$isEligible && $nextEligibleDate)

You will be eligible from {{ $nextEligibleDate->format('F d, Y') }}

@endif
@if(!Auth::user()->blood_type)
Please set your blood type

Please update your donor profile to include your blood type before scheduling a donation.

@endif
Your Details
Blood Type

{{ Auth::user()->blood_type ?: 'Not set' }}

Last Donation

{{ Auth::user()->last_donation_date ? Auth::user()->last_donation_date->format('M d, Y') : 'Never' }}

Total Donations

{{ Auth::user()->donation_count ?: '0' }}

Days Since Last

{{ Auth::user()->days_since_last_donation ?: 'N/A' }}

Update Donor Profile @if($isEligible && Auth::user()->blood_type) @endif
Eligibility Requirements
  • Must be between 17-65 years old
  • Weight at least 50kg (110 lbs)
  • In good health condition
  • No alcohol consumption within 24 hours before donation
  • No tattoos or piercings within the last 3 months
  • Not donated blood in the last 56 days (8 weeks)
  • Had adequate sleep and meals before donation
  • Must not be on antibiotics or certain medications
Did You Know?
A single blood donation can save up to 3 lives!
Schedule a Donation
Your blood type {{ Auth::user()->blood_type }} is compatible with the requests shown above.
blood_type ? 'disabled' : '' }}>
Select your preferred donation date
Most donations are 1 unit. Please consult with the blood bank staff if you're considering donating 2 units.
blood_type ? 'disabled' : '' }}>
Upcoming Donations
@if(count($donationHistory->where('status', 'scheduled')->where('donation_date', '>=', now())) > 0)
@foreach($donationHistory->where('status', 'scheduled')->where('donation_date', '>=', now())->sortBy('donation_date') as $donation)
{{ $donation->bloodBank ? $donation->bloodBank->name : 'Unknown Blood Bank' }}
{{ \Carbon\Carbon::parse($donation->donation_date)->format('M d, Y') }}

{{ $donation->blood_type }} • {{ $donation->units }} unit(s) @if($donation->request) • For: {{ Str::limit($donation->request->reason ?: 'Blood Request', 30) }} @endif

@endforeach
@else

No upcoming donations

@endif
Donation History
View All
@if(count($donationHistory->where('status', 'completed')) > 0)
@foreach($donationHistory->where('status', 'completed')->take(5) as $donation)
{{ $donation->bloodBank ? $donation->bloodBank->name : 'Unknown Blood Bank' }}
{{ \Carbon\Carbon::parse($donation->donation_date)->format('M d, Y') }}

{{ $donation->blood_type }} • {{ $donation->units }} unit(s) @if($donation->request) • For: {{ Str::limit($donation->request->reason ?: 'Blood Request', 30) }} @endif

@endforeach
@else

No donation history

@endif
@endsection @section('extra-js') @endsection