@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
@if ($certificate = session('certificate', false))
@if($certificate->expires_at->diffInSeconds(now(), false) <= 0)
the certificate is valid:
@else
the certificate is present but expired
@endif
@elseif(session('company', false))
We could Not find a certificate with your search
@endif