Students under the age of 18 can now travel free of charge

This commit is contained in:
st01765
2025-12-16 14:54:52 +11:00
parent 1aeebc082d
commit 74d6f48136
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -216,7 +216,7 @@ class TravellerAdmin(MyImportExportModelAdmin, CloneModelAdmin, TravellerRollMix
cloneable_fields = ["last_name"]
search_fields = ["first_name", "last_name", "address"]
inlines = [FamilyInline, TravellerRouteInline]
readonly_fields = ["travel_start_date", "travel_end_date", "fare_paying", "created_on", "last_edit", "is_active", "address"]
readonly_fields = ["travel_start_date", "travel_end_date", "created_on", "last_edit", "is_active", "address"]
actions = ["export_to_csv", "send_sms", "confirmation_letter", "letter_creator"]
fieldsets = [
(None, {
@@ -237,7 +237,6 @@ class TravellerAdmin(MyImportExportModelAdmin, CloneModelAdmin, TravellerRollMix
"travel_start_date",
"travel_end_date",
"eligibility_status",
"fare_paying",
"term_1_paid",
"term_2_paid",
"term_3_paid",
+1 -1
View File
@@ -171,7 +171,7 @@ class Traveller(models.Model):
ELIGIBILITY_STATUS = [
("1", "Eligible"),
("2", "Fare Payer"),
("2", "Ineligible"),
("3", "<4.8 Exemption"),
("4", "Eligible waitlisted"),
("5", "Ineligible waitlisted"),