Ignore:
Timestamp:
08/18/12 09:09:38 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

The number of the crew and the passengers as well as all payload weights can be edited

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/web.py

    r298 r303  
    684684        data["depap"] = bookedFlight.departureICAO
    685685        data["arrap"] = bookedFlight.arrivalICAO
    686         data["pass"] = str(bookedFlight.numPassengers)
    687         data["crew"] = str(bookedFlight.numCrew)
     686        data["pass"] = str(pirep.numPassengers)
     687        data["crew"] = str(pirep.numCrew)
    688688        data["cargo"] = str(pirep.cargoWeight)
    689         data["bag"] = str(bookedFlight.bagWeight)
    690         data["mail"] = str(bookedFlight.mailWeight)
     689        data["bag"] = str(pirep.bagWeight)
     690        data["mail"] = str(pirep.mailWeight)
    691691       
    692692        data["flttype"] = SendPIREP._flightTypes[pirep.flightType]
Note: See TracChangeset for help on using the changeset viewer.