@php $hasVoiceFile = false; if(!empty($details['voice_file'])) { $voiceFile = 'voices/'.$details['voice_file']; if (\Storage::disk('public')->has($voiceFile)) { $hasVoiceFile = true; } } @endphp @extends('layouts.master') @section('css') @endsection @section('content')