Author Topic: error in v2  (Read 12465 times)

spanky

  • Full Member
  • ***
  • Posts: 152
error in v2
« 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.

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: error in v2
« Reply #1 on: April 13, 2013, 07:45:16 am »
Noted. Thanks!

evail

  • Full Member
  • ***
  • Posts: 109
Re: error in v2
« Reply #2 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

prabhatmp

  • Newbie
  • *
  • Posts: 1
Re: error in v2
« Reply #3 on: July 01, 2013, 12:05:25 am »
I also have this issue..please help to solve this...

lemmings

  • Full Member
  • ***
  • Posts: 165
Re: error in v2
« Reply #4 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