phpVMS Module for pilots to submit a Hub Transfer request that is stored in a database and an option for staff to view all the requests through the admin panel and decide to reject/approve the request.
When the requests are submitted, both the users and the admin will get an email. Once the request is handled, a secon email is sent to the user.
You can change the pilot’s hub from inside the addon.
nono sorry this is old problem in my internal sql problem, now i have this problem
hi have a problem, i have send my first hub request transfer, i have accept my transfer request and re-send another transfer request but received this error:
You already have a hub transfere request submitted for your ID. We will notify you when the staff team reviews your request.
Once you send the first request it is stored in the database until you delete it manually. Until then you can’t submit another request. The last part of the error message was supposed to be deleted but stayed there from the initial version which handled requests differently. It is now fixed in the latest commit. Anyhow, the way I coded the addon is that all the requests stay in the databse thus preventing from submitting the request again (why would anyone change their hub twice?). If you would like to see an option for this also, I will be happy to add it in the morning.
To sum up, the addon is working as it should be.
It seems you edited your post some time so I hope I answered your question.
Sorry, I edited the post to provide more info while you were writting. Anyhow, you can delete the request manually from phpmyadmin but if you want I can add the option to do that from the admin panel if you like.
I haven’t added this option for the reason stated in the post above but it can easily be added.
For some reason, I do not get the hub options show up when someone tries to change hubs?! It is just blank in the drop down part where you would try to select the new hub
I am not sure what could be the issue. No one including me has that. The method for getting the hub is extremely simple and there should be no issues with that. It just selects all the ICAOs from the phpvms_airports table where the column HUB has a value of ‘1’ (true) and than lists them.
Yes, that is the issue. Please download the new core/common/HubTransferData.class.php file from the repository. It is the only one that needs changing.