@extends('layouts.app') @section('title', __('Students Info')) @push('styles') @endpush @section('content') @component('components.cropper.editelement',['width'=>'270','height'=>'270','type'=>'squre','table_name'=>'users','table_id'=>$agent->id,'table_field'=>'pic_path']) @endcomponent
@if(Auth::user()->role == 'master') @include('layouts.master-left-menu') @elseif(Auth::user()->role == 'agent') @include('layouts.agent-left-menu') @endif
@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)) Profile Picture @if(\Auth::user()->id == $agent->id)
Remove ×
@else
@endif @else @if(\Auth::user()->id == $agent->id)
@else Profile Picture @endif @endif

{{$agent->name}}

  • {{$agent->email}}
  • @lang('Agent No.') {{$agent->student_code}}
  • @lang('Phone No.') {{$agent->phone_number}}
  • @lang('Share(%)') {{$agent->agent->shareOf}}%
@component('components.modal.element',['title'=>'Picture of NID','url'=>$agent->agent->nid_url]) @endcomponent @endsection @push('styles') @endpush