Question: Pos Sale - Email Format Is Wrong

Pos Sale - Email Format Is Wrong

Hi, I created a POS sale and its open in admin panel from Action - Sale detail modal in a PDF format. after that click Email on sales order. But it received to my email as attached , Its for

AE

Asanka Ekanayake

Asked
Hi, I created a POS sale and its open in admin panel from Action - Sale detail modal in a PDF format. after that click Email on sales order. But it received to my email as attached , Its format is completely wrong,

Kindly check this issue. It should be same as in sales modal PDF format,
  • EG

    Enyinnaya Gift

    Answered
    Go to settings and change the PDF library to mPDF, and see if that will help.
  • AE

    Asanka Ekanayake

    Answered
    Thank you, Kindly advise the deference of these two. PDF library and mPDF ?

    Also how to change the details in customer poll ( view bill screen ) pls find the attached,
  • EG

    Enyinnaya Gift

    Answered
    DomPDF and mPDF are both open-source libraries for generating mPDF, while DomPDF is mostly a CSS 2.1 compliant HTML layout rendering engine, mPDF generate PDF files from UTF-8 encoded HTML.

    For **view bill screen** Please modify the `themes/default/admin/views/promotions.php` as you like.
  • AE

    Asanka Ekanayake

    Answered
    Thank you all
  • AE

    Asanka Ekanayake

    Answered
    Hi, Regarding sales Email attachment issue ( Pls find the attached incorrect format) , As Gift advise we change PDF library from DomPDF to mPDF and issue was resolved. But it was working properly with DomPDF also within last few days. Is there any reason to get incorrect format with DomPDF suddenly,
  • MS

    Mian Saleem

    Answered
    There should be any sudden changes unless server config changed or file modified. This doesn't look server config issue. Can you download the file from list sales and see if that is same or not?
  • Login to Reply