{{-- * LaraClassifier - Classified Ads Web Application * Copyright (c) BeDigit. All Rights Reserved * * Website: https://laraclassifier.com * * LICENSE * ------- * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the inclusion * of the above copyright notice. If you Purchased from CodeCanyon, * Please read the full License from here - http://codecanyon.net/licenses/standard --}} @extends('layouts.master') @php $apiResult ??= []; $savedSearches = (array)data_get($apiResult, 'data'); $totalSavedSearches = (int)data_get($apiResult, 'meta.total'); @endphp @section('content') @includeFirst([config('larapen.core.customizedViewPath') . 'common.spacer', 'common.spacer'])
@if (session()->has('flash_notification'))
@include('flash::message')
@endif
@includeFirst([config('larapen.core.customizedViewPath') . 'account.inc.sidebar', 'account.inc.sidebar'])

{{ t('Saved searches') }}

@if (!empty($savedSearches) && $totalSavedSearches > 0)
@foreach ($savedSearches as $search) @php $isSelected = (request()->get('q') == data_get($search, 'keyword')); @endphp @endforeach
@else
{{ $apiMessage ?? t('You have no saved search') }}
@endif
@include('vendor.pagination.api.bootstrap-4')
@endsection @section('after_scripts') @endsection