Jump to content

Recommended Posts

Posted

We launched our new system, which is based on phpvms yesterday and took entered the hours and flights the pilots had already flown into the database (not into the column transfer hours but into the real totalhours column).

Now those hours get deleted after the first flight is accepted. Is there a solution to this or am I doing something wrong.

Thanks in advance.

Lauritz

Posted

Ok, thanks for the fast response.

The weird thing is that the method I used is working for some users. But if the total hours get calculated by the flighttime of the pirep is there a way to have the rank set by all the hours (transfer + pirep hours) or is it done this way anyway?

Posted

Ok thanks. Something else has come to my mind, as our system uses the hours out of the column total hours pretty often and we'd have to change some things. Is there a function somewhere that calculates the value for total hours once the flights get sent (or accepted). If this is the case couldn't I just add the hours out of transfer hours in there? That would save us some work ;)

Posted

Hm you can look for the functions in PilotData.class.php but i'm pretty sure there are more than just 1 function that would need to be updated.

I honestly wouldnt do it that way. Just sum the amount of both fields on output.

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...