Jump to content

saintlol

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by saintlol

  1. in the script the $price = $pilotid

    why i don't know ;)

    i create on phpvms_airports

    2 rows:

    charterprice and paxprice

    in charter php line 874

    i add some line:

    # Format the flight level

    $this->post->flightlevel = str_replace(',', '', $this->post->flightlevel);

    $this->post->flightlevel = str_replace(' ', '', $this->post->flightlevel);

    $this->post->route = strtoupper($this->post->route);

    $this->post->route = str_replace($this->post->depicao, '', $this->post->route);

    $this->post->route = str_replace($this->post->arricao, '', $this->post->route);

    $this->post->route = str_replace('SID', '', $this->post->route);

    $this->post->route = str_replace('STAR', '', $this->post->route);

    //saintlol: test recup price

    $recupdata = OperationsData::getAirportInfo($this->post->depicao);

    $chprice = $recupdata->charterprice;

    $this->post->price = $chprice;

    $this->post->flighttype ='C';

×
×
  • Create New...