@extends('layouts.nav') @section('title') {{$Type}} Listing @endsection @section('content')

Affiliates Listing

{{$Type}} Listing
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@csrf

{{$Type}} Listing

Date

@php use Carbon\Carbon; $todayLongDate = Carbon::now()->format(' F j, Y'); @endphp

{{$todayLongDate}}

Account

{{$Type}}s

@php if($Type == "Tenant") { @endphp @php } else { @endphp @php } @endphp @foreach ($Affs as $Aff) @php if($Type == "Tenant") { @endphp @php } else { @endphp @php } @endphp @endforeach
Code Name Contact Person Address Floor Space RoomsCode Name Contact Person Address Tel Email
{{$Aff->TenantCode}} {{$Aff->Name}} {{$Aff->ContactPerson}} {{$Aff->Address}} {{$Aff->Floor}} {{$Aff->Space}} {{$Aff->Rooms}}{{$Aff->AccCodes}} {{$Aff->Name}} {{$Aff->ContactPerson}} {{$Aff->Address}} {{$Aff->Contact1}} {{$Aff->Email}}
@endsection