feat(pdf): preview in Filament modal (iframe) instead of new tab
All "Vizualizare PDF" actions now open a wide (7xl) Filament modal containing an iframe pointing at the inline PDF endpoint, with a top-right "Descarcă" and "Deschide în tab nou" fallback. - WorkOrder edit action + WO table row action - InjectorProtocol edit action + protocols table row action - Dashboard Docs tab preview button (Alpine.js overlay since it's a plain Blade view, not a Filament action) The underlying /pdf routes stay unchanged (Content-Disposition: inline, ?download=1 for attachment) — the iframe just loads the same URL. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -670,6 +670,7 @@
|
||||
"Deschide fișă nouă": "Open new order",
|
||||
"Deschide panoul pe telefon și acceptă notificările întâi.": "Open the panel on the phone and accept notifications first.",
|
||||
"Deschide tenantul": "Deschide tenantul",
|
||||
"Deschide în tab nou": "Open in new tab",
|
||||
"Deschide →": "Open →",
|
||||
"Deschidere ÎNAINTE": "Opening BEFORE",
|
||||
"Deschis": "Opened",
|
||||
@@ -1623,6 +1624,7 @@
|
||||
"Progres": "Progress",
|
||||
"Progres etapă": "Stage progress",
|
||||
"Proprietar": "Owner",
|
||||
"Protocol": "Protocol",
|
||||
"Protocol nou": "New protocol",
|
||||
"Provider implicit": "Default provider",
|
||||
"Provider:": "Provider:",
|
||||
|
||||
Reference in New Issue
Block a user