{{-- On-screen preview. The document itself is the PDF template rendered to HTML (passed in as $document) and embedded in an isolated iframe so its print CSS cannot leak into the app shell, what you see here is exactly what the downloaded PDF contains. --}}
@php // Joined toolbar segments: one compact row, scrolls sideways on phones. $seg = 'inline-flex h-8 shrink-0 items-center gap-1.5 whitespace-nowrap px-3 text-xs font-medium transition'; @endphp
{{ __('Quotes') }} / {{ $quote->quote_number }}
@if ($canManage ?? false) {{ __('Edit') }} @endif @if (($canConvert ?? false) && ! in_array($quote->status, ['REJECTED', 'EXPIRED'], true) && ! $quote->converted_to_invoice_id) {{ __('Convert') }} @endif @if ($canManage ?? false) {{ __('Send') }} @endif @if ($canDelete ?? false) {{ __('Delete') }} @endif
{{ __('Download PDF') }}