@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