Open
Description
When 'PaymentDbManager' checks to see if a Transaction
can be closed it looks to see that the ordered value has been delivered and invoiced. If the order is for more items than were delivered then the transaction cannot be closed.
Whilst this is correct, the current behaviour of the app is such that it only allows a single delivery note to be generated from an order so this logic then fails if the delivery was not for the whole order.