Author Topic: Modifying The receipt  (Read 1890 times)

jodybingo

  • Hero Member
  • *****
  • Posts: 667
    • View Profile
    • Personal Web Site
Modifying The receipt
« on: September 15, 2009, 06:45:54 PM »
What code do i have to enter into my template to print both Table and Seat Number?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Modifying The receipt
« Reply #1 on: September 16, 2009, 09:13:21 AM »
All of the available tokens are listed in the user manual.  Look in the "Exporting Data" section towards the end.

jodybingo

  • Hero Member
  • *****
  • Posts: 667
    • View Profile
    • Personal Web Site
Re: Modifying The receipt
« Reply #2 on: September 19, 2009, 05:17:05 PM »
found it...thanks.
i have one iother issue with receipts and one question...
The logo is not printing. i put the image in the same folder as the receipt template and still wont print, and
can i change when the receipt is printed? Currently, TD2 prints when we register (buy-in) players. I take seat reservations over the phone and would like to print only when player is paid in full. Can I do this?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Modifying The receipt
« Reply #3 on: September 21, 2009, 09:50:27 AM »
Currently the software creates receipts for buying-in, rebuying, and adding-on, and the corresponding undo operations (which would be akin to a refund).  There is a to-do item for creating receipts for marking a player paid-in-full, and for busting a player out.  There is also a to-do item for selectively creating receipts (e.g., for creating receipts for buy-ins but not for rebuys or add-ons).

As for your logo, my suggestion would be to reference the image file with a fully-qualified path.  In other words, if your image is saved as "C:\Program Files\The Tournament Director 2\receipts\mylogo.gif", then in the receipt template, you should reference it as:

<img src="C:\Program Files\The Tournament Director 2\receipts\mylogo.gif">

instead of

<img src="mylogo.gif">

See if that helps.