{{ @(isset($value['package']) && count($value['package']) > 0) ? $value['name'] : $value['fname'].' '.$value['lname'] }} |
{{ @(isset($value['package']) && count($value['package']) > 0) ? $value['email'] : $value['email'] }} |
{{ @(isset($value['package']) && count($value['package']) > 0) ? $value['phone'] : $value['phno'] }} |
@php
$kittype = "";
if(isset($value['package']) && count($value['package']) > 0){
$kittype = $value['package']['name'];
} else {
if($value['kittype'] == 'pcr'){
$kittype = 'RT-PCR';
} elseif($value['kittype'] == 'lft') {
$kittype = 'Rapid Antigen Test';
}
}
@endphp
{{ $kittype }}
|
{{ @(isset($value['package']) && count($value['package']) > 0) ? Carbon\Carbon::parse($value['appointment_date'])->format('m-d-Y') : $value['app_date'] }} |
{{ @(isset($value['package']) && count($value['package']) > 0) ? $value['appointment_time'] : $value['app_time'] }} |
@endforeach