From 625c485c2f21d1b01ece1e982ad0dc8a211a7303 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 18 Nov 2015 21:34:01 +0000 Subject: added an invoice date to model --- app/income/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/income/admin.py') diff --git a/app/income/admin.py b/app/income/admin.py index 7fb1ee0..c47d7a2 100644 --- a/app/income/admin.py +++ b/app/income/admin.py @@ -4,7 +4,7 @@ from .models import Gig class GigAdmin(admin.ModelAdmin): - list_display = ('title', 'status', 'payment', 'payment_status', 'publisher', 'pub_date', 'created') + list_display = ('title', 'status', 'payment_status', 'invoice_date', 'payment', 'publisher', 'pub_date', 'created') list_filter = ('publisher', 'status', 'payment_status') fieldsets = ( ('Gig', { @@ -12,7 +12,7 @@ class GigAdmin(admin.ModelAdmin): 'title', 'pitch', ('payment', 'pay_type'), - ('status', 'pub_date', 'payment_status'), + ('status', 'pub_date', 'payment_status', 'invoice_date'), 'publisher', 'pub_item' ), -- cgit v1.2.3-70-g09d2