Zero-Q-Ltd / Daudi

1 stars 1 forks source link

Invoice Logic refinement #49

Closed kisinga closed 4 years ago

kisinga commented 4 years ago

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

kisinga commented 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

kisinga commented 4 years ago

Had been carried over from V3