Skip to content

Exporting as PDF does't save with correct .pdf extension #220

@jimiero

Description

@jimiero

Hello,

When i try to export as pdf it returns the file with .dompdf extension instead of .pdf

This is the code i'm using

ExcelExport::make()->withWriterType(\Maatwebsite\Excel\Excel::DOMPDF)->label('PDF')->fromTable()->withFilename(class_basename(get_class(($this)))),

@pxlrbt any idea how I can make it to save as .pdf ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions