@extends('backend.layouts.app') @section('title', @$data['title']) @section('content') {!! breadcrumb([ 'title' => @$data['title'], route('admin.dashboard') => _trans('common.Dashboard'), '#' => @$data['title'], ]) !!}
@php $company_configs = DB::table('company_configs') ->where('key', 'google') ->first(); $company_configs = $company_configs ? $company_configs->value : ''; @endphp @if ($company_configs != '')
@if ($data['timeline'] != '' && $data['timeline']->count() > 0)

{{ $data['input']['date'] }}


@if (isset($_GET['location_pattern']) && isset($_GET['user']) && isset($_GET['date'])) @foreach ($data['timeline'] as $key => $timeline)

{{ @$timeline->address }}

{{ @$timeline->created_at->format('H:i:s') }}

{{ @$timeline->created_at->diffForHumans() }}

@endforeach @endif
@else

No Record Found !

@endif
@if (hasPermission('role_read'))
@endif
@else

{{ _trans('error.Please set google map API Key') }}

{{ _trans('common.Update Configuration') }}

Create a Google Cloud Platform (GCP) Project:

  1. Go to the Google Cloud Console.
  2. If you're not already signed in, sign in with your Google account.
  3. Click the project drop-down at the top left of the page and then click "New Project".
  4. Enter a name for your project, select an organization (if applicable), and choose a billing account. Click "Create" to create the project.

Enable the Google Maps JavaScript API:

  1. In the GCP Console, navigate to the "APIs & Services" > "Library" section.
  2. Search for "Google Maps JavaScript API" and click on it.
  3. Click the "Enable" button.

Create an API Key:

  1. In the "APIs & Services" > "Credentials" section, click on "Create Credentials".
  2. Select "API key" from the drop-down menu.
  3. Your API key will be displayed on the next screen. Make sure to restrict the usage of your API key for security purposes (optional but recommended).
@endif
@endsection @section('script') @include('backend.partials.datatable') @if (@$_GET['location_pattern'] == 1) @elseif (@$_GET['location_pattern'] == 2) @elseif (@$_GET['location_pattern'] == 3) @else @endif @endsection