how could i transform the file to pdf
i already tried change extension name but the image will disappear and excel format will shift
so is there any good idea can transform the file and at the same time could save the image and format?
here is my export code my maatwebsite package does not have the create method.
public function export(Order $order)
{
return Excel::download(new OrderExport($order), $order->no.'.xlsx');
}
and the excel file will look like excel file
if i transform it will be likeenter image description here