Changeset 248b30b
- Timestamp:
- Feb 3, 2010, 3:30:03 AM (15 years ago)
- Branches:
- master, client
- Children:
- b7fc501
- Parents:
- 88e897a
- git-author:
- Alex Dehnert <adehnert@…> (02/03/10 03:30:03)
- git-committer:
- Alex Dehnert <adehnert@…> (02/03/10 03:30:03)
- Location:
- remit/vouchers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
remit/vouchers/admin.py
r92ca60e r248b30b 18 18 ('Expense details', {'fields': ['name', 'description', 'amount', 'budget_area', 'budget_term', ] }), 19 19 ('Request metadata', {'fields': ['submitter', 'request_time', 'approval_time', 'approval_status', 'printing_time', ]}), 20 ('Recipient', {'fields': ['check_to_ name', 'check_to_email', 'check_to_addr', ] }),20 ('Recipient', {'fields': ['check_to_first_name', 'check_to_last_name', 'check_to_email', 'check_to_addr', ] }), 21 21 ] 22 list_display = ('name', 'submitter', 'check_to_ name', 'amount', 'budget_area', 'budget_term', )22 list_display = ('name', 'submitter', 'check_to_first_name', 'check_to_last_name', 'amount', 'budget_area', 'budget_term', ) 23 23 24 24 -
remit/vouchers/models.py
r92ca60e r248b30b 13 13 class ReimbursementRequest(models.Model): 14 14 submitter = models.CharField(max_length=10) # MIT username of submitter 15 check_to_name = models.CharField(max_length=50, verbose_name="check recipient's name") 15 check_to_first_name = models.CharField(max_length=50, verbose_name="check recipient's first name") 16 check_to_last_name = models.CharField(max_length=50, verbose_name="check recipient's last name") 16 17 check_to_email = models.EmailField(verbose_name="email address for check pickup") 17 18 check_to_addr = models.TextField(blank=True, verbose_name="address for check mailing", help_text="For most requests, this should be blank for pickup in SAO (W20-549)") … … 28 29 29 30 def __unicode__(self, ): 30 return "%s: %s (%s) (by %s) for $%s in %s during%s" % (31 return "%s: %s %s (%s) (by %s) for $%s" % ( 31 32 self.name, 32 self.check_to_name, 33 self.check_to_first_name, 34 self.check_to_last_name, 33 35 self.check_to_email, 34 36 self.submitter, 35 37 self.amount, 36 self.budget_area.name,37 self.budget_term.name,38 38 ) 39 39 -
remit/vouchers/views.py
rfedcbcf r248b30b 21 21 'budget_area', 22 22 'expense_area', 23 'check_to_name', 23 'check_to_first_name', 24 'check_to_last_name', 24 25 'check_to_email', 25 26 'check_to_addr',
Note: See TracChangeset
for help on using the changeset viewer.