aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/dispatch/models.py')
-rw-r--r--app/dispatch/models.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/dispatch/models.py b/app/dispatch/models.py
index 0dde07b..451eb31 100644
--- a/app/dispatch/models.py
+++ b/app/dispatch/models.py
@@ -51,7 +51,7 @@ class Load(models.Model):
amount = models.DecimalField(max_digits=10,decimal_places=2, default="0")
def __str__(self):
- return "{c}, {d} ( {a} )".format(
+ return "Load, Customer: {c}, Description: {d} Amount: {a}".format(
c=self.customer, d=self.description, a=self.amount)
def get_absolute_url(self):
@@ -206,5 +206,8 @@ class InvoiceItem(models.Model):
+auditlog.register(Invoice)
+auditlog.register(UserInvoiceNumber)
+auditlog.register(Identity)
auditlog.register(Customer)
auditlog.register(Load)