{"action":"created","issue":{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/777","labels_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/777/labels{/name}","comments_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/777/comments","events_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/777/events","html_url":"https://github.com/FWAJL/FieldWorkAssistantMVC/issues/777","id":64777627,"number":777,"title":"Enable viewing of PDF template forms","user":{"login":"bsaiken","id":8228624,"avatar_url":"https://avatars.githubusercontent.com/u/8228624?v=3","gravatar_id":"","url":"https://api.github.com/users/bsaiken","html_url":"https://github.com/bsaiken","followers_url":"https://api.github.com/users/bsaiken/followers","following_url":"https://api.github.com/users/bsaiken/following{/other_user}","gists_url":"https://api.github.com/users/bsaiken/gists{/gist_id}","starred_url":"https://api.github.com/users/bsaiken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsaiken/subscriptions","organizations_url":"https://api.github.com/users/bsaiken/orgs","repos_url":"https://api.github.com/users/bsaiken/repos","events_url":"https://api.github.com/users/bsaiken/events{/privacy}","received_events_url":"https://api.github.com/users/bsaiken/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/labels/priority:very%20high","name":"priority:very high","color":"e11d21"},{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/labels/status:ready%20to%20start","name":"status:ready to start","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"mehedee1","id":10713111,"avatar_url":"https://avatars.githubusercontent.com/u/10713111?v=3","gravatar_id":"","url":"https://api.github.com/users/mehedee1","html_url":"https://github.com/mehedee1","followers_url":"https://api.github.com/users/mehedee1/followers","following_url":"https://api.github.com/users/mehedee1/following{/other_user}","gists_url":"https://api.github.com/users/mehedee1/gists{/gist_id}","starred_url":"https://api.github.com/users/mehedee1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehedee1/subscriptions","organizations_url":"https://api.github.com/users/mehedee1/orgs","repos_url":"https://api.github.com/users/mehedee1/repos","events_url":"https://api.github.com/users/mehedee1/events{/privacy}","received_events_url":"https://api.github.com/users/mehedee1/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/milestones/26","html_url":"https://github.com/FWAJL/FieldWorkAssistantMVC/milestones/PDF%20Form%20Integration","labels_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/milestones/26/labels","id":1042627,"number":26,"title":"PDF Form Integration","description":"Handle fillable PDF forms for use by Field Technicians.  Requires the following steps:\r\n\r\nEnable viewing of fillable PDF form templates.\r\nWhen a Task is activated, generate required fillable pdf forms from Task template forms.  This will be done is several steps.\r\n a)  Generate Location-specific pdf forms from the template form.\r\n b)  Generate a Task-specific pdf froms from the template where the number of Locations is fewer than the form capacity.\r\n c)  Generate Task-specific pdf forms from the template where the number of Locations is greater than the form capacity.\r\n d) as in a), generate the Location-specific pdf forms and populate the Location field in the new forms.\r\n e) as in b), generate a Task-specific pdf form and add the Task Locations to the form in the Location fields.\r\n f) as in c) generate the required number of Task-specific pdf forms and add the Task Locations to the forms in the Location fields.\r\n g) repeat d), e) and f) and populate additional form fields (to be specified).\r\n h) generate a COC form with all required fields populated.\r\n\r\nThis is all until the Mobile module is created. ","creator":{"login":"bsaiken","id":8228624,"avatar_url":"https://avatars.githubusercontent.com/u/8228624?v=3","gravatar_id":"","url":"https://api.github.com/users/bsaiken","html_url":"https://github.com/bsaiken","followers_url":"https://api.github.com/users/bsaiken/followers","following_url":"https://api.github.com/users/bsaiken/following{/other_user}","gists_url":"https://api.github.com/users/bsaiken/gists{/gist_id}","starred_url":"https://api.github.com/users/bsaiken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsaiken/subscriptions","organizations_url":"https://api.github.com/users/bsaiken/orgs","repos_url":"https://api.github.com/users/bsaiken/repos","events_url":"https://api.github.com/users/bsaiken/events{/privacy}","received_events_url":"https://api.github.com/users/bsaiken/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2015-03-28T02:00:00Z","updated_at":"2015-03-29T03:15:32Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2015-03-27T14:56:34Z","updated_at":"2015-04-02T17:27:22Z","closed_at":null,"body":"@mehedee1 @FWAJL \r\n\r\nNormally, we have developers work on a feature branch with github.  However, yours is a unique and special case.  For the time being, I will have you put your edits directly on Bluehost.  Let me know if you need anything (e.g. Bluehost ftp account/password) to set that up. \r\n\r\nAll your Issues, which I will prepare this weekend, will be under the Milestone \"PDF Form Integration\".\r\n\r\nI have set up a sample Task on the http://dev.fieldworkassistant.net site.  To view the site, log in with\r\nusername = test\r\npassword = test\r\nNavigate to the Task by clicking Task > List All, right click on `PDF Task` and click edit, then click the `Forms` tab.\r\nYou will see the form \"Well Purge\".  \r\n\r\nRight click to see the contextual menu with the option to \"View\" the form.  \r\n\r\nClicking on \"View\" shall open the form.  We are using lightbox to view photos, so if you can use lightbox, that would be preferred.\r\n\r\nYou will need to modify task_form.js to add the contextual menu.  Most controllers have contextual menus, so you should be able to easily find the js code snippet for a contextual menu.\r\nIf you are able to use lightbox to display the pdf, a good controller file to find code snippets (if appropriate) would be technician_manager.js.\r\n\r\nLet me know if you need any assistance with this Issue."},"comment":{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/comments/88980935","html_url":"https://github.com/FWAJL/FieldWorkAssistantMVC/issues/777#issuecomment-88980935","issue_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/777","id":88980935,"user":{"login":"mehedee1","id":10713111,"avatar_url":"https://avatars.githubusercontent.com/u/10713111?v=3","gravatar_id":"","url":"https://api.github.com/users/mehedee1","html_url":"https://github.com/mehedee1","followers_url":"https://api.github.com/users/mehedee1/followers","following_url":"https://api.github.com/users/mehedee1/following{/other_user}","gists_url":"https://api.github.com/users/mehedee1/gists{/gist_id}","starred_url":"https://api.github.com/users/mehedee1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehedee1/subscriptions","organizations_url":"https://api.github.com/users/mehedee1/orgs","repos_url":"https://api.github.com/users/mehedee1/repos","events_url":"https://api.github.com/users/mehedee1/events{/privacy}","received_events_url":"https://api.github.com/users/mehedee1/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T17:27:22Z","updated_at":"2015-04-02T17:27:22Z","body":"If you can show me relation between form name on web and pdf name, I could figure out."}}