Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display tax for each line item in invoice pdf
08-15-2018, 04:07 PM
Post: #1
Display tax for each line item in invoice pdf
I want to show the tax for each line item in PrintCustTransPortrait.php report. how can i do that? which tables to join?
Find all posts by this user
Quote this message in a reply
08-16-2018, 12:35 AM
Post: #2
RE: Display tax for each line item in invoice pdf
The information you want should be in the debtortranstaxes table. I think it would be a useful option to have.

Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
08-22-2018, 04:12 PM
Post: #3
RE: Display tax for each line item in invoice pdf
Thanks Tim. Resolved!
Find all posts by this user
Quote this message in a reply
08-29-2018, 12:07 PM (This post was last modified: 08-29-2018 12:10 PM by TurboPT.)
Post: #4
RE: Display tax for each line item in invoice pdf
@Michelle ... any code to share for that change? (I'm working towards a 4.15.1 release very soon)

If you can at least attach the script, I can likely use the diff of what you have done. Or, if you might have a patch, or create a pull request against the GitHub repo would be good too. Credit will go to you, of course!
Find all posts by this user
Quote this message in a reply
09-01-2018, 03:24 AM
Post: #5
RE: Display tax for each line item in invoice pdf
Here is the script.

Query is at line 267

I have changed the css , so please don't get confused Smile

.php  PrintCustTransPortrait.php (Size: 53.1 KB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)