Is there a way to automatically mark the pilot as on Leave when he/she submit a LoA form? Also, in addition to that, then exclude the pilots marked as on Leave from the automatic retire function?
i become the following failure when i request a LoA
Warning : mysql_query() [function.mysql-query]: Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 23
Warning : mysql_query() [function.mysql-query]: A link to the server could not be established in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 23
Warning : mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 24
but its working and stay in the adminpanel
And then i become this failure when i will delete the LoA
Warning : mysql_query() [function.mysql-query]: Access denied for user ‘www-data’@‘localhost’ (using password: NO) in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 61
Warning : mysql_query() [function.mysql-query]: A link to the server could not be established in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 61
Warning : mysql_affected_rows() [function.mysql-affected-rows]: A link to the server could not be established in /www/htdocs/w00dac26/lausitzair/core/common/LoAData.class.php on line 62
Warning : mysql_affected_rows() [function.mysql-affected-rows]: A link to the server could not be established in /www/htdocs/w00dac26/lausitzair/admin/modules/LoA/LoA.php on line 63
I really like this addon, not sure of your time frame on adding a small touch to this already great addon, but it would be nice to be able to Approve the LOA Request via a button and to send an email to the Pilot requesting the LOA, via the View page.
Thinking have an Approve button below the Information provided in the View page and when you click on that button it pulls a form up to enter your comments concerning the LOA Request approval and a send button to send that info to the requesting Pilot via email.
Thanks for your great addons. Greatly appreciated I am sure by all here.
Added version checker - Checks current version to the current one specified on the server.
Modified Date Choser - The date is now selected from a dropdown menu as opposed to being typed in.
Date Format Modified - The displayed data formats now use the phpVMS DATE_FORMAT variable and the times are now saved as a unix timestamp as opposed to a date string.
Direct Method Access Prohibited - Added checks to stop load loading of page if the form was not submitted.
Moved Emailing functions to a separate method in the class
Pilot Names in the Admin CP now pulled from the pilots table, not the LoA table. Names are no longer stored in the LoA table.
In the LOA application itself (That pilots complete): Fatal error : Class ‘LoAData’ not found in /home/vforg/public_html/core/modules/LoA/LoA.php on line 66
Here is the code for Line 66: $pilotid_check = LoAData::CheckPilotID($data[‘pilotid’]);
On the Admins side: Fatal error : Class ‘LoAData’ not found in /home/vforg/public_html/admin/modules/LOA/LOA.php on line 35
Here is the code for line 35: $leaves = LoAData::GetAllRequests(array());
I have not changed anything, all I did was slide the folders into the respective areas and used the los.sql to set up the sql side.