feat: replace Excel export with PDF export for transmittals
- Add new TransmittalPDFExportJob to generate PDFs using dompdf - Remove old Excel export implementation (TransmittalsExport) - Update ExportCompleteJob to use new PDF job instead of Excel - Add TestQueueJob for queue testing with new route - Update notification label from "Download File" to "Download PDF File" - Fix auth() helper usage by importing Auth facade consistently
This commit is contained in:
@@ -42,7 +42,7 @@ class ExportCompleteJob implements ShouldQueue
|
||||
->title('Export Completed')
|
||||
->actions([
|
||||
NotificationAction::make('download_transmittal-export.pdf')
|
||||
->label('Download File')
|
||||
->label('Download PDF File')
|
||||
->url(Storage::url('transmittal-export.pdf'), true)
|
||||
->markAsRead(),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user