@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'=>$user->id,'table_field'=>'pic_path']) @endcomponent
@include('layouts.leftside-menubar')
@php $passcode = "/".($user->role=='student' ? 1:0)."/".($user->role=='teacher' ? 1: ($user->role=='student' ? 0:2)); @endphp {{trans(ucfirst($user->role))}} / @lang('Profile')

    {{Auth::user()->school->name}}

{{Auth::user()->school->address}}

@if(foqas_setting('marksheet_established') == 1)

@lang('Established') : {{school('established')}}

@endif @php $logo = getLogo(); if (serverIsLocal()) $imageSize = array(); else $imageSize = getimagesize($logo); @endphp {{Auth::user()->school->name}}

@lang('Student Profile')

@if(!empty($user->pic_path)) Profile Picture
@lang('Remove') ×
@else @if(\Auth::user()->role == 'admin' || \Auth::user()->id == $user->id)
@endif @endif {{--User profile picture--}}

{{$user->name}}

{{--@if ($user->role == 'student')

@lang('Sibling')

@endif--}} @if($user->role == 'student') @foreach($user->studentFile as $studentFile) @endforeach @endif @if($user->role == 'teacher') @endif
@push('script') @endpush @if($user->role == 'student') @foreach($user->studentFile as $studentFile) @endforeach @endif @if($user->role == 'teacher') @endif @endsection @push('styles') @endpush @push('script') @isset($user->studentInfo['coursegroup_id']) @endisset @endpush