@extends('template.master') @section('page_styles') {{--CUSTOM STYLES HERE--}} @stop @section('content') @if (!is_null($citation)) @php $data_count = 0; $business_count_ok = 0; $business_count_errors = 0; $phone_count_ok = 0; $phone_count_errors = 0; $zip_count_ok = 0; $zip_count_errors = 0; @endphp @foreach ($citation as $data) @if ($data[0] !== 'Domain') @if ($data[9] === 'yes') @php $business_count_errors++; @endphp @else @php $business_count_ok++; @endphp @endif @if ($data[14] === 'yes') @php $phone_count_errors++; @endphp @else @php $phone_count_ok++; @endphp @endif @if ($data[12] === 'yes') @php $zip_count_errors++; @endphp @else @php $zip_count_ok++; @endphp @endif @php $data_count++; @endphp @endif @endforeach @php $business_percentage_ok = ($business_count_ok/$data_count)*100; $phone_percentage_ok = ($phone_count_ok/$data_count)*100; $zip_percentage_ok = ($zip_count_ok/$data_count)*100; @endphp @else @include('no_data', [ 'nd_title' => 'No Citation Report Available', 'nd_subtitle' => 'Our team will soon provide a citation report for you.' ]) @endif
@if (!is_null($citation))


Key Citations Summary


Business Name


Phone Number


Zip/Postal Code






Top Citations

@foreach ($citation as $data) @if ($data[0] !== 'Domain') @endif @endforeach
Site/Directory Company Name Address Zip/Postcode Phone Number Status
{{$data[0]}} {{$data[8]}} {{$data[10]}} {{$data[11]}} {{$data[13]}} {{$data[1]}}

Active Citations

@foreach ($citation as $data) @if ($data[0] !== 'Domain' && strtolower($data[1]) === 'active') @endif @endforeach
Site/Directory Date Identified Citation/Authority Citation Value Site Type Free/Paid Status
{{$data[0]}} {{$data[2]}} {{$data[3]}}/100 {{$data[4]}} {{$data[5]}} {{$data[6]}} {{$data[1]}}
@endif
@stop @section('page_modals') @stop @section('page_scripts') {{-- --}} @include('call_rails.calljs') @if (!is_null($citation)) @endif @stop