@if (!is_null($certificate))
img
{{ __('This certificate is valid') }}
@else
img
{{ __('The Certificate is invalid with the following information') }}
@endif
@if (!is_null($certificate))
{{ __('Course') }}: {{ $certificate->course->title }}
{{ __('Student') }}: {{ $certificate->student->name }}
{{ __('Certificate Number') }}: {{ $certificate->certificate_number }}
{{ __('Asign Date') }}: {{ date('Y-m-d', strtotime($certificate->created_at)) }}
@endif