Author Topic: SambaPOS 2.95 Released!  (Read 26951 times)

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
SambaPOS 2.95 Released!
« on: April 10, 2012, 07:43:50 am »
Here are the new features:

+ Multiply function added to Update Setting action.
Useful for multiplying setting values with a fixed number.

+ Grouping orders by order numbers with {ORDER NO} tag.
Sometimes kitchen personnel looses order paper. When you need to reprint all orders to kitchen printer you can group items by order number. It will be useful for understanding what served and what is waiting for serve.

+ Filtering ticket items on "Execute Print Job" action by ticket item tag.
If you tag ticket items you can print bills by ticket item tag. For example if you tag ticket items by Seat you can print Seat1, Seat2 tickets separately.

+ Expression Evaluation on Printer Templates
You can calculate numbers for different needs and print them on tickets. For evaluating an expression you'll use [=(function)] format. For example you need to print %15 of ticket total.

You can enter [={TICKET TOTAL}*0.15] for printing %15 of ticket total. But this will generate an error if Ticket Total is greater than 999 because we format 1300 to 1,300.00 and this is not a number. To solve that you'll use ToNumber function. So our expression becomes [=ToNumber('{TICKET TOTAL}')*0.15]. Finally we need to reformat this calculation with thousand separators. Format function is useful for that. The final expression should be:
[=Format(ToNumber('{TICKET TOTAL}')*0.15)]

It will first convert Ticket Total to a number, make calculation and format it back.

You can use Format function for formatting Setting or Ticket Tag values too. For example:
[=Format('{SETTING:XYZ}')] should work fine.

- Item sorting on printouts problem fixed.
If a ticket item have properties it moves to top of the order list. That problem fixed.
« Last Edit: April 10, 2012, 07:54:09 am by emre »

JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: SambaPOS 2.95 Released!
« Reply #1 on: April 10, 2012, 07:51:29 am »
Absolutely unreal!

I wish I had you on some of my project teams.
SambaPOS - POS'n the World, one Terminal at a time.

CafeCuppio

  • Full Member
  • ***
  • Posts: 200
    • Cafe Cuppio
Re: SambaPOS 2.95 Released!
« Reply #2 on: April 10, 2012, 08:53:34 am »
My goodness ... a lot of these functions I might never use myself, but great to see all the improvements ...

Well done Emre & Team
SambaPOS - POS'n the World, one Terminal at a time.
Even in Namibia, Africa!

marikoglu

  • Sr. Member
  • ****
  • Posts: 406
  • Bodrum Bodrummm
    • Birinci Sınıf Et ve Balık Restaurant
Re: SambaPOS 2.95 Released!
« Reply #3 on: April 10, 2012, 05:27:40 pm »
Emre bey program guncellemelerinde bizede bole aciklayici bir dokuman yazsaniz cokmu sey istemis olurdum . En azindan neleri guncellediginizi biliriz ;)
Dünya Gecirdiğin Fırtınaların Büyüklüğü İle Değil ,Gemiyi Limana Getirip Getirmediğinle İLĞİLENİR . . . ! ! !

khamlichi

  • Newbie
  • *
  • Posts: 11
Re: SambaPOS 2.95 Released!
« Reply #4 on: April 11, 2012, 04:40:14 am »
One word : Admirable.

charmaster

  • Newbie
  • *
  • Posts: 6
Re: SambaPOS 2.95 Released!
« Reply #5 on: April 12, 2012, 04:42:11 pm »
Hi,

Thank you for the adaptation in French. Would it be possible to change onscreen keyboard in azerty (French) ?

mozhi

  • Jr. Member
  • **
  • Posts: 71
Re: SambaPOS 2.95 Released!
« Reply #6 on: April 12, 2012, 10:53:40 pm »
Great Work Emre.!

JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: SambaPOS 2.95 Released!
« Reply #7 on: April 13, 2012, 04:49:20 pm »
From Re: SambaPOS 2.94 Released!
{ITEM TAG:n} - Second item in {ITEM TAG} is 1st item when using this tag. ie, [Course 1|Seat 1], {ITEM TAG:1} = Seat 1.
Works well otherwise, but must use {ITEM TAG} for group template.

Yes there is no difference on group template. If there is a pipe char it always use first part for grouping. {ITEM TAG} and {ITEM TAG:n} tags are new for line template.


If we could use {ITEM TAG:n} in the group template, we would be able to print bills by Seat numbers.

This may help a little with the Split Bill discussion here http://forum2.sambapos.org/index.php/topic,261.msg2486.html#msg2486


Update - I just added a copy of a receipt from a local restaurant to show how some restaurants format their receipts.
« Last Edit: April 13, 2012, 05:31:09 pm by JohnS »
SambaPOS - POS'n the World, one Terminal at a time.

oda

  • Newbie
  • *
  • Posts: 25
Re: SambaPOS 2.95 Released!
« Reply #8 on: April 13, 2012, 09:02:07 pm »
John, just a quick question!
On your receipt showing, it seems that have multiple group modifier.
Do you create multiple group modifier or just one.
Just curious!

JohnS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 677
Re: SambaPOS 2.95 Released!
« Reply #9 on: April 13, 2012, 09:09:47 pm »
That receipt is not from SambaPOS, its just a sample of a receipt layout used in Australia to highlight Seats & different layout designs.

I would use three modifiers, one for the dish itself, one for the sides and one for the sauces.
SambaPOS - POS'n the World, one Terminal at a time.

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: SambaPOS 2.95 Released!
« Reply #10 on: April 16, 2012, 09:44:00 am »
As an alternative we can print separate tickets by seat with ticket item tag filtering feature.
Other than grouping items by seat that design will need further implementation for calculating and printing sub totals.

jadeniz

  • Newbie
  • *
  • Posts: 7
Re: SambaPOS 2.95 Released!
« Reply #11 on: April 27, 2012, 08:09:04 am »

Hi!

First of all (this is my first post) thanks to all who make this wonderful software possible.

I have an error with Format & ToNumber functions in a 2003 server environment.

It works fine on Windows 7 but in 2003 server doesn't recognize functions (twice are spanish 32 bits). I'm looking for .net patches  related to this issue

IE if I try to print in 2003 this is the result

Print Code
[=ToNumber('{TICKET TOTAL}')] (Ticket Total is 1.50)
[=ToNumber(2.15)]

Printed Result
=ToNumber('1.50')  It might be 1.50 as in Windows 7
2.15

I've tested with and without single and double commas ToNumber("{T....  & ToNumber({... and the print is the same. It seems it doesn´t work when the parameter is a function. It works only with a number. (in 2003 server, in Windows 7 it works like a charm)

jadeniz

  • Newbie
  • *
  • Posts: 7
Re: SambaPOS 2.95 Released!
« Reply #12 on: April 29, 2012, 09:57:19 am »
Update:
It fails when using spanish .NET runtimes. (2003,xp, 7 tested) It works using english .Net downloads

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: SambaPOS 2.95 Released!
« Reply #13 on: April 29, 2012, 01:43:44 pm »
Update:
It fails when using spanish .NET runtimes. (2003,xp, 7 tested) It works using english .Net downloads

Hmm.. It makes more sense now. It seems I have to debug it with Spanish .net installation.

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: SambaPOS 2.95 Released!
« Reply #14 on: May 03, 2012, 08:23:22 pm »
Update:
It fails when using spanish .NET runtimes. (2003,xp, 7 tested) It works using english .Net downloads

FYI: I've updated implementation. I'll be happy if you can test it when 2.96 releases.
Thanks.