@if(Auth::user()->role == 'master')
@if(str_replace(url('/'),'',url()->previous())=='/schoolpayments')
@lang('Payment Received') / Agent
@else
@lang('Agents') /
@endif
@endif
@lang('Profile')
@if(!empty($agent->pic_path))
@if(\Auth::user()->id == $agent->id)
@else
@endif
@endif
@if(\Auth::user()->id == $agent->id)
Remove
×
@else
@endif
@else
@if(\Auth::user()->id == $agent->id)
@endif
@endif
{{$agent->name}}
- {{$agent->email}}
-
@lang('Agent No.')
{{$agent->student_code}} -
@lang('Phone No.')
{{$agent->phone_number}} -
@lang('Share(%)')
{{$agent->agent->shareOf}}%