Jump to content

Nabeel

Administrators
  • Posts

    8149
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. What webserver and OS?
  2. Nabeel

    Finance Data

    Give 931 a shot..
  3. Thanks! Back now, though
  4. I'm moving this to addons
  5. 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
  6. 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
  7. 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
  8. Looks like a Windows server with that path. Error 500 is a server error, check your server logs, might be some clues in there
  9. No prob! Let us know if you need more help!
  10. DO NOT do this! Bad bad bad idea! I posted the fix for the problem above
  11. Cool, I've fixed the bug, and it'll be in the next update. Thanks
  12. 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
  13. Under maintenance, try clearing the cache
  14. 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
  15. Nabeel

    Finance Data

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

    Expenses

    Crap, bug added: http://bugs.phpvms.net/browse/VMS-286
  17. Did you guys update the lib/js folder, specifically lib/js/phpvms.js?
  18. The skeleton is in install/templates/config.tpl
  19. 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
  20. Nabeel

    Finance Data

    http://bugs.phpvms.net/browse/VMS-284
  21. Bug added http://bugs.phpvms.net/browse/VMS-283
  22. Can you guys enable debug_log and check the logs folder, and email me the the logs folder zipped up?
  23. 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..
  24. In LA for the weekend on work/mini-vacation!
  25. Currently over the Rockies
×
×
  • Create New...