schwalbe Posted March 9, 2009 Report Share Posted March 9, 2009 Hello , phpVMS seems to be a very powerful tool for managing airlines. I am the Chairman and Founder of the DCVA (DCVA.net). We are operating at the whole world, flying VIPs with our Bizjets. The thing is, that i have thought of chaning our old manual programmed booking system to phpVMS. 1. At the Flightplan section, is it possible to create turns with more than one flight. So that a pilot is able to book a "job" with multiple flights ? 2. Is it possible to report manual flights ? Flights where no Flightplan was generated , and the pilots flew just for fun with our Aircrafts ? Thanks for your support and your answers Best regards Moritz Quote Link to comment Share on other sites More sharing options...
Strider Posted March 9, 2009 Report Share Posted March 9, 2009 answer to question one, all they have to do is find the flights and add them to their bids, and to answer your second question, they can file a pirep that is not in your database but as long as the airport is, then your pilots can fly whatever route they want. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
maxwaldorf Posted March 9, 2009 Report Share Posted March 9, 2009 1. At the Flightplan section, is it possible to create turns with more than one flight. So that a pilot is able to book a "job" with multiple flights ? Nope, you'll have to check it manually once your pilots have posted their flights... 2. Is it possible to report manual flights ? Flights where no Flightplan was generated , and the pilots flew just for fun with our Aircrafts ? With our company, we passed out this limitation by assigning : Flight N1 = Charter flight within country Flight N2 = Charter flight within Europe ... Just create dummy flight with N°1, ... (But, NEVER PUSH THE RECALULATE DISTANCES BUTTON IN ADMIN INTERFACE !!!) As for the PIREP, I modified the template pirep_new.tpl with this one : <h3>File a Flight Report</h3> <?php if($message!='') echo '<div id="error">'.$message.'</div>'; ?> <form action="<?php echo SITE_URL?>/index.php/pireps/mine" method="post"> <dl> <dt>Pilot:</dt> <dd><strong><?php echo Auth::$userinfo->firstname . ' ' . Auth::$userinfo->lastname;?></strong></dd> <dt>Select Airline:</dt> <dd> <select name="code" id="code"> <option value="">Select your airline</option> <?php foreach($allairlines as $airline) { $sel = ($_POST['code'] == $airline->code || $bid->code == $airline->code)?'selected':''; echo '<option value="'.$airline->code.'" '.$sel.'>'.$airline->name.'</option>'; } ?> </select> </dd> <dt>Enter Flight Number:</dt> <dd><input type="text" name="flightnum" value="<?php echo $bid->flightnum?><?php echo $_POST['flightnum'] ?>" /></dd> <dt>Select Departure Airport:</dt> <dd> <input type="text" name="depicao" value="<?php echo $_POST['depicao'] ?>" /> </dd> <dt>Select Arrival Airport:</dt> <dd> <input type="text" name="arricao" value="<?php echo $_POST['arricao'] ?>" /> </dd> <dt>Select Aircraft:</dt> <dd> <select name="aircraft" id="aircraft"> <option value="">Select the aircraft of this flight</option> <?php foreach($allaircraft as $aircraft) { $sel = ($_POST['aircraft'] == $aircraft->name || $bid->registration == $aircraft->registration)?'selected':''; echo '<option value="'.$aircraft->id.'" '.$sel.'>'.$aircraft->name.' - '.$aircraft->registration.'</option>'; } ?> </select> </dd> <?php // List all of the custom PIREP fields if(!$pirepfields) $pirepfields = array(); foreach($pirepfields as $field) { ?> <dt><?php echo $field->title ?></dt> <dd> <?php // Determine field by the type if($field->type == '' || $field->type == 'text') { ?> <input type="text" name="<?php echo $field->name ?>" value="<?php echo $_POST[$field->name] ?>" /> <?php } elseif($field->type == 'textarea') { echo '<textarea name="'.$field->name.'">'.$field->values.'</textarea>'; } elseif($field->type == 'dropdown') { $values = explode(',', $field->options); echo '<select name="'.$field->name.'">'; foreach($values as $value) { $value = trim($value); echo '<option value="'.$value.'">'.$value.'</option>'; } echo '</select>'; } ?> </dd> <?php } ?> <dt>Fuel Used</dt> <dd><input type="text" name="fuelused" value="<?php echo $_POST['fuelused']; ?>" /> <p>This is the fuel used on this flight in <?php echo Config::Get('LIQUID_UNIT_NAMES', Config::Get('LiquidUnit'))?></p></dd> <dt>Flight Time</dt> <dd><input type="text" name="flighttime" value="<?php echo $_POST['flighttime'] ?>" /> <p>Enter as hours - "5.5" is five hours and thirty minutes</p></dd> <dt>Comment</dt> <dd><textarea name="comment" style="width: 100%"><?php echo $_POST['comment'] ?></textarea></dd> <dt></dt> <dd><?php $bidid = ($bid)?$bid->bidid:$_POST['bid']; ?> <input type="hidden" name="bid" value="<?php echo $bidid ?>" /> <input type="submit" name="submit_pirep" value="File Flight Report" /></dd> </dl> </form> (It's probably not bug free, and use it at your own risk!) Just be aware that you'll have to enter airports manually from the Admin interface when validating PIREPs... Hope it helped ! ( Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 9, 2009 Administrators Report Share Posted March 9, 2009 Hmm max, I'm trying to understand what you're doing. Seems interesting, just wondering if there are any side-effects from the system's side. And welcome to the forum, schwalbe, for the first question, yes there are bids As for the second question, there is no 'free-flight' per say, just schedule'd flights, but max might have a work-around Quote Link to comment Share on other sites More sharing options...
maxwaldorf Posted March 9, 2009 Report Share Posted March 9, 2009 In fact, the system just take whatever ICAO code into account but the map wil not show up if the ICAO code does not exist... As for the modification, just changed the fields ICAO codes from Droplist to text field... Removed the div fields because of some limitations with firefox (text field changes to droplist)... Cheers ! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 10, 2009 Administrators Report Share Posted March 10, 2009 Interesting, it doesn't find a schedule though. I'll have to look over that Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.