Rename Register Transactions to Transactions in the Admin Panel (#9)

This commit is contained in:
W13R 2022-11-05 09:40:41 +01:00
parent 3d778df3d5
commit af4dbc74b5

View file

@ -52,8 +52,8 @@ class Drink(models.Model):
class RegisterTransaction(models.Model): class RegisterTransaction(models.Model):
class Meta: class Meta:
verbose_name = "register transaction" verbose_name = "transaction"
verbose_name_plural = "register" verbose_name_plural = "transactions"
transaction_sum = models.DecimalField(max_digits=6, decimal_places=2, default=0.00) transaction_sum = models.DecimalField(max_digits=6, decimal_places=2, default=0.00)
# the following original_transaction_sum is needed when need to be # the following original_transaction_sum is needed when need to be