@php $tabMeta = [ 'search' => ['label' => __('Search'), 'icon' => 'magnifying-glass'], 'log' => ['label' => __('Search log'), 'icon' => 'list-bullet'], ]; $metrics = [ ['label' => __('Searches today'), 'value' => number_format($usage['today']), 'icon' => 'magnifying-glass', 'accent' => '#6366f1', 'sub' => __('of :cap a day', ['cap' => number_format($usage['daily_cap'])])], ['label' => __('Searches this month'), 'value' => number_format($usage['month']), 'icon' => 'calendar-days', 'accent' => '#0ea5e9', 'sub' => __('of :cap a month', ['cap' => number_format($usage['monthly_cap'])])], ['label' => __('Searches left today'), 'value' => number_format($usage['left']), 'icon' => 'fa-solid fa-gauge', 'accent' => $usage['left'] > 0 ? '#10b981' : '#f43f5e', 'sub' => $usage['left'] > 0 ? __('Within the budget') : __('Budget used up')], ['label' => __('Prospects added this month'), 'value' => number_format($addedThisMonth), 'icon' => 'user-plus', 'accent' => '#f59e0b', 'sub' => __('From Lead Finder searches')], ]; $checkMeta = [ 'new' => ['label' => __('New'), 'color' => 'indigo'], 'possible' => ['label' => __('Possible duplicate'), 'color' => 'amber'], 'exact' => ['label' => __('Already in the CRM'), 'color' => 'slate'], ]; $statusColor = ['completed' => 'emerald', 'refused' => 'amber', 'failed' => 'rose']; $showMap = $activeSource->mayShowOnMap(); $keepsDetails = $resultsSourceObject?->mayKeepDetails() ?? true; $selectedCount = count($selected); $tz = config('app.display_timezone', 'Africa/Harare'); @endphp
{{ $m['label'] }}
{{ $m['value'] }}
{{ $m['sub'] }}{{ __('Move the map to the area you want, then search it.') }}
{{ __('Data :credit', ['credit' => $resultsSourceObject?->attribution() === 'Google Maps' ? __('from Google Maps') : '© OpenStreetMap contributors']) }}@if ($fromCache) · {{ __('from today\'s saved results, no new search was sent') }}@endif
{{ $l['name'] }}
{{ $l['address'] }}
@endif{{ __('Every search, who ran it and how many prospects it produced. The results themselves are not kept.') }}
| {{ __('When') }} | {{ __('Who') }} | {{ __('Search') }} | {{ __('Results') }} | {{ __('Prospects added') }} | {{ __('Status') }} |
|---|---|---|---|---|---|
| {{ $entry->searched_at?->timezone($tz)->format('j M Y, H:i') }} | {{ $entry->user?->name ?? __('Not available') }} |
{{ $entry->query }}
@if ($entry->error)
{{ $entry->error }} @endif |
{{ $entry->status === 'completed' ? number_format($entry->results_count) : __('Not applicable') }} | {{ $entry->status === 'completed' ? number_format($entry->prospects_added) : __('Not applicable') }} | |
|
|
|||||
{{ __('Google lets BillPro keep only its place ID. Check these details, ideally with a call or the organisation\'s own website, and correct them. What you save becomes the company\'s own record.') }}