@extends('theme.master') @section('title', "Course Completion Certificate") @section('content') @include('admin.message')
@if(Module::has('Certificate') && Module::find('Certificate')->isEnabled()) @include('certificate::front.certificate_view') @else
{{ __('Certificate of Completion') }}
@php $mytime = Carbon\Carbon::now(); @endphp

{{ __('This is to certify that') }}  {{ $progress->user['fname'] }} {{ $progress->user['lname'] }} {{ __('successfully completed') }} {{ $course['title'] }} {{ __('online course on') }}
{{ date('jS F Y', strtotime($progress['updated_at'])) }}

{{ ($course->user['fname']) }} {{ ($course->user['lname']) }}
{{ ($course->user['fname']) }} {{ ($course->user['lname']) }}, {{ __('Instructor') }}
&
{{ __('Certificate no.')}} :{{ $serial_no }}
{{ __('Certificate url.')}} :{{ url()->full() }}
@endif

{{ __('Certificate Recipient') }}:

@if($progress->user->user_img != null || $progress->user->user_img !='') {{ __('user')}} @else {{ __('user')}} @endif
{{ $progress->user->fname }}

{{ __('About the Course') }}:

@if($course['preview_image'] !== NULL && $course['preview_image'] !== '') {{ __('course')}} @else {{ __('course')}} @endif
{{ __('By')}} {{ optional($course->user)['fname'] }}