@php $extraValue = 0; $sitesetup = App\Models\Setting::where('type','site-setup')->where('key', 'site-setup')->first(); $datetime = $sitesetup ? json_decode($sitesetup->value) : null; @endphp
{{ date("$datetime->date_format / $datetime->time_format", strtotime($bookingdata->created_at))}}
{{ App\Models\BookingStatus::bookingStatus($bookingdata->status)}}
{{ ucwords(str_replace('_', ' ', optional($bookingdata->payment)->payment_status ?: 'pending'))}}
{{!empty($bookingdata->total_amount) ? getPriceFormat($bookingdata->total_amount + $extraValue ): 0}}
{{optional($booking->handyman)->contact_number ?? '-'}}
{{optional($booking->handyman)->address ?? '-'}}
{{ optional($bookingdata->provider)->contact_number ?? '-' }}
{{ optional($bookingdata->provider)->address ?? '-' }}
{{$activity->activity_message}}