Added ORDER BY statement to the invoice page.
Ordered all other invoice pages.
This commit is contained in:
tomtom5152
2015-03-04 15:49:00 +00:00
parent 0a54a1f2e3
commit 4ba308357c
2 changed files with 9 additions and 3 deletions

View File

@@ -366,6 +366,7 @@ class Invoice(models.Model):
permissions = (
('view_invoice', 'Can view Invoices'),
)
ordering = ['-invoice_date']
class Payment(models.Model):