mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Added default value to Invoice.void (False)
This commit is contained in:
@@ -317,7 +317,7 @@ class EventCrew(models.Model):
|
||||
class Invoice(models.Model):
|
||||
event = models.OneToOneField('Event')
|
||||
invoice_date = models.DateField(auto_now_add=True)
|
||||
void = models.BooleanField()
|
||||
void = models.BooleanField(default=False)
|
||||
|
||||
@property
|
||||
def sum_total(self):
|
||||
|
||||
Reference in New Issue
Block a user