Jump to content

Nabeel

Administrators
  • Posts

    8147
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Updated Tickets: [VMS-283] - TOTAL_HOURS missing in install/update [VMS-284] - Pilot pay not calculated correctly [VMS-285] - Use 7 for Sunday in addition to 0 [VMS-286] - Edit Expenses shows error [VMS-287] - Cache issues with airlines [VMS-288] - Add 'asp_tags' check to checkinstall script Changed Files: m admin/templates/finance_expenselist.tpl m core/common/OperationsData.class.php m core/common/PIREPData.class.php m core/templates/schedule_results.tpl m core/version m install/checkinstall.php m install/hashlist m install/install.sql m install/structure.xml m install/update.sql VMS-283 VMS-284 VMS-285 VMS-286 VMS-287 VMS-288 #closed fixed View complete changes Download from here
  2. Changed Files: m admin/templates/finance_expenselist.tpl m core/common/OperationsData.class.php m core/common/PIREPData.class.php m core/templates/schedule_results.tpl m core/version m install/checkinstall.php m install/hashlist m install/install.sql m install/structure.xml m install/update.sql VMS-283 VMS-284 VMS-285 VMS-286 VMS-287 VMS-288 #closed fixed View complete changes Download from here
  3. Updated Tickets: [VMS-283] - TOTAL_HOURS missing in install/update [VMS-284] - Pilot pay not calculated correctly [VMS-285] - Use 7 for Sunday in addition to 0 [VMS-286] - Edit Expenses shows error [VMS-287] - Cache issues with airlines [VMS-288] - Add 'asp_tags' check to checkinstall script Changed Files: m admin/templates/finance_expenselist.tpl m core/common/OperationsData.class.php m core/common/PIREPData.class.php m core/templates/schedule_results.tpl m core/version m install/checkinstall.php m install/hashlist m install/install.sql m install/structure.xml m install/update.sql VMS-283 VMS-284 VMS-285 VMS-286 VMS-287 VMS-288 #closed fixed View complete changes Download from here
  4. Looks like a Windows server with that path. Error 500 is a server error, check your server logs, might be some clues in there
  5. No prob! Let us know if you need more help!
  6. DO NOT do this! Bad bad bad idea! I posted the fix for the problem above
  7. Cool, I've fixed the bug, and it'll be in the next update. Thanks
  8. That's going to break ALOT of things. There's a few other threads too, did you look through those? Like I said, I need those log files to see if there's anything wrong in there
  9. Under maintenance, try clearing the cache
  10. You're on the right track. You'd do: $position = PilotData::getFieldValue($pilot->pilotid, 'RANK'); // RANK is the name of the custom field $output = array(); $output[] = $pilotcode.' '. $pilot->firstname.' '.$pilot->lastname; $output[] = $position; $output[] = $pilot->rank.', '.$pilot->hub; $output[] = 'Total Flights: ' . $pilot->totalflights; $output[] = 'Total Hours: ' . $totalhours; Something like that
  11. Nabeel

    Finance Data

    Crap. I guess it should be: SUM(p.pilotpay * p.flighttime) as pilotpay
  12. Nabeel

    Expenses

    Crap, bug added: http://bugs.phpvms.net/browse/VMS-286
  13. Did you guys update the lib/js folder, specifically lib/js/phpvms.js?
  14. The skeleton is in install/templates/config.tpl
  15. http://bugs.phpvms.net/browse/VMS-285 Edit: The problem is the PHP date function says Sunday is 0. You can set in Excel that column as a string so it won't chop off the zero. Or in the schedule_results.tpl, you can do: Find this: if(strpos($route->daysofweek, date('w')) === false) continue; Right above that, add: /* Check if a 7 is being used for Sunday, since PHP thinks 0 is Sunday */ $route->daysofweek = str_replace('7', '0', $route->daysofweek); I've updated the default template to handle this
  16. Nabeel

    Finance Data

    http://bugs.phpvms.net/browse/VMS-284
  17. Bug added http://bugs.phpvms.net/browse/VMS-283
  18. Can you guys enable debug_log and check the logs folder, and email me the the logs folder zipped up?
  19. Create a custom field and make it private. Then in the generateSignatures() function in PilotData, you can call getFieldValue() I think to pull that value (look in the profile template for the exact call) and that'll output it in..
  20. In LA for the weekend on work/mini-vacation!
  21. Finally fixed that pesky /lib/phpvms.js
  22. Hi everyone, I've just released a supplemental update for 2.1 which fixes a bunch of bugs people have found. It's available right now. Thank you everyone for your patience! -Nabeel
×
×
  • Create New...