Closed damn-dvlpr closed 4 years ago
Hey!! Do you mean a PDF document which'll show the table, right?
I would like to help.Is anyone working on this?
@gaurav219 yes, that will suffice. When one clicks on "marked delivered", it shall show the receipt to print in pdf format.
This table?
Yes.
Or this one?
After it has been marked delivered?
Both have seldom differences, as the receipt is for the customer, it should contain the date of delivery and the total amount submitted i.e. amount given+interest. Hence first one would do, with a added field of delivery date.
Okay
Would it be okay to use wkhtmltopdf? There is a PHP wrapper for it here: https://github.com/mikehaertl/phpwkhtmltopdf, I have used it many times before and it works great. More info here: https://wkhtmltopdf.org
Bro I am nearly done with this.
Bro I am nearly done with this.
Okay no problem!
Is this fine??
Also removed the metal which doesn't exist.
This looks great! btw which library have you used for this? please open a PR so I can view the changes.
No library. Just simple ol' window.print() 😉
A sophisticated library would have been preferred, but nevertheless, I would merge this. If some problem persists, would revert it back as we don't have tests, so keep an eye if you're in for hacktoberfest.
Solved by PR #6
Print receipt feature to be added which prints the table shown in Customer details.