Author Topic: Manual Discount Value - Not by %  (Read 16371 times)

Hugove

  • Newbie
  • *
  • Posts: 43
Manual Discount Value - Not by %
« on: July 13, 2013, 10:40:25 am »
Hiya,

I have been searching the forum but have not yet come across what I think is a very everyday occurrence. Today we wanted to add a 5Eur discount on a ticket and had to calculate what % that would be of a bill of 55Eur. it ended up being close to 9.05%... using a calculator

What would be the best way to add a button where you can enter the amount of discount through the numerator at the settle screen? Much like when you change the price of something...I guess.


JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: Manual Discount Value - Not by %
« Reply #1 on: July 13, 2013, 08:17:20 pm »
Hugo,

Looks like your really getting into SambaPOS :)

There is no easy way to apply a $ discount to the ticket total, besides changing price on an item using the Change Price button.

Since we cannot make calculations like this using Rules & Actions, we can use Printer Templates instead.

1. Create a Printer Template 'Discount Rates' and use the following lines in the Footer

<T>Discount Ticket
<F>-
<J01>Total|${TICKET TOTAL}
<F>-
<J00>Discount Amount|Discount %
<F>-
<J00>$5|[=Format(5 / ToNumber('{TICKET TOTAL}') * 100)]%
<J00>$10|[=Format(10 / ToNumber('{TICKET TOTAL}') * 100)]%
<J00>$15|[=Format(15 / ToNumber('{TICKET TOTAL}') * 100)]%
<J00>$20|[=Format(20 / ToNumber('{TICKET TOTAL}') * 100)]%
<F>-

2. Create Print Job 'Discount Rates'
Button - 'Discount Rates'
Tick only - Display at POS & Display at Payment
Printing Content - All Lines
Auto Print - Manual
Map to your Receipt Printer using Discount Rates template

3. Add Discount Rates print job to your Terminal (Settings->Terminals)

4. Now you have a 'Discount Rates' button on your screen that will print a Discount Rates ticket like below

Discount Ticket
--------------------------------------------
Total           $82.00
--------------------------------------------
Discount Amount                   Discount %
--------------------------------------------
$5                                     6.10%
$10                                   12.20%
$15                                   18.29%
$20                                   24.39%
--------------------------------------------


Hope this helps.


FYI - SambaPOS V3 can do calculations using Rules & Actions :)
SambaPOS - POS'n the World, one Terminal at a time.

lemmings

  • Full Member
  • ***
  • Posts: 165
Re: Manual Discount Value - Not by %
« Reply #2 on: July 14, 2013, 03:53:14 pm »
Sorry, is that not want the rounding button does, it still shows up as Discount on the work period reports.

Thats what we use, if we are just taking amounts of the ticket price at the end

JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: Manual Discount Value - Not by %
« Reply #3 on: July 14, 2013, 05:36:46 pm »
lemmings,

Your spot on.

I've had my head in V3 for too long I think :)
SambaPOS - POS'n the World, one Terminal at a time.

Hugove

  • Newbie
  • *
  • Posts: 43
Re: Manual Discount Value - Not by %
« Reply #4 on: July 15, 2013, 12:11:04 pm »
Right, back to sq 1.

I will be surprised if it is difficult or not possible to subtract an amount of the ticket total in the form of a discount considering the stuff we can do with this software.

anyone else have any insights?


lemmings

  • Full Member
  • ***
  • Posts: 165
Re: Manual Discount Value - Not by %
« Reply #5 on: July 15, 2013, 04:07:59 pm »
If you apply a discount or rounding when settling a ticket this will be deducted from the total and depending on what printer template tags you use this will print correctly on your ticket.

There are various total printer tags that you can use which will probably print the ticket/bill/receipt just as you require

JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: Manual Discount Value - Not by %
« Reply #6 on: July 15, 2013, 06:07:19 pm »
Right, back to sq 1.

I will be surprised if it is difficult or not possible to subtract an amount of the ticket total in the form of a discount considering the stuff we can do with this software.

anyone else have any insights?

When discounting by an amount, type the amount at the Payment screen and press Round to deduct that value. If you don't have a Round button on the Payment screen, then it has been disabled in User Roles.
SambaPOS - POS'n the World, one Terminal at a time.

Hugove

  • Newbie
  • *
  • Posts: 43
Re: Manual Discount Value - Not by %
« Reply #7 on: July 16, 2013, 05:56:23 am »
Got it, Me being thick!

Is there a rounding tag to display it on a printer template? I cannot recall seeing one. or does the discount tag do the same?

JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: Manual Discount Value - Not by %
« Reply #8 on: July 16, 2013, 06:18:09 am »
Just the Discount Tag. I use

[<J00>{IF DISCOUNT}]

The [] hides the text between then if a Tag is empty.
SambaPOS - POS'n the World, one Terminal at a time.