@extends('layouts.admin.master') @section('title') {{ __('Applcation') }} {{ $title }} @endsection @push('css') @endpush @section('bookmark-data') @can('application-cheng-status') @endcan @endsection @section('content') @component('components.breadcrumb') @slot('breadcrumb_title')

{{ __('Applcation') }}

@endslot {{-- --}} @endcomponent

Student Data.

Name : {{ $application->student->name }}
{{ __('Email') }} : {{ $application->student->email }}
phone : {{ $application->student->phone }}
birthday : {{ $application->student->birthday }}
{{ __('Gender') }}: {{ $application->student->genders }}
{{__('Referred By')}} : {{ $application->student->referred_by }}
{{__('Nationally')}} : {{ $application->nationalty }}
{{__('Status')}} : {{ $application->status }}
@can('assign-employees-to-applications')
@csrf
@endcan @can('application-show-action')

Action

@foreach ($application->actions as $action) @endforeach
{{__('Employee Name')}} {{__('Change')}} {{__('Action')}}
{{ $action->employee->name }} @if ($action->changes) @php $changes = json_decode($action->changes, true); @endphp @foreach ($changes as $key => $value)
  • {{ $key }}: {{ $value }}
  • @endforeach @endif
    {{ $action->action }}
    @endcan @can('application-show-document')
    {{--
    --}}

    {{ __('All File') }}

    @can('application-show-document') @if($application->status == 'offer_letter' || $application->status == 'rejected' || $application->status == 'payment') @endif
    @endcan {{-- @include('dashbord.include.documents', [ 'button_name' => 'Student Document', 'model_id' => 'student_document_id', 'type' => 'radio', 'name' => 'student_document_id', ]) --}}
    {{--

    All Files

    --}} {{--
    Recently opened files
    --}}
      @foreach ($application->documents as $document)
    • @if ($document->studentDocument->mime_type == 'image/png') @else @endif
      {{ $document->studentDocument->name }}

      {{ __('Size') }} : {{ $document->studentDocument->size }}

    • @endforeach
    @endcan
    @push('scripts') @endpush @endsection