Closed kisinga closed 4 years ago
When an invoice is deleted, as recently seen, the logic should also check whether the process of deletion freed up some funds and apply them to any pending invoices This will force a condition where there isnt any unapplied payment but there exists an unpaid invoice as the case for DAUDI 3
Currently, new invoices are not being attached to existing payments. The logic should be modified to fist check existing unapplied or partially applied, payments then attach them to the invoice being created