Hello all,
I have created a PowerApp that stores invoice information into a SharePoint List. Information like client name, billing info, and invoice items are collected on the PowerApp via the SharePoint list submission form. When the user submits, a flow is triggered that grabs an HTML file from my OneDrive and then the flow uses the replace( ) function to replace specific portions of the HTML with data from the SharePoint list.
This works fine but I find it extremely difficult to format the PDF the way I want it to be, also I can't seem to figure out the logic to only allow a limited number of invoice items on each page and not allow invoice items to "spill over" and ruin the formatting of the following pages. The goal is to have the same format for each page, which would look like this:
| Company Logo | Billing Information Here |
|-------- Client Information Here - - - - - - |
| ---- INVOICE ITEMS ---------------- |
| ---- INVOICE ITEMS ---------------- |
| ---- INVOICE ITEMS ---------------- |
| ---- INVOICE ITEMS ---------------- |
| PAGE TOTAL FOR INVOICE ITEMS --- |
Each page would be required to look exactly like this. So if there were enough items for 10 pages, each page would be displayed like this. Any help is greatly appreciated.