@extends('layout.master') @section('leaders') active @endsection @section('content')

Franchise Leaders @if (url()->current() == url('free-brands-logo-display')) Remove all free logo @endif

{{-- @include('include.tabs') --}}
== to ==
franchisor Data
@if (count($data) > 0) {{-- --}} @foreach ($data as $franData) @php @endphp {{-- --}} @endforeach
Id Profile Email Company NameCreated DateFranchisor Type (Top 100/200) Franchisor Year Add Franchisor List Remove Franchisor List
{{ $franData->profile_str }} {{ $franData->email }} {{ $franData->franchisor->company_name ?? '' }}{{ date('d-M-Y', strtotime($franData->created_at)) }} @foreach ($franData->topFranchiseBrands as $leader) @if ($leader->franchisor_type == 'top-100') Top 100 @else Top 200 @endif
@endforeach
@foreach ($franData->topFranchiseBrands as $leader) {{ $leader->franchisor_year }}
@endforeach
{{-- --}} {{-- --}}
{{ $data->appends(['startDate' => request()->startDate, 'endDate' => request()->endDate, 'search' => request()->search])->links('pagination::bootstrap-4') }}
@endif
@endsection