@inject('request', 'Illuminate\Http\Request') {{ Session::get('business.name') }} ☰ Toggle navigation @if (Module::has('Superadmin')) @includeIf('superadmin::layouts.partials.active_subscription') @endif @php $business = App\Business::first(); @endphp @if ($business->sms_dashbord_url != '') {{-- If the customer has taken the SMS service --}} @lang('SMS') @else {{-- If the customer hasn't taken the SMS service --}} @lang('SMS') @endif @if (Module::has('Essentials')) @includeIf('essentials::layouts.partials.header_part') @endif @if (config('app.env') != 'demo') @lang('lang_v1.calendar') @endif @if (Module::has('Essentials')) @lang('essentials::lang.add_to_do') @endif @if (auth()->user()->hasRole('Admin#' . auth()->user()->business_id)) @lang('lang_v1.application_tour') @endif @if ($request->segment(1) == 'pos') @can('view_cash_register') @endcan @can('close_cash_register') @endcan @endif @if (in_array('pos_sale', $enabled_modules)) @can('sell.create') @lang('sale.pos_sale') @endcan @endif @if (Module::has('Repair')) @includeIf('repair::layouts.partials.header') @endif @can('profit_loss_report.view') @endcan {{ @format_date('now') }} @include('layouts.partials.header-notifications') @php $profile_photo = auth()->user()->media; @endphp @if (!empty($profile_photo)) @endif {{ Auth::User()->first_name }} {{ Auth::User()->last_name }} @if (!empty(Session::get('business.logo'))) @endif {{ Auth::User()->first_name }} {{ Auth::User()->last_name }} @lang('lang_v1.profile') @lang('lang_v1.sign_out')
{{ Auth::User()->first_name }} {{ Auth::User()->last_name }}