@extends("layouts.app_new") @section("title") Course Certificate @endsection @section("content")
@if(Auth::check())

{{Auth::user()->title.' '.Auth::user()->name.' '.Auth::user()->l_name}}

@else

{{$user->title.' '.$user->name.' '.$user->l_name}}

@endif

{{$Course->name}}

@php $creditHours = explode(":",$Course->credit_hours); if($creditHours[0] != 00){ echo ((int)$creditHours[0])." Hours "; } if($creditHours[1] != 00){ echo ((int)$creditHours[1])." Minutes"; } @endphp

{{ \Carbon\Carbon::parse($CourseEnroll->certificate_issue_date)->format('d.m.Y')}}


@endsection @section("script") @endsection