dbfdg @php $route=\Request::route()->getName(); $segment = Request::segment(3); $id=\Illuminate\Support\Facades\Crypt::decrypt($segment); $project=\App\Models\Project::find($id); $user=\App\Models\User::find($project->created_by); $setting = DB::table('settings')->where('created_by', $user->creatorId())->pluck('value','name')->toArray(); $SITE_RTL = \App\Models\Utility::settingsById($project->created_by); $company_favicon=Utility::companyData($project->created_by,'company_favicon'); $logo=\App\Models\Utility::get_file('uploads/logo'); $color = (!empty($setting['color'])) ? $setting['color'] : 'theme-3'; @endphp {{ Utility::getValByName('title_text') ? Utility::getValByName('title_text') : config('app.name', 'ERPGo') }} - @yield('page-title') @stack('head') @if ($SITE_RTL == 'on') @endif @if (isset($setting['cust_darklayout']) && $setting['cust_darklayout'] == 'on') @else @endif
@yield('content')
@stack('script-page')