Renamed the credit_amount attribute to credit and debit_summary to debit in RecordSummary in the accounting application.

This commit is contained in:
2020-07-18 07:52:16 +08:00
parent a15a359ca7
commit 753e69d4e9
4 changed files with 24 additions and 24 deletions

View File

@ -322,8 +322,8 @@ class Record(models.Model):
class RecordSummary(models.Model):
"""A summary record."""
month = models.DateField(primary_key=True)
credit_amount = models.PositiveIntegerField()
debit_amount = models.PositiveIntegerField()
credit = models.PositiveIntegerField()
debit = models.PositiveIntegerField()
balance = models.IntegerField()
_label = None