@extends('adminlte::page') @section('title', 'Unpaid Queries') @section('content_header')
"; print_r($main->service->service_page_icon); exit;
@endphp
@php $menuTitle = ""; $serv_title = $main->service->service_page_icon->title ?? ""; if(!empty($main->service)) { $menuTitle = $main->service->menu_title; } @endphp
Serial No
{{ $no }}
Category
{{ optional($main->category)->category_title }}
Service
@if($serv_title != "") {{ $serv_title }} @else {{$menuTitle}} @endif
Name
{{ $main->name ?? 'N/A' }}
Email
{{ $main->email ?? 'N/A' }}
Country
{{ $main->country ?? 'N/A' }}
Mobile Number
{{ $main->mobile_number ?? 'N/A' }}
Government Fee
{{ $main->gov_fee ?? '0.00' }}
Visament Fee
{{ $main->visa_fee ?? '0.00' }}
Date
{{ $main->created_at->format('d-m-Y') ?? 'N/A' }}
Payment Time
{{ $main->updated_at->format('h:i A') ?? 'N/A' }}
Action
commant
@php $no++; @endphp
Category
Service
Name
Country
Government Fee
Visament Fee
Date
Payment Time
@if(count($main->appointments) > 1)
@foreach ($main->appointments as $key => $app)
@php //$service_nm = $app->service->service_page_icon->title; @endphp
@if($key == 0 ) @continue @endif
Category
{{ optional($app->category)->category_title }}
Service
@if(isset($app->service->service_page_icon)) {{ $app->service->service_page_icon->title ?? "" }} @else {{$app->service->title ?? ""}} @endif
Name
{{ $app->name ?? 'N/A' }}
Country
{{ $app->country ?? 'N/A' }}
Government Fee
{{ $app->gov_fee ?? '0.00' }}
Visament Fee
{{ $app->visa_fee ?? '0.00' }}
Date
{{ $app->created_at->format('d-m-Y') ?? 'N/A' }}
Payment Time
{{ $app->updated_at->format('h:i A') ?? 'N/A' }}
@endforeach
@else
No appointments added till now.
@endif
@endforeach
@endif