@extends('layouts.medical_report_pdf') @section('title') {{__('Report')}}-#{{$invoice['barcode']}}-{{date('Y-m-d')}} @endsection @section('content')
{!! $upload['name_html'] !!}
@if(setting('subscription')['upload_google_drive']) @php $fileData=getGoogleDriveFileFile($upload['drive_id']); $mimeType = $fileData['contentType']; // e.g., 'image/png', 'application/pdf', etc. $base64Image = 'data:' . $mimeType . ';base64,' . base64_encode($fileData['content']); @endphp @else @endif
@endsection