@extends('theme.master') @section('title', "Course Completion Certificate") @section('content') @include('admin.message')
{{ __('frontstaticword.CertificateofCompletion') }}
@php $mytime = Carbon\Carbon::now(); @endphp

{{ __('frontstaticword.Thisistocertifythat') }} {{ Auth::User()['fname'] }} {{ Auth::User()['lname'] }} {{ __('frontstaticword.successfullycompleted') }} {{ $course['title'] }} {{ __('frontstaticword.onlinecourseon') }}
@if(Auth::User()->role == "admin") {{ date('jS F Y', strtotime($mytime)) }} @else {{ date('jS F Y', strtotime($order['created_at'])) }} @endif

{{ ($course->user['fname']) }} {{ ($course->user['lname']) }}
{{ ($course->user['fname']) }} {{ ($course->user['lname']) }}, {{ __('frontstaticword.Instructor') }}
&

{{ __('frontstaticword.CertificateRecipient') }}:

@if(Auth::User()->user_img != null || Auth::User()->user_img !='') user @else user @endif
{{ Auth::User()->fname }}

{{ __('frontstaticword.AbouttheCourse') }}:

@if($course['preview_image'] !== NULL && $course['preview_image'] !== '') course @else course @endif