SambaPOS Forum

English Boards => Support => Topic started by: razi777 on December 21, 2011, 04:05:47 pm

Title: How to create the PERFECT BILL
Post by: razi777 on December 21, 2011, 04:05:47 pm
hello i want to create this bill

(how can i create also the taxes for it with 1 for drinks with 10% and 2 food with 20%) 

would be a good example for everyone :D
Title: Re: How to create the PERFECT BILL
Post by: emre on December 22, 2011, 05:31:49 am
Hmm Razi.. It seems you want to print tax details while tax included prices printed.
This is not allowed in our country :) If we display tax totals on tickets we should print tax excluded prices. Or if we print tax included prices we don't display tax totals separately. If customer requests an invoice or ticket includes alcoholic drinks we use option 1, if not we print tickets with option 2. 

That's why there is an "Always Exclude Tax" option in print jobs. When this option is enabled (taxes included to price or not) SambaPOS always prints tax excluded prices and tax totals calculates.

I understood why some friends can't print tax totals on ticket. I'll improve tax printing on next release and prepare a ticket template for this sample ticket. Thank you for sending the ticket format you need.
Title: Re: How to create the PERFECT BILL
Post by: razi777 on December 22, 2011, 07:08:22 am
would be nice if u can do it asap ( i think in austria & germany we need taxes on the bill)

need it in restaurant the new bill :D

and  {TOTAL TEXT}  the currency is in dollar should be in EURO
and btw love ur free software

this is what i did till yet

but it won't calculate everything together

and how can i add € sign?

and how can i reset the Ticket.Nr.?  its now 36 i want 0 for everyday
Title: Re: How to create the PERFECT BILL
Post by: emre on December 27, 2011, 01:24:19 pm
Hello;
I recently uploaded SambaPOS 2.73 release (http://code.google.com/p/sambapos/downloads/list) for tax printing issue.

Here is my sample design:

(http://i.imgur.com/JlquBl.jpg)

Visit http://doc.sambapos.org/doku.php/en/tips/sample_ticket_printer_template for formatting details.

Printer should support € sign. My printer doesn't have € sign in default character set so I used $ instead. You'll find required settings under Local Settings > Language Settings for changing {TOTAL TEXT} values.

We search tickets by their ticket number. For this reason we shouldn't reset it for avoiding duplicates. We may add a secondary ticket number that daily resets on further releases.
Title: Re: How to create the PERFECT BILL
Post by: razi777 on December 29, 2011, 11:26:35 am
thx emre very much

1 question left  - how can i define beverage and food ???
2                       - and how can i define the taxes for the items
3       - add a secondary ticket number that daily resets (THAT WOULD BE NICE)
Title: Re: How to create the PERFECT BILL
Post by: emre on December 29, 2011, 11:56:30 am
1,2 : First you'll create tax templates for each tax type and choose them from product cards.
3: I added daily resetting ticket numbers request in our todo list. Thanks.
Title: Re: How to create the PERFECT BILL
Post by: willibcn on December 29, 2011, 01:11:15 pm
perfect!!!
Title: Re: How to create the PERFECT BILL
Post by: razi777 on December 29, 2011, 07:30:15 pm
thx very much   :D

a) but can u make it like the example (first pic)  for taxes
so u can see it with and without taxes - NETTO & BRUTTO

b) just with the reset for everyday that would be nice :D
Title: Re: How to create the PERFECT BILL
Post by: emre on December 30, 2011, 06:39:34 pm
Netto & Brutto details does not exists for now. We'll add simple scripting support on printer templates for that kind of simple calculations.
Thanks.
Title: Re: How to create the PERFECT BILL
Post by: emre on January 18, 2012, 11:31:39 am
Hello; While implementing some other SambaPOS features I've noticed we can create a counter that resets everyday...

Let me describe how it can be done:


Action for Increasing the counter
Action for Tagging Ticket with Current Counter Number
Action for Resetting Counter
These are the required actions now we'll create rules for defining how these actions will work.


Rule for Giving Next Number to Ticket
This rule will increase the number and tag ticket with that number.


Rule For Resetting Counter
This rule will reset counter when you end the work period.


For printing that number use {TICKETTAG:Order No} value tag. You can add that number to a printer template header or create a new template for printing a small paper that shows the customer order number...


(http://doc.sambapos.org/lib/exe/fetch.php/tr/tips/sira_numrasi/dsc02517.jpg?w=500)


Teşekkür Ederiz means Thanks :)
Title: Re: How to create the PERFECT BILL
Post by: jenem on January 18, 2012, 11:48:37 am
Hi Emre,

Excellent explanation for ticket tagging and counting

Teşekkür Ederiz

Edgar