Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
integration:export_to_pdf [2016/04/29 17:35] – created foxyluke | integration:export_to_pdf [2016/04/29 17:38] – foxyluke | ||
---|---|---|---|
Line 26: | Line 26: | ||
Author: Luke Stokes | Author: Luke Stokes | ||
+ | |||
Use however you want and take personal responsibility when doing so. | Use however you want and take personal responsibility when doing so. | ||
Line 39: | Line 40: | ||
- Configure your store' | - Configure your store' | ||
- Run the script locally as: php transaction_to_pdf.php | - Run the script locally as: php transaction_to_pdf.php | ||
+ | |||
+ | To view how many receipt files were created per month, you can run this code in bash: | ||
+ | |||
+ | < | ||
+ | for D in `find . -type d` | ||
+ | do | ||
+ | echo " | ||
+ | ls " | ||
+ | done | ||
+ | </ | ||
===== Requirements ===== | ===== Requirements ===== | ||
wkhtmltopdf | wkhtmltopdf | ||
+ | |||
http:// | http:// | ||
+ | |||
(have the binary installed in the same folder as this script) | (have the binary installed in the same folder as this script) | ||