@extends('essential.main_page', [ 'breadcum' => 'Customer', 'route' => 'customer', ]) @section('content')

{{ $customer->subscriber_id }}

{{ $customer->mobile_no ?? '-' }}

{{ $customer->customer_name }}

{{ $customer->watsapp_no ?? '-' }}

{{ $customer->customer_type->label() ?? '' }}

{{ $customer->email ?? '-' }}

Door No : {{ $customer->door_no ?? '-' }}

Plot No : {{ $customer->plot_no ?? '-' }}

Area : {{ $customer->area ?? '-' }}

State : {{ $customer->state->state_name ?? '-' }}

District : {{ $customer->district->district_name ?? '-' }}

Pincode : {{ $customer->pin_code ?? '-' }}

{{ $book->count() ?? '-'}}

{{ isset($date->subscription) ? $date->subscription->subscription_name : '-' }}

{{ isset($date->created_at) ? $date->created_at->format('d M Y') : '-' }}

@if ($book->isEmpty()) @else @foreach ($book as $key => $item) @if ($item->subscription->plan == 1) @elseif($item->subscription->plan == 2) @elseif($item->subscription->plan == 3) @elseif($item->subscription->plan == 4) @elseif($item->subscription->plan == 5) @elseif($item->subscription->plan == 6) @else @endif @endforeach @endif
No such record found on database
{{ $key + 1 }}
@if ($item->payment_type == 1)

Cash

@elseif($item->payment_type == 2)

Gpay

@elseif($item->payment_type == 3)

Cheque

@else

-

@endif
@endsection @push('scripts') @endpush