Changeset 3235c66
- Timestamp:
- Jan 7, 2010, 1:12:27 AM (16 years ago)
- Branches:
- master, client
- Children:
- 68bd119
- Parents:
- 269db50
- git-author:
- Alex Dehnert <adehnert@…> (01/07/10 01:12:27)
- git-committer:
- Alex Dehnert <adehnert@…> (01/07/10 01:12:27)
- Location:
- treasury/vouchers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
treasury/vouchers/admin.py
r93e2ab9 r3235c66 16 16 17 17 fieldsets = [ 18 ('Expense details', {'fields': ['name', 'description', 'amount', 'budget_area', 'budget_term', ] }), 18 19 ('Request metadata', {'fields': ['submitter', 'request_time', 'approval_time', 'printing_time', ]}), 19 20 ('Recipient', {'fields': ['check_to_name', 'check_to_email', 'check_to_addr', ] }), 20 ('Expense details', {'fields': ['amount', 'budget_area', 'budget_term', ] }),21 21 ] 22 list_display = (' submitter', 'check_to_name', 'amount', 'budget_area', 'budget_term', )22 list_display = ('name', 'submitter', 'check_to_name', 'amount', 'budget_area', 'budget_term', ) 23 23 24 24 -
treasury/vouchers/models.py
r93e2ab9 r3235c66 17 17 approval_time = models.DateTimeField(blank=True) 18 18 printing_time = models.DateTimeField(blank=True) 19 name = models.CharField(max_length=50,) 20 description = models.TextField(blank=True) 19 21 20 22 def __unicode__(self, ): 21 return "%s (%s) (by %s) for $%s in %s during %s" % ( 23 return "%s: %s (%s) (by %s) for $%s in %s during %s" % ( 24 self.name, 22 25 self.check_to_name, 23 26 self.check_to_email,
Note: See TracChangeset
for help on using the changeset viewer.