improved excel formatting
This commit is contained in:
@@ -114,14 +114,14 @@ class HourBuildingLegFlight(HourBuildingLegBase):
|
||||
verbose_name = "Flight leg"
|
||||
verbose_name_plural = "Flight legs"
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.departure} -> {self.destination}"
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
self.departure = self.departure.upper().strip()
|
||||
self.destination = self.destination.upper().strip()
|
||||
super().save(*args, **kwargs)
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.departure} -> {self.destination}"
|
||||
|
||||
class HourBuildingLegStop(HourBuildingLegBase):
|
||||
|
||||
refuel = models.BooleanField(
|
||||
|
||||
Reference in New Issue
Block a user