ukmil Posted June 21, 2011 Report Share Posted June 21, 2011 I noticed an error is the ADMIN/View bids page the PILOT listed against the bid, had an incorrect PILOT ID. So i checked the code, and it simply copied the Flight number by mistake here is the code in the Pilots_viewallbids.tpl <tr id="row<?php echo $bid->bidid?>"> <td><?php echo $bid->code.$bid->flightnum."({$bid->depicao} - {$bid->arricao})"?></td> <td><?php echo PilotData::GetPilotCode($bid->code, $bid->flightnum).' - '.$bid->firstname.' '.$bid->lastname; ?></td> <td><?php echo $bid->dateadded; ?></td> <td> <button href="<?php echo SITE_URL?>/admin/action.php/pilotadmin/viewbids" action="deletebid" id="<?php echo $bid->bidid;?>" class="deleteitem {button:{icons:{primary:'ui-icon-trash'}}}"> Delete</button> </td> </tr> notice before the FIRSTNAME, it repeats FLIGHTNUM, instead of the PILOT ID just an obsveration 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.