New reports
Added per term fare paid to traveller model Fixed parent in emergency contacts report
This commit is contained in:
@@ -93,7 +93,7 @@ class Shuttle(models.Model):
|
||||
ordering = ["school__name"]
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.bus.route_name} -> {self.school.shortName}"
|
||||
return f"{self.school.shortName} <-> {self.bus.route_name}"
|
||||
|
||||
|
||||
class Driver(models.Model):
|
||||
@@ -187,6 +187,10 @@ class Traveller(models.Model):
|
||||
eligibility_status = models.CharField(max_length=1, choices=ELIGIBILITY_STATUS)
|
||||
assessment_date = models.DateField(blank=True, null=True)
|
||||
fee_per_term = models.DecimalField(decimal_places=2, max_digits=5, blank=True, null=True)
|
||||
term_1_paid = models.BooleanField(default=False)
|
||||
term_2_paid = models.BooleanField(default=False)
|
||||
term_3_paid = models.BooleanField(default=False)
|
||||
term_4_paid = models.BooleanField(default=False)
|
||||
application_form_completed = models.BooleanField()
|
||||
parent_notified = models.BooleanField()
|
||||
seat_number = models.CharField(max_length=5, blank=True)
|
||||
|
||||
Reference in New Issue
Block a user