@extends('layout.app') @section('content')
Print
@if(request()->type !='all') @foreach($poplist as $pop) @if($pop->id == request()->type)

View Customer Billing Information Of: {{$pop->popname}} ( {{ date('M-Y') }} )

@endif @endforeach
@foreach ($list as $r) {{-- {{dd($r)}} --}} clients_status == 'deactive') class="deactive" @endif> @endforeach
ID User name Password Status Expire Bill Cycle Bill Amount OTC Package POP Name Address Contact Created Date
@php(printf("CID%04d",$r->id)) Log {{$r->userid}} {{$r->password}} clients_status == 'expired') class="deactive" @endif> @if($r->client_approval == 'pending') {{ $r->client_approval }} @else @endif {{ date('d-M-Y',strtotime($r->expire_date)) }} {{$r->billing_cycle}} {{$r->package_rate}} {{-- {{$r->otc}} --}} {{$r->package_name}} {{ $r->popname ?? '' }} {{ $r->clients_name ?? ''}}

Flat No: {{$r->flat_no ?? ''}} , Building Name: {{ $r->building_name ?? ''}} ,
Road No: {{ $r->road_no ?? '' }} ,
Block/Sector: {{ $r->block_sector ?? '' }} , Area : {{ $r->area ?? '' }}

{{$r->contact_no ?? ''}} {{ date('d-M-Y',strtotime($r->created_at)) }} @can('mac-customer_edit') @endcan @if($r->client_approval == 'pending') @can('new-customer-approve') @endcan @endif @if($r->clients_status == 'disable') @can('id-enable') Enable @endcan @endif @if($r->clients_status == 'active') @can('id-disable') Disable @endcan @endif @role('Admin')
@method('DELETE') @csrf
@endrole @can('customer-recharge') @if($r->clients_status == 'active') @endif @if($r->clients_status == 'expired') @endif @endcan
{{-- @endif --}} @else {{-- @if(request()->type !='all') --}} @foreach($poplist as $pop)

View Customer Billing Information Of: {{$pop->popname}} ( {{ date('M-Y') }} )


@foreach ($list as $r) {{-- {{dd($r)}} --}} @if($r->pop_id == $pop->id) clients_status == 'deactive') class="deactive" @endif> @endif @endforeach
ID User name Password Status Expire Bill Cycle Bill Amount OTC Package POP Name Address Contact Created Date
@php(printf("CID%04d",$r->id)) Log {{$r->userid}} {{$r->password}} clients_status == 'expired') class="deactive" @endif> @if($r->client_approval == 'pending') {{ $r->client_approval }} @else @endif {{ date('d-M-Y',strtotime($r->expire_date)) }} {{$r->billing_cycle}} {{$r->package_rate}} {{-- {{$r->otc}} --}} {{$r->package_name}} {{ $r->popname ?? '' }} {{ $r->clients_name ?? ''}}

Flat No: {{$r->flat_no ?? ''}} , Building Name: {{ $r->building_name ?? ''}} ,
Road No: {{ $r->road_no ?? '' }} ,
Block/Sector: {{ $r->block_sector ?? '' }} , Area : {{ $r->area ?? '' }}

{{$r->contact_no ?? ''}} {{ date('d-M-Y',strtotime($r->created_at)) }} @can('mac-customer_edit') @endcan @if($r->client_approval == 'pending') @can('new-customer-approve') @endcan @endif @if($r->clients_status == 'disable') @can('id-enable') Enable @endcan @endif @if($r->clients_status == 'active') @can('id-disable') Disable @endcan @endif @role('Admin')
@method('DELETE') @csrf
@endrole @can('customer-recharge') @if($r->clients_status == 'active') @endif @if($r->clients_status == 'expired') @endif @endcan
@endforeach @endif
@if(isset($paginate) && $paginate !== false )) {{ $list->links() }} @endif
@endsection {{-- @section('ajax') @endsection --}} @section('ajax') {{-- --}} @endsection