@extends('administrator.layout') @section('admintitle', 'Customer') @section('content')
@if ($errors->any()) @endif
@if (session()->has('success')) @endif @if (session()->has('error')) @endif
{{ __('text.customers') }} {{ __('text.table') }}
@if(isset($searchdata)) @forelse($searchdata as $d) @empty @endforelse @endif @if(isset($data)) @forelse($data as $d) @empty @endforelse @endif @if(isset($searchdata)) @endif @if(isset($data)) @endif
{{ __('text.firstname') }} {{ __('text.lastname') }} {{ __('text.email') }} {{ __('text.phone') }} {{ __('text.referralcode') }} {{ __('text.status') }} {{ __('text.action') }}
{{ $d->firstname }} {{ $d->lastname }} {{ $d->email }} {{ $d->telephone }} {{ $d->referralcode }} @if($d->status==1) {{ __('text.active') }} @else {{ __('text.deactive') }} @endif
{{ __('text.no_records_found') }}
{{ $d->firstname }} {{ $d->lastname }} {{ $d->email }} {{ $d->telephone }} {{ $d->referralcode }} @if($d->status==1) {{ __('text.active') }} @else {{ __('text.deactive') }} @endif
{{ __('text.no_records_found') }}
{{ $searchdata->appends(['name' => $name ?? '', 'rank' => $rank ?? '', 'referralcode' => $referralcode ?? ''])->links() }}
{{ $data->links() }}
@endsection