{{__('messages.Status History')}}
# | {{--{{__('messages.Code')}} | --}}{{__('messages.Name')}} | {{__('messages.mobile')}} | {{__('messages.phone')}} | {{__('messages.email')}} | {{__('messages.education')}} | {{__('messages.last_follow_up_by')}} | {{__('messages.type')}} | {{__('messages.details')}} | {{__('messages.delivery')}} | {{__('messages.registered_by')}} | {{__('messages.registered_at')}} | {{__('messages.registeration_type')}} | {{__('messages.Confirmation status')}} | {{__('messages.confirmed_by')}} | {{__('messages.confirmed_at')}} | {{--{{__('messages.Updated By')}} | --}}|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$loop->iteration}} | {{--{{$course_customer->customer->name}} @if ($course_customer->order_detail->order->payment_status!="completed") P @endif {{-- Has Payment --}} @if ($course_customer->get_coroprate()) - {{$course_customer->get_coroprate()->name}} @endif | {{$course_customer->customer->mobile}} | {{$course_customer->customer->phone}} | {{$course_customer->customer->email}} | {{$course_customer->customer->education}} | @if ($course_customer->get_coroprate()) {{ ($course_customer->get_coroprate()->last_follow_up_by)?$course_customer->get_coroprate()->last_follow_up_by_user->name :""}} @else {{ ($course_customer->order_detail->customer->last_follow_up_by)?$course_customer->order_detail->customer->last_follow_up_by_user->name :""}} @endif | @php $ttt =$course_customer->order_detail->type; @endphp @if ($ttt == "online" || $ttt == "repeat online") {{$ttt}} @elseif ($ttt == "offline" || $ttt == "repeat offline" ) {{$ttt}} @else not assigned @endif {{-- "offline" ,"online","repeat offline" ,"repeat online" --}} | @switch($course_customer->order_detail->item_type) @case("App\Models\Product") {{$course_customer->order_detail->item->name}} @break @case("App\Models\ProductOffer") {{$course_customer->order_detail->item->offer->name}} @break @case("App\Models\PackageProduct") {{$course_customer->order_detail->item->package->name}} @break @case("App\Models\ClubMembershipProduct") {{$course_customer->order_detail->item->club_membership->name}} @break @case("App\Models\InstallmentPackageProduct" ) {{$course_customer->order_detail->item->installment_package->name}} @break @default @endswitch @if ($course_customer->order_detail->opend_to_date) {{__('messages.to')}} : {{$course_customer->order_detail->opend_to_date}} @endif {{-- - {{$order_detail->price_with_tax}} --}} | {{$course_customer->order_detail->price_with_tax}} | {{($course_customer? ($course_customer->registered_by)?$course_customer->registered_by_user->name : "-" :"-")}} | {{($course_customer? $course_customer->registered_at : "-" )}} | {{-- 'registered', 'waiting', 'repeat' --}} @if ($course_customer) @if ($course_customer->registeration_type =="registered") Registered @elseif ($course_customer->registeration_type =="waiting") Waiting @elseif ($course_customer->registeration_type =="repeat") Repeat @endif @endif | {{-- "Not Yet" ,"Confirmed","Not Sure" ,"Rejected" --}} @if ($course_customer) @if ($course_customer->confirmation =="Not Yet") {{$course_customer->confirmation}} @elseif ($course_customer->confirmation =="Confirmed") {{$course_customer->confirmation}} @elseif ($course_customer->confirmation =="Not Sure") {{$course_customer->confirmation}} @elseif ($course_customer->confirmation =="Rejected") {{$course_customer->confirmation}} @else {{$course_customer->confirmation}} @endif @endif | {{($course_customer? ($course_customer->confirmed_by)?$course_customer->confirmed_by_user->name : "-" :"-")}} | {{($course_customer? $course_customer->confirmed_at : "-" )}} | Empty Result | @endforelse
{{$course_customer->customer->mobile}}
@if ($course_customer->customer->phone && $course_customer->customer->mobile != $course_customer->customer->phone){{$course_customer->customer->phone}}
@endif{{$course_customer->customer->email}}