@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
@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
@include('layouts.partials.javascripts')