@extends('admin.layouts.master') @section('title', 'Memorial Info') @section('content') @php $image = $funeral->f_image ? url('uploads/funeral/'.$funeral->f_id.'/'.$funeral->f_image) : url('uploads/noimage.png'); @endphp @include('admin.partials.page-header', [ 'title' => 'Memorial Detail', 'crumbs' => [ ['label' => 'Memorials', 'url' => route('admin.funeral.index')], ['label' => 'Detail'], ], ])
@if ($qrImg) QR @endif

QR: {{ $funeral->f_qr_code }}

@if ($funeral->f_city || $funeral->f_country) @endif @if ($funeral->f_funeral_home_name) @endif @if ($funeral->f_payment_status !== null) @endif
Name{{ $funeral->f_name }}
Born Date{{ $funeral->f_dob ?: '-' }}
Funeral Date{{ $funeral->f_funeral_date ?: '-' }}
City / Country{{ collect([$funeral->f_city, $funeral->f_country])->filter()->implode(', ') }}
Funeral Home (entered in app){{ $funeral->f_funeral_home_name }}
Payment {{ $funeral->isAwaitingPayment() ? 'Unpaid' : 'Paid' }}
Contact Email{{ $funeral->f_email ?: '-' }}
Status{{ $funeral->f_status === '1' ? 'Active' : 'Inactive' }}
Updated{{ $funeral->f_updated_at ?: '-' }}
Obituary{!! nl2br(e($funeral->f_biography)) !!}
@endsection