@include('laravel-crm::layouts.partials.meta')
{{ config('app.name') }}{{ ! empty($title ?? null) ? ' - ' . $title : '' }}
{{ \Illuminate\Support\Facades\Vite::useBuildDirectory('vendor/laravel-crm')->withEntryPoints(['resources/css/app.css', 'resources/js/app.js']) }}
{{-- Flatpickr --}}
@livewireStyles
@include('laravel-crm::layouts.partials.favicon')
Version {{ config('laravel-crm.version') }}
@php
$currentVersion = \VentureDrake\LaravelCrm\Models\Setting::where('name','version')->first()?->value;
$latestVersion = \VentureDrake\LaravelCrm\Models\Setting::where('name','version_latest')->first()?->value;
@endphp
@if($currentVersion && $latestVersion && $currentVersion < $latestVersion)
@else
@endif
{{----}}
{{--
--}}
@if (class_exists('\Laravel\Jetstream\Jetstream') && Laravel\Jetstream\Jetstream::managesProfilePhotos())
@else
@if(Route::has('profile.show'))
@else
@endif
{{-- @if (class_exists('\Laravel\Jetstream\Jetstream') && Laravel\Jetstream\Jetstream::hasApiFeatures())
@endif--}}
@endif
{{-- Activates the menu item when a route matches the `link` property --}}
@can('view crm tasks')
@endcan
@haschatenabled
@can('view crm chat')
@endcan
@endhaschatenabled
@hasemailmarketingenabled
@can('view crm email-campaigns')
@endcan
@endhasemailmarketingenabled
@hassmsmarketingenabled
@can('view crm sms-campaigns')
@endcan
@endhassmsmarketingenabled
@canany(['view crm activities', 'view crm tasks', 'view crm notes'])
@endcanany
@hasleadsenabled
@can('view crm leads')
@endcan
@endhasleadsenabled
@hasdealsenabled
@can('view crm deals')
@endcan
@endhasdealsenabled
@hasquotesenabled
@can('view crm quotes')
@endcan
@endhasquotesenabled
@hasordersenabled
@can('view crm orders')
@endcan
@endhasordersenabled
@hasinvoicesenabled
@can('view crm invoices')
@endcan
@endhasinvoicesenabled
@hasdeliveriesenabled
@can('view crm deliveries')
@endcan
@endhasdeliveriesenabled
@haspurchaseordersenabled
@can('view crm purchase orders')
@endcan
@endhaspurchaseordersenabled
@can('view crm people')
@endcan
@can('view crm organizations')
@endcan
@can('view crm users')
@endcan
@hasteamsenabled
@can('view crm teams')
@endcan
@endhasteamsenabled
@hasfeaturesenabled
@can('view crm features')
@endcan
@endhasfeaturesenabled
@hasmonitoringenabled
@can('view crm monitors')
@endcan
@endhasmonitoringenabled
@can('view crm products')
@endcan
@canany(['view crm settings', 'view crm roles', 'view crm pipelines', 'view crm product categories', 'view crm tax rates', 'view crm labels', 'view crm lead sources', 'view crm fields', 'view crm integrations', 'manage crm chat widgets'])
@can('view crm settings')
@endcan
@can('view crm roles')
@endcan
@can('view crm pipelines')
@endcan
@can('view crm product categories')
@endcan
@can('view crm tax rates')
@endcan
@can('view crm labels')
@endcan
@can('view crm lead sources')
@endcan
@can('view crm fields')
@endcan
@can('view crm integrations')
@endcan
@haschatenabled
@can('manage crm chat widgets')
@endcan
@endhaschatenabled
@endcanany
@can('view crm updates')
@endcan
@if (isset($header))
{{ $header }}
@endif
{{ $slot ?? null }}
@stack('modals')
@livewireScripts
@stack('livewire-js')