{{-- Processor Drawing Documents tab — included in jobs/show.blade.php Accessible by: processor (upload/manage), factory_employee (view/download only) Also visible to office_admin and project_manager in the full tab view. --}} @php $authUser = auth()->user(); $authRole = $authUser->role?->name ?? ''; $canUpload = !in_array($authRole, ['factory_employee']); $isFactoryEmpl = $authRole === 'factory_employee'; @endphp
@if($isFactoryEmpl) Drawing documents provided by the processor team. @else Upload and manage processor drawing documents for this job. @endif
No processor drawing documents uploaded yet.
@if($canUpload)Use the upload form above to add the first drawing.
@endif{{ $doc->name }}
{{ $doc->formatted_size }} • {{ $doc->created_at->format('d M Y, g:i a') }} @if($doc->uploader) • {{ $doc->uploader->name }} @endif