BUG : prepaid account value calculation.
Created by: Gregoire-Lesmainsdansleguidon
prepaid account calculation works fine for the first paiement, and ticket is correct.
but if user makes another purchase during the same day, the prepaid account value shown on the interface and the ticket is still the one before the first purchase.
fortunately, the value on the server seems correct.
Example : Customer 1, with 15€ in his account at the begining of the day. comes in, makes a payment of 5€. then 10€ remaining on his account is shown on the interface ant ticket.
Customer 1 comes back a few hours later, for making an additional payment of 3 € the account shows 15€ value remaining, and then 12€ after the payment.
next day, value of the account is correct : 7€.