@inject('request', 'Illuminate\Http\Request') @if($request->segment(1) == 'pos' && ($request->segment(2) == 'create' || $request->segment(3) == 'edit')) @php $pos_layout = true; @endphp @else @php $pos_layout = false; @endphp @endif @yield('title') - {{ Session::get('business.name') }} @include('layouts.partials.css') @yield('css')
@if(!$pos_layout) @include('layouts.partials.header') @include('layouts.partials.sidebar') @else @include('layouts.partials.header-pos') @endif
@yield('vue')
@if (session('status')) @endif @yield('content')
@if(config('constants.iraqi_selling_price_adjustment')) @endif
@include('home.todays_profit_modal') @if(!$pos_layout) @include('layouts.partials.footer') @else @include('layouts.partials.footer_pos') @endif
@if(!empty($__additional_html)) {!! $__additional_html !!} @endif @include('layouts.partials.javascripts') @if(!empty($__additional_views) && is_array($__additional_views)) @foreach($__additional_views as $additional_view) @includeIf($additional_view) @endforeach @endif