feat: create a correct reconciliation jar.
This commit is contained in:
@@ -82,7 +82,7 @@ class ReconciliationJar(models.Model):
|
||||
cash_taken = models.DecimalField(max_digits=9, decimal_places=2)
|
||||
cash_discrepancy = models.DecimalField(max_digits=9, decimal_places=2)
|
||||
|
||||
def clean(self):
|
||||
def manual_clean(self):
|
||||
payments_amount = sum([p.amount for p in self.payment_set.all()])
|
||||
reconciliation_ammount = sum([
|
||||
self.cash_taken,
|
||||
|
||||
Reference in New Issue
Block a user