{"action":"opened","issue":{"url":"https://api.github.com/repos/GCSO2/D3S-INVENTORY/issues/113","repository_url":"https://api.github.com/repos/GCSO2/D3S-INVENTORY","labels_url":"https://api.github.com/repos/GCSO2/D3S-INVENTORY/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/GCSO2/D3S-INVENTORY/issues/113/comments","events_url":"https://api.github.com/repos/GCSO2/D3S-INVENTORY/issues/113/events","html_url":"https://github.com/GCSO2/D3S-INVENTORY/issues/113","id":153530291,"number":113,"title":"Cloud: RO Detail Screen - Add Labour History Tab ","user":{"login":"giovanicani","id":5666297,"avatar_url":"https://avatars.githubusercontent.com/u/5666297?v=3","gravatar_id":"","url":"https://api.github.com/users/giovanicani","html_url":"https://github.com/giovanicani","followers_url":"https://api.github.com/users/giovanicani/followers","following_url":"https://api.github.com/users/giovanicani/following{/other_user}","gists_url":"https://api.github.com/users/giovanicani/gists{/gist_id}","starred_url":"https://api.github.com/users/giovanicani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovanicani/subscriptions","organizations_url":"https://api.github.com/users/giovanicani/orgs","repos_url":"https://api.github.com/users/giovanicani/repos","events_url":"https://api.github.com/users/giovanicani/events{/privacy}","received_events_url":"https://api.github.com/users/giovanicani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tufailzafar","id":5826517,"avatar_url":"https://avatars.githubusercontent.com/u/5826517?v=3","gravatar_id":"","url":"https://api.github.com/users/tufailzafar","html_url":"https://github.com/tufailzafar","followers_url":"https://api.github.com/users/tufailzafar/followers","following_url":"https://api.github.com/users/tufailzafar/following{/other_user}","gists_url":"https://api.github.com/users/tufailzafar/gists{/gist_id}","starred_url":"https://api.github.com/users/tufailzafar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tufailzafar/subscriptions","organizations_url":"https://api.github.com/users/tufailzafar/orgs","repos_url":"https://api.github.com/users/tufailzafar/repos","events_url":"https://api.github.com/users/tufailzafar/events{/privacy}","received_events_url":"https://api.github.com/users/tufailzafar/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GCSO2/D3S-INVENTORY/milestones/2","html_url":"https://github.com/GCSO2/D3S-INVENTORY/milestones/RO%20Detail%20Screen%20-%20Cloud","labels_url":"https://api.github.com/repos/GCSO2/D3S-INVENTORY/milestones/2/labels","id":1752302,"number":2,"title":"RO Detail Screen - Cloud","description":"# To be started after RO Link change has been completed and delivered to production\r\n\r\n- Allow create, edit and save and RO.\r\n- Add check box after labour & parts called charge. This field needs to be added on the labour and parts table (rep_work_order_labour(_wv), rep_work_order_parts(_wv) name it charge_flag default flagged)\r\n- When assigning to a mechanic or vendor add option to send email to vendor, mechanic once assignment is done.\r\n- Add tab with grid that will show history of labour / part for unit selected on the header (RO#, Date, Labour, Mechanic, Part). Labour will repeat, if multiple parts, but that is OK.\r\n- Allow add, update, remove labour lines;\r\n- Allow add, update, remove parts\r\n- Warranty indicator;\r\n- Safety Certificate update\r\n- Mileage / Reefer Readings update\r\n- Customer and Customer Invoice to Update\r\n- Allow Split RO (-B, -C, etc...)\r\n- Validate that unit exists on the database, along with license plate. If not need to warn user.\r\n- Complete RO. When completing, update inventory, calculate PM, update readings and safety on their respective 2 tables, \r\n- Approve RO. No changes after approving RO. After approving RO, revalidate functions:  inventory update (if necessary), (re) calculate PM, update readings and safety on their respective 2 tables (if necessary). New: calculate taxes, shop supply, revalidate customer rate based on the job type and part charge. **Note: (1) Only certain users can approve RO, (2) Users that approve can also un-approve an RO**\r\n\r\n- If approved successfully, then ... call @gchan-trailcon procedure that will create a completed & Approved WO.\r\n- After approved all fields are locked down.","creator":{"login":"giovanicani","id":5666297,"avatar_url":"https://avatars.githubusercontent.com/u/5666297?v=3","gravatar_id":"","url":"https://api.github.com/users/giovanicani","html_url":"https://github.com/giovanicani","followers_url":"https://api.github.com/users/giovanicani/followers","following_url":"https://api.github.com/users/giovanicani/following{/other_user}","gists_url":"https://api.github.com/users/giovanicani/gists{/gist_id}","starred_url":"https://api.github.com/users/giovanicani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giovanicani/subscriptions","organizations_url":"https://api.github.com/users/giovanicani/orgs","repos_url":"https://api.github.com/users/giovanicani/repos","events_url":"https://api.github.com/users/giovanicani/events{/privacy}","received_events_url":"https://api.github.com/users/giovanicani/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2016-05-06T19:31:04Z","updated_at":"2016-05-06T20:19:14Z","due_on":"2016-06-10T04:00:00Z","closed_at":null},"comments":0,"created_at":"2016-05-06T20:19:14Z","updated_at":"2016-05-06T20:19:14Z","closed_at":null,"body":"Add after tab Labour and Parts, a new tab called Labour History that will show history of labour / part for unit selected on the header (RO#, Date, Labour, Mechanic, Part). Labour will repeat, if multiple parts, but that is OK."}}