{"action":"created","comment":{"url":"https://api.github.com/repos/danliris/dl-ui/pulls/comments/187844059","pull_request_review_id":119703139,"id":187844059,"diff_hunk":"@@ -31,42 +37,67 @@ export class Item {\n \n     unitPaymentOrderChanged(newV, oldV) {\n         if (newV) {\n-            Object.assign(this.data, {\n-                no: newV.no,\n-                date: newV.date,\n-                supplierName: newV.supplier.name,\n-                division: newV.division.name,\n-                totalPrice: 0,\n-                currency: newV.currency.code,\n-                details: [],\n-            });\n-\n-            let details = [], totalPrice = 0;\n+            let details = [], noPOE = [], totalPaid = 0, dates = [];\n             for (let item of newV.items) {\n                 for (let detail of item.unitReceiptNote.items) {\n+                    if (!noPOE.some(p => p === detail.purchaseOrder.purchaseOrderExternal.no))","path":"src/modules/expedition/purchasing-to-verification/templates/item.js","position":49,"original_position":49,"commit_id":"506e0d99dca4939067bb21e342a502b829741940","original_commit_id":"506e0d99dca4939067bb21e342a502b829741940","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').<br>Functions declared within loops referencing an outer scoped variable may lead to confusing semantics.","created_at":"2018-05-14T06:13:33Z","updated_at":"2018-05-14T06:13:35Z","html_url":"https://github.com/danliris/dl-ui/pull/1424#discussion_r187844059","pull_request_url":"https://api.github.com/repos/danliris/dl-ui/pulls/1424","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/danliris/dl-ui/pulls/comments/187844059"},"html":{"href":"https://github.com/danliris/dl-ui/pull/1424#discussion_r187844059"},"pull_request":{"href":"https://api.github.com/repos/danliris/dl-ui/pulls/1424"}}},"pull_request":{"url":"https://api.github.com/repos/danliris/dl-ui/pulls/1424","id":187728678,"html_url":"https://github.com/danliris/dl-ui/pull/1424","diff_url":"https://github.com/danliris/dl-ui/pull/1424.diff","patch_url":"https://github.com/danliris/dl-ui/pull/1424.patch","issue_url":"https://api.github.com/repos/danliris/dl-ui/issues/1424","number":1424,"state":"open","locked":false,"title":"Add Due Date","user":{"login":"jackyruslymoonlay","id":28334063,"avatar_url":"https://avatars3.githubusercontent.com/u/28334063?v=4","gravatar_id":"","url":"https://api.github.com/users/jackyruslymoonlay","html_url":"https://github.com/jackyruslymoonlay","followers_url":"https://api.github.com/users/jackyruslymoonlay/followers","following_url":"https://api.github.com/users/jackyruslymoonlay/following{/other_user}","gists_url":"https://api.github.com/users/jackyruslymoonlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jackyruslymoonlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackyruslymoonlay/subscriptions","organizations_url":"https://api.github.com/users/jackyruslymoonlay/orgs","repos_url":"https://api.github.com/users/jackyruslymoonlay/repos","events_url":"https://api.github.com/users/jackyruslymoonlay/events{/privacy}","received_events_url":"https://api.github.com/users/jackyruslymoonlay/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-14T06:13:26Z","updated_at":"2018-05-14T06:13:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82332b0cca3b70d431bb1541537cc81b711a7824","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/danliris/dl-ui/pulls/1424/commits","review_comments_url":"https://api.github.com/repos/danliris/dl-ui/pulls/1424/comments","review_comment_url":"https://api.github.com/repos/danliris/dl-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danliris/dl-ui/issues/1424/comments","statuses_url":"https://api.github.com/repos/danliris/dl-ui/statuses/506e0d99dca4939067bb21e342a502b829741940","head":{"label":"jackyruslymoonlay:dev","ref":"dev","sha":"506e0d99dca4939067bb21e342a502b829741940","user":{"login":"jackyruslymoonlay","id":28334063,"avatar_url":"https://avatars3.githubusercontent.com/u/28334063?v=4","gravatar_id":"","url":"https://api.github.com/users/jackyruslymoonlay","html_url":"https://github.com/jackyruslymoonlay","followers_url":"https://api.github.com/users/jackyruslymoonlay/followers","following_url":"https://api.github.com/users/jackyruslymoonlay/following{/other_user}","gists_url":"https://api.github.com/users/jackyruslymoonlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jackyruslymoonlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackyruslymoonlay/subscriptions","organizations_url":"https://api.github.com/users/jackyruslymoonlay/orgs","repos_url":"https://api.github.com/users/jackyruslymoonlay/repos","events_url":"https://api.github.com/users/jackyruslymoonlay/events{/privacy}","received_events_url":"https://api.github.com/users/jackyruslymoonlay/received_events","type":"User","site_admin":false},"repo":{"id":106778066,"name":"dl-ui","full_name":"jackyruslymoonlay/dl-ui","owner":{"login":"jackyruslymoonlay","id":28334063,"avatar_url":"https://avatars3.githubusercontent.com/u/28334063?v=4","gravatar_id":"","url":"https://api.github.com/users/jackyruslymoonlay","html_url":"https://github.com/jackyruslymoonlay","followers_url":"https://api.github.com/users/jackyruslymoonlay/followers","following_url":"https://api.github.com/users/jackyruslymoonlay/following{/other_user}","gists_url":"https://api.github.com/users/jackyruslymoonlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jackyruslymoonlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackyruslymoonlay/subscriptions","organizations_url":"https://api.github.com/users/jackyruslymoonlay/orgs","repos_url":"https://api.github.com/users/jackyruslymoonlay/repos","events_url":"https://api.github.com/users/jackyruslymoonlay/events{/privacy}","received_events_url":"https://api.github.com/users/jackyruslymoonlay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackyruslymoonlay/dl-ui","description":"Dan Liris ui with Aurelia","fork":true,"url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui","forks_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/forks","keys_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/teams","hooks_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/hooks","issue_events_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/issues/events{/number}","events_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/events","assignees_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/assignees{/user}","branches_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/branches{/branch}","tags_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/tags","blobs_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/languages","stargazers_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/stargazers","contributors_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/contributors","subscribers_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/subscribers","subscription_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/subscription","commits_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/contents/{+path}","compare_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/merges","archive_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/downloads","issues_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/issues{/number}","pulls_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/labels{/name}","releases_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/releases{/id}","deployments_url":"https://api.github.com/repos/jackyruslymoonlay/dl-ui/deployments","created_at":"2017-10-13T04:31:20Z","updated_at":"2018-05-08T10:17:12Z","pushed_at":"2018-05-14T06:12:52Z","git_url":"git://github.com/jackyruslymoonlay/dl-ui.git","ssh_url":"git@github.com:jackyruslymoonlay/dl-ui.git","clone_url":"https://github.com/jackyruslymoonlay/dl-ui.git","svn_url":"https://github.com/jackyruslymoonlay/dl-ui","homepage":null,"size":5547,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"danliris:dev","ref":"dev","sha":"7bba702323f2188b9770a0c940a9739f0905a8e4","user":{"login":"danliris","id":20855729,"avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"repo":{"id":64897822,"name":"dl-ui","full_name":"danliris/dl-ui","owner":{"login":"danliris","id":20855729,"avatar_url":"https://avatars0.githubusercontent.com/u/20855729?v=4","gravatar_id":"","url":"https://api.github.com/users/danliris","html_url":"https://github.com/danliris","followers_url":"https://api.github.com/users/danliris/followers","following_url":"https://api.github.com/users/danliris/following{/other_user}","gists_url":"https://api.github.com/users/danliris/gists{/gist_id}","starred_url":"https://api.github.com/users/danliris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danliris/subscriptions","organizations_url":"https://api.github.com/users/danliris/orgs","repos_url":"https://api.github.com/users/danliris/repos","events_url":"https://api.github.com/users/danliris/events{/privacy}","received_events_url":"https://api.github.com/users/danliris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danliris/dl-ui","description":"Dan Liris ui with Aurelia","fork":false,"url":"https://api.github.com/repos/danliris/dl-ui","forks_url":"https://api.github.com/repos/danliris/dl-ui/forks","keys_url":"https://api.github.com/repos/danliris/dl-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danliris/dl-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danliris/dl-ui/teams","hooks_url":"https://api.github.com/repos/danliris/dl-ui/hooks","issue_events_url":"https://api.github.com/repos/danliris/dl-ui/issues/events{/number}","events_url":"https://api.github.com/repos/danliris/dl-ui/events","assignees_url":"https://api.github.com/repos/danliris/dl-ui/assignees{/user}","branches_url":"https://api.github.com/repos/danliris/dl-ui/branches{/branch}","tags_url":"https://api.github.com/repos/danliris/dl-ui/tags","blobs_url":"https://api.github.com/repos/danliris/dl-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danliris/dl-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danliris/dl-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/danliris/dl-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danliris/dl-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/danliris/dl-ui/languages","stargazers_url":"https://api.github.com/repos/danliris/dl-ui/stargazers","contributors_url":"https://api.github.com/repos/danliris/dl-ui/contributors","subscribers_url":"https://api.github.com/repos/danliris/dl-ui/subscribers","subscription_url":"https://api.github.com/repos/danliris/dl-ui/subscription","commits_url":"https://api.github.com/repos/danliris/dl-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/danliris/dl-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/danliris/dl-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/danliris/dl-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/danliris/dl-ui/contents/{+path}","compare_url":"https://api.github.com/repos/danliris/dl-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danliris/dl-ui/merges","archive_url":"https://api.github.com/repos/danliris/dl-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danliris/dl-ui/downloads","issues_url":"https://api.github.com/repos/danliris/dl-ui/issues{/number}","pulls_url":"https://api.github.com/repos/danliris/dl-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/danliris/dl-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/danliris/dl-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danliris/dl-ui/labels{/name}","releases_url":"https://api.github.com/repos/danliris/dl-ui/releases{/id}","deployments_url":"https://api.github.com/repos/danliris/dl-ui/deployments","created_at":"2016-08-04T03:06:28Z","updated_at":"2018-05-08T10:28:14Z","pushed_at":"2018-05-14T06:13:27Z","git_url":"git://github.com/danliris/dl-ui.git","ssh_url":"git@github.com:danliris/dl-ui.git","clone_url":"https://github.com/danliris/dl-ui.git","svn_url":"https://github.com/danliris/dl-ui","homepage":null,"size":5652,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":35,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danliris/dl-ui/pulls/1424"},"html":{"href":"https://github.com/danliris/dl-ui/pull/1424"},"issue":{"href":"https://api.github.com/repos/danliris/dl-ui/issues/1424"},"comments":{"href":"https://api.github.com/repos/danliris/dl-ui/issues/1424/comments"},"review_comments":{"href":"https://api.github.com/repos/danliris/dl-ui/pulls/1424/comments"},"review_comment":{"href":"https://api.github.com/repos/danliris/dl-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danliris/dl-ui/pulls/1424/commits"},"statuses":{"href":"https://api.github.com/repos/danliris/dl-ui/statuses/506e0d99dca4939067bb21e342a502b829741940"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}