phpVMS addon for pilots to submit a LoA request that is stored in a database and an option for staff to view, delete and edit all the LoA requests through the admin panel.
The addon checks if the requested leave lenght is longer than the specified number of days. It uses the date of submission as a start date.
When the LoA requests are submitted, both the users and the admin will get an email.
Just some information. I didn’t get any time to work with the addon on fixing the date format issues lately due to other things but I will try and do it as soon as I can.
I encourage all of you to try the addon and leave feedback! Also, all suggestions for further addons can be left here:
Are you sure that there isn’t a request? The addon comes with one request already in there to show the functionality.Check the actual table in phpmyadmin. I have tried out the addon on my test site and it works perfectly.
Also, check the Hub Transfer thread, I have updated it.
public function CheckPilotID ($pilotid)
{
$query = "SELECT * FROM loa WHERE pilotid ='$pilotid'";
$sql = mysql_query($query);
$count = mysql_num_rows($sql); //this is added
return $count; //$sql changed to $count
}
Hi there, I have this error after installing this mod:
Notice : The template file “/home/jdsarcco/public_html/uvsaaf//core/templates/loa/loa_index.tpl” doesn’t exist in /home/jdsarcco/public_html/uvsaaf/core/classes/TemplateSet.class.php on line 248
well, the problem is the double forward slash in the URL before the first CORE, but I dont know where to fix it?
That is not the problem. You haven’t installed the templates correctly. Please make sure that you have the loa_index.tpl file inside core/templates/loa.
That is not the problem. You haven’t installed the templates correctly. Please make sure that you have the loa_index.tpl file inside core/templates/loa.
Hi, I have double checked it, and all are in the locations as instructed. I also have a similar error with the admin page