# Erase one various fields once in customer register

**URL:** <https://forum.sambapos.com/t/erase-one-various-fields-once-in-customer-register/11746>\
**Category:** Version 4\
**Created:** [July 21, 2016, 3:25pm UTC](https://forum.sambapos.com/t/erase-one-various-fields-once-in-customer-register/11746 "2016-07-21T15:25:31Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![Cinema](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/c/5daacb/32.png) [@Cinema](https://forum.sambapos.com/u/Cinema)\
**Post date:** [February 1, 2017, 12:49pm UTC](https://forum.sambapos.com/t/erase-one-various-fields-once-in-customer-register/11746/14 "2017-02-01T12:49:16Z")

</div>

Hi! my Friend

I want to split the bill from the table.

In 2 or more people and print in ticket

I found a topic related to this but did not work

> [@Some questions sambapos4](https://forum.sambapos.com/t/some-questions-sambapos4/185/11):
>
> Yes we’ll print on bill. What I’m trying to understand is how would you like operator use this feature because there are more than one solution. Let me give an example. (Test it with [4.1.15](http://sambapos.com/downloads) release) I’ve added this line to bill template. [\<J10\>Payment By Guest:|[=F(TN('{TICKET TOTAL}') / TN('{SETTING:NUMBERPAD}'))]] It reads numberpad value and prints ticket total divided by that value. So if there are two couples you can enter 2 and Print Bill button. This is what it …

When I add the command

{DISCOUNTS}  
[Total Gift:|{ORDER STATE TOTAL:Gift}]  
[Payment By Guest:|[=F(TN(‘{TICKET TOTAL}’) / TN(‘{SETTING:NUMBERPAD}’))]]

On the ticket so displays

* * *

## BAR E RESTAURANTE PIERROT

## Data:01/02/2017 Hora:10:42 Mesa: S-05

- 1 Aipim Frito 16,00
- 1 Fanta Laranja Lat 4,00
- 1 File de Tilapia 54,90
- 1 Carangueijo 6,90
- 1 Camarao VG 79,00  
==============================  
Sub-Total:  
Payment By Guest: +Infinito \<\<\<\<\<=============== this is the problem  
Total: R$ 160,80  
==============================
  - OBRIGADO POR VIR \*
  - THANK YOU FOR COMMING \*
    - GRACIAS POR VENIR \*

* * *

```
  * CUPOM NÃO FISCAL *

```

OBS: Displays the word infinity, not the total divided

CAN YOU HELP ME

THANK YOU MY FRIEND…

---

_[View the full topic](https://forum.sambapos.com/t/erase-one-various-fields-once-in-customer-register/11746)._
