Administrators Jon Erickson Posted November 14, 2018 Administrators Share Posted November 14, 2018 A jam packed update has been released for PERSCOM! Check out the changelog below to see whats been updated! All the updates are at the request of our users! Keep the suggestions coming! We want this application to be about you! IMPORTANT NOTICE: There has been a huge update to the back end on how our object models are handled (Soldier, Rank, Record etc.) What this translates to is, almost every template file has been updated to reflect these changes. If you customized any PERSCOM templates, you need to revert your changes back to PERSCOM or YOU WILL experience massive errors. This doesn't mean you can't customize your template files, but you need to start from the original file and reapply your edits. Added You can now hide a users email on their personnel file through the personnel settings. Service, Combat and Assignment records search has been upgraded and is more powerful. Searching will now search through the record text as well. When editing a promotion, demotion, or award, you can now edit the service record text as well. You can now process multiple promotions, demotions and awards at once through the "Add Service Record" form. You can now assign group permissions to a personnel action request form and select which group can manage submissions of that form. A fully integrated applicant/recruiter interface that allows you to interact with your applicant on a personal level. All application notes/updates can be posted to the forum topic as well. Changed The Activity Tracker and Personnel Action Request menu links have been moved around in the ACP. They are now their own individual modules which will allow for expansion in the future. Assignment, Combat and Service records have also been confined to one module which has also caused them their menu links to be arranged under a single Records tab. Assignment Record search bug has been fixed. There is no more "batch" operations for service and combat records. When you click the Add Service Record/Combat Record, you can either select one soldier or multiple. Template updates Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Arthur Cantu Posted November 14, 2018 Share Posted November 14, 2018 2 hours ago, Jon Erickson said: If you customized any PERSCOM templates, you need to revert your changes back to PERSCOM or YOU WILL experience massive errors. lol. I took a quick look, actually looks not too bad, logically it makes better sense. 1 Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted November 14, 2018 Author Administrators Share Posted November 14, 2018 Building relational databases can be difficult. If you take a look at a soldier row in your perscom_personnel data, you'll see almost every column contains no data, but an integer ID pointer to another DB table. Before this update, the soldier object had an custom load statement that used several DB table JOIN methods to fetch all the data for the object. This worked well, but behind the scenes, I had to call a load on every object I wanted to update (Rank/Unit/Position etc.) Fast forward, the soldier object, as well as most other objects contains custom getters/setters for each property so when I call $soldier->rank in the background, I get the actually rank object where I can perform actions on it, not just an array of data. Hope this makes sense. Examples: Now to get a soldiers rank, it will be: $soldier->rank->name; Or their abbreviation: $soldier->rank->name_abbreviation; Or combat unit: $soldier->combat_unit->name; 1 Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Arthur Cantu Posted November 14, 2018 Share Posted November 14, 2018 Makes perfect sense, and looks logically easier to manage from the template point of view as well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.