SambaPOS Forum

English Boards => Support => Topic started by: spanky on April 11, 2013, 04:54:33 pm

Title: error in v2
Post by: spanky on April 11, 2013, 04:54:33 pm
By chance I happened a mistake and thought I'd report it.
the error occurs when you send a print with a long note on multiple lines.
Title: Re: error in v2
Post by: emre on April 13, 2013, 07:45:16 am
Noted. Thanks!
Title: Re: error in v2
Post by: evail on April 16, 2013, 01:30:10 pm
I noticed something the other day too.

which is related to modifiers.

eg. Tea (modifier HOT and modifier LIME) rate 30.00
I used PLUS (+) sign to increase quantity to 2. the receipt printed shows 30.00 instead of 60.00 however the totals are correct.

quantity of the item is correctly shown as 2 but the amount of the line item shows as 30.00

thanks
Title: Re: error in v2
Post by: prabhatmp on July 01, 2013, 12:05:25 am
I also have this issue..please help to solve this...
Title: Re: error in v2
Post by: lemmings on July 01, 2013, 12:18:23 pm
You could always perform calculations on the printer template, for example:

[= Format (ToNumber (ToNumber ('{PROP PRICE}') * (ToNumber ('{QUANTITY}'))))]

This will multiply the modifier price by the line quantity ordered, also:

[= Format (ToNumber (ToNumber ('{PRICE}') * (ToNumber ('{QUANTITY}'))))]

This will multiply the line item by quantity, you could also use:

[= Format (ToNumber (ToNumber ('{PROP PRICE}') * (ToNumber ('{PROP QUANTITY}'))))]

This will multiply the modifier price by the quantity of modifier added.

This should be able to account for most circumstances and combinations of modifiers/quantities and this is what I use on my bills and receipts