You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need repaid_amount field as part of the order structure in order to easily understand how much was repaid already. Main case is when the order is repaid in chunks, we can calculate repaid amount using transactions, but that means we want frontend to calculate it for us which is potential for mistakes.
There are 2 options for implementation,
we update repaid_amount with each transaction happening and store it in the database among other order fields
we calculate repaid_amount based on the sum of transactions
The text was updated successfully, but these errors were encountered:
We need repaid_amount field as part of the order structure in order to easily understand how much was repaid already. Main case is when the order is repaid in chunks, we can calculate repaid amount using transactions, but that means we want frontend to calculate it for us which is potential for mistakes.
There are 2 options for implementation,
The text was updated successfully, but these errors were encountered: