@if(isset($getSoftCopyList))
@foreach($getSoftCopyList as $softcopy)
@php
$path = public_path('uploads/salespresentersoftcopy/'.$softcopy->salespresenterssoftcopy->image);
$type = pathinfo($path, PATHINFO_EXTENSION);
$data = file_get_contents($path);
$softcopy_image = 'data:image/' . $type . ';base64,' . base64_encode($data);
@endphp
@endforeach
@endif
}})