Problem modifying/displaying a list for a cash register

Hello,
I'm planning to develop a cash register but I'm obviously encountering a major problem.

When I click on "Coca", the application lists the price (multiplied by the number of Coca requested), the number of "Coca" requested, and "Coca".
This list is displayed as a ListView when I click on "Valider_Prix_Vente".
The problem is that when I click, it displays the list like this:

If I ask for 1 Coca :
"[0.6€ㅤ|ㅤ1ㅤ|ㅤcoca]" (there, all's well)
But if I ask for more than 1 Coca (example 5):
"[0.6€ㅤ|ㅤ1ㅤ|ㅤcoca
1.2€ㅤ|ㅤ2ㅤ|ㅤcoca
1.8€ㅤ|ㅤ3ㅤ|ㅤcoca
2.4€ㅤ|ㅤ4ㅤ|ㅤcoca
3€ㅤ|ㅤ5ㅤ|ㅤcoca]"

I would like there to be only :
If I ask for 5 coke :
"[3€ㅤ|ㅤ5ㅤ|ㅤcoca]" (Without all the previous steps)

Do you have a solution to help me?
Thanks in advance!

Post a screenshot of your blocks. Also have a look at

1 Like