changed backend to not actually assign Tickets, working on getting the assign SR button to have its intended functionality.
This commit does several things.
I am assigning functionality to the assign button. I added a variable in the queue controller scope, currentUser to store the username for assigning SRs.
It scrolls the screen back to the top when selecting an SR.
I moved the APIServer variable out of hardcoded values in the controller.
I set filterSubscribedQueues to default to true.
Upon selecting an SR, the screen scrolls to the top.
I also added more logging to assignSR and commented out the actual assigning part of the code so I can test.
This is where I'm going to store the apiURI and nodeURI variables.
going to start working on moving functionality from controller to services.
selectSR() will now merge the two SR objects and set the $scope.selectedSR to the new merged object.
Some of the information coming from /api/v1/SRs/<sr> is not accurate, specifically the timestamps. Will need to look into that db query. In the mean time, have switched order and are favoring the wallboard data.
Adding more information to SRinfo
callback icon not showing. changed "Call" to "Callback" in the queue-item template
beginning to implement toastr for better user notifications
some merge fixes
some merge fixes
removed meanjs logos
changed the /api/v1/SRs/:sr_number.post to .put and tested.
adding data to dropup menu, also fixed for ui.bootstrap.
Working on getting ng-options working for the assignOther selection. I think there might be something wrong with ui-bootstrap or maybe angular.
removed a few more autogenerated files from meanjs generator
changed backend to not actually assign Tickets, working on getting the assign SR button to have its intended functionality.
This commit does several things.
I am assigning functionality to the assign button. I added a variable in the queue controller scope, currentUser to store the username for assigning SRs.
It scrolls the screen back to the top when selecting an SR.
I moved the APIServer variable out of hardcoded values in the controller.
I set filterSubscribedQueues to default to true.
Upon selecting an SR, the screen scrolls to the top.
I also added more logging to assignSR and commented out the actual assigning part of the code so I can test.
selectSR() will now merge the two SR objects and set the $scope.selectedSR to the new merged object.
Some of the information coming from /api/v1/SRs/<sr> is not accurate, specifically the timestamps. Will need to look into that db query. In the mean time, have switched order and are favoring the wallboard data.