nauman555
nauman555
> Here is my way to obtain user, I did't remember why, but my parseToken() fails, so I use other option: > > ``` > $user = JWTAuth::setToken($request->token)->toUser(); > ```...
> This function created PDF and save to a file > > ```js > html2pdf.makePDF(canvas, pageSize, opt); > ``` > > How can I to get PDF as File, for...
@chinniah-a can you share the solution to send generated PDF as an email attachment ..
@chinniah-a sorry i am new , the pdf.toDataUrl() gives me response like below. > 0ms html2canvas: html2canvas $npm_package_version > html2pdf.bundle.js:2052 2125ms html2canvas: Canvas renderer initialized (794x3985 at 286.140625,2789) with scale...
@cablegunmaster Thankyou. I found a solution for this.
@cablegunmaster generated base64 from pdf object then send it to server and decode and attach with email.
@eKoopmans Thankyou , your code really helped me alot 💯 👍