@extends('layouts.app') @section('title', ($q ? $q.' - ' : '').strip_tags(Eventy::filter('search.title', __('Search')))) @section('body_class', 'body-search') @section('sidebar') @include('partials/sidebar_menu_toggle') @endsection @section('content')
@if ($mode == App\Conversation::SEARCH_MODE_CONV) @include('conversations/conversations_table', ['mailbox' => $search_mailbox, 'params' => ['target_blank' => true, 'show_mailbox' => (count(Auth::user()->mailboxesCanView(true)) > 1)]]) @else @include('customers/partials/customers_table') @endif
@endsection @include('partials/include_datepicker') @section('javascript') @parent searchInit(); @endsection