Receipt problems (POS Comments and discount codes)

Hi, I have amended a receipt with various mods based on the receipt - full page with large logo downloaded from Microsoft site.

I have two problems.

Firstly I would like the discount reason codes to show. It currently only shows 'discount' and I could not figure out how to do this.

Secondly, (and I don't know if this is something I have done in the receipt) Is when adding item comments to the item description from within the POS, when the receipt prints it doesn't display the comments I have added. I am sure the comments you add to a transaction line are meant to come off on the receipt as well?

I don't have enough space to paste the code here and I couldn't get a newsgroup working to attach so if anyone needs me to email it to them I can or if they can advise on the code needed that would be great.

Any help would be greatly appreciated.

Thanks Matt

Reply to
matty102
Loading thread data ...

hi Matty,

For the comment to print you will use the " Entry.Comment" template variable to print this

For the discount you have following variable and use them in receipt template whereever you need:

Entry.ReasonDiscount.Description Entry.ReasonDiscount.Code Entry.ReasonDiscount.Type

"matty102" wrote:

Reply to
Akber Alwani

Hi Akber,

Thanks for helping me. I now have the comments working great and the discount code is now shown for my sales receipt. I have two different receipts for work orders and layaways and I can not get the discount code to print on these, they only print when the order is collected in full? Do you no why this is? I have copied the part of the code i think is relevant. Thanks again for your great help.

Transaction.Type = transactionSales | Transaction.Type transactionWorkOrder | Transaction.Type = transactionQuote | Transaction.Type = transactionBackOrder | Transaction.Type = transactionLayaway | Transaction.Type = transactionAbortedTransaction

HeaderHeight + MarginTop "Small" tbNone LineColor

"" PageWidth * 0.10 "Quantity"

">" PageWidth * 0.11 "Price"

">" PageWidth * 0.14 "Extended"

ShowLineDiscounts & (Entry.ExtendedDiscountPurchased 0) Entry.Item.ItemLookupCode "|" Entry.comment "|" Entry.Quantity "|" Entry.FullPrice "|" Entry.ExtendedFullPrice

Entry.DiscountNegative 0 "||Discount||" Entry.ReasonDiscount.Code "|" Entry.DiscountNegative "|" Entry.ExtendedDiscountNegative

Entry.Item.ItemLookupCode "|" Entry.comment "|" Entry.Quantity "|" Entry.Price "|" Entry.ExtendedPrice

((Entry.QuantityOnOrder 0) | (Entry.QuantityRTD 0)) & (Transaction.Type transactionQuote)

"Akber Alwani" wrote:

Reply to
matty102

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.