Forum OpenACS Development: simple invoicing solution.
Is there a simple way to have OACS 4.6 create simple invoices? Nothing fancy, but output to spreadsheet (opneaoffice)is essential. So, just the basics of an invoice and options to save to file (including printer friendly output) and send via e-mail.
Try to save and excel sheet as CSV and them open it in notepad or something to get the idea.
you can send your data (I don't know about attachment but the data itlsef with procs like acs_mail_lite::send
For printer friendly what you want the is the content without any format, so leave the adp without <master> stuff and things like that.
<a href="#" onClick=window.print()>
<img src=/graphics/printer.gif border=0 alt="print report" align="center"></a>
I was thinking about a generic "report generator" that would be able to take templated variables and insert them in places in the Postcript output. Then an invoicing module that would use that service package.
I've never done anything with creating postcript files, so the biggest barrier for me would be that learning curve.
Anyone familiar with what it takes to create postscript?
I used this method to generate reports of several hundred pages from a custom TCL and nstcl combination.