@extends('includes.layouts.admin') @section('page-title') Booking Details View @endsection @section('content')

Booking Details View

Booking Details:-
Lead Name Agent Name Product Name Quantity Purchase Price ($) Agent Earnings ($) Purpose Booking Date
{{ $bookingData->lead->name ?? null}} {{ $bookingData->user->name ?? null}} {{ $bookingData->product->name ?? null }} {{ $bookingData->quantity ?? null}} {{ $bookingData->purchase_price ?? null}} {{ $bookingData->agent_earning ?? null}} {{ $bookingData->purpose ?? null}} {{ $bookingData->created_at ?? null}}
Agent Details:-
Agent Name Gender Agent Id Country Code Phone Email
{{ $bookingData->user->name ?? null}} {{ Str::title($bookingData->user->gender) ?? null}} {{ $bookingData->user->agent_id ?? null }} {{ $bookingData->user->country_code ?? null}} {{ $bookingData->user->phone ?? null}} {{ $bookingData->user->email?? null}}
Lead Details:-
Lead Name Email Country Code Phone
{{$bookingData->lead->name ?? null}} {{$bookingData->lead->email?? null}} {{$bookingData->lead->country_code ?? null}} {{$bookingData->lead->phone ?? null}}
Product Details:- @if($bookingData->product)
Product Name Model No Long Description Short Description Price ($) Agent Commission (%)
{{$bookingData->product->name}} {{$bookingData->product->model_no?? null}} {{$bookingData->product->long_description ?? null}} {{$bookingData->product->short_description ?? null}} @isset($bookingData->product->price) {{ $bookingData->product->price }} @endisset @isset($bookingData->product->agent_commission) {{ $bookingData->product->agent_commission }} @endisset
@endif @if($bookingData->status == 0)
{!! csrf_field() !!}
@endif
@endsection @section('scripts') @include('admin.commonScript.script') @endsection