Wrong NextTicketId in CashRegistersAPI
Created by: nsvir
With CashRegistersAPI::getAll.
The nextTicketId for the Worldline cash 'Worldline-Caisse' is wrong. Since it should be 127 the API returns 3.
In the Data Base:
SELECT TICKETID , DATENEW FROM `demo_worldline`.`RECEIPTS` AS r, `demo_worldline`.`TICKETS` AS t WHERE r.ID = t.ID ORDER BY `DATENEW` DESC
The 2015-08-20 at 15:43:40, A client has been able to create a new TicketID equals to 1. This may be the problem.