@inject('request', 'Illuminate\Http\Request') @if($request->segment(1) == 'pos' && ($request->segment(2) == 'create' || $request->segment(3) == 'edit' || $request->segment(2) == 'payment')) @php $pos_layout = true; @endphp @else @php $pos_layout = false; @endphp @endif @php $whitelist = ['127.0.0.1', '::1']; @endphp @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(in_array($_SERVER['REMOTE_ADDR'], $whitelist)) @endif
@yield('vue')
@can('view_export_buttons') @endcan @if(isMobile()) @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
@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