Moved roll some context to bus object
Added first_name to traveller ordering
This commit is contained in:
@@ -29,7 +29,7 @@ def email_companies_bus_roll(request, query_set=None):
|
||||
company_route = []
|
||||
|
||||
for route in context.get("routes"):
|
||||
if route.get("company") == company:
|
||||
if route.get("bus").company == company:
|
||||
company_route.append(route)
|
||||
if not company_route:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user