@php if(!isset($_GET['id'])) die(); $withdraw = \App\Withdraw::where('id', $_GET['id'])->first(); $userid = $withdraw->user_id; $user = \App\User::where('id', $userid)->first(); if($withdraw == null) die(); if($user == null) die(); @endphp
@if(Auth::user()->chat_role < 3) Вам недоступна эта информация @else

Операция # {{$withdraw->id}}

Информация:

@php $pay = $withdraw->system == 9 ? "Билайн" : ($withdraw->system == 8 ? "МТС" : ($withdraw->system == 7 ? "Tele2" : ($withdraw->system == 6 ? "Мегафон" : ($withdraw->system == 5 ? "Яндекс.Деньги" : "Qiwi")))); @endphp

Статус:

Платёжная система:

@endif