Jump to content

admin/bids


ukmil

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...