{"action":"created","comment":{"url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/comments/235729908","pull_request_review_id":177662235,"id":235729908,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTcyOTkwOA==","diff_hunk":"@@ -0,0 +1,80 @@\n+<?php\n+\n+namespace hipanel\\modules\\finance\\grid;\n+\n+use hipanel\\modules\\finance\\models\\Charge;\n+\n+\n+/**\n+ * Class GroupedChargesGridView\n+ *\n+ */\n+class GroupedByServerChargesGridView extends BillGridView\n+{\n+\n+    /**\n+     * @var Charge[]\n+     */\n+    public $idToNameObject;\n+\n+    /**\n+     * @var Charge[][]\n+     */\n+    public $chargesByMainObject;\n+\n+    public function init()\n+    {\n+        parent::init();\n+        $this->initAfterRow();\n+    }\n+\n+    public function columns()\n+    {\n+        return array_merge(parent::columns(), [\n+            'object_link' => [\n+                'format' => 'html',\n+                'value' => function (Charge $obj) {\n+                    return $obj->common_object_name;","path":"src/grid/GroupedByServerChargesGridView.php","position":37,"original_position":37,"commit_id":"f3f60cee0eaed0e1cede4a391fb018930448f672","original_commit_id":"f3f60cee0eaed0e1cede4a391fb018930448f672","user":{"login":"tafid","id":3338188,"node_id":"MDQ6VXNlcjMzMzgxODg=","avatar_url":"https://avatars1.githubusercontent.com/u/3338188?v=4","gravatar_id":"","url":"https://api.github.com/users/tafid","html_url":"https://github.com/tafid","followers_url":"https://api.github.com/users/tafid/followers","following_url":"https://api.github.com/users/tafid/following{/other_user}","gists_url":"https://api.github.com/users/tafid/gists{/gist_id}","starred_url":"https://api.github.com/users/tafid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tafid/subscriptions","organizations_url":"https://api.github.com/users/tafid/orgs","repos_url":"https://api.github.com/users/tafid/repos","events_url":"https://api.github.com/users/tafid/events{/privacy}","received_events_url":"https://api.github.com/users/tafid/received_events","type":"User","site_admin":false},"body":"'attribute' => 'common_object_name',","created_at":"2018-11-22T13:42:44Z","updated_at":"2018-11-22T13:45:51Z","html_url":"https://github.com/hiqdev/hipanel-module-finance/pull/62#discussion_r235729908","pull_request_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/62","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/comments/235729908"},"html":{"href":"https://github.com/hiqdev/hipanel-module-finance/pull/62#discussion_r235729908"},"pull_request":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/62","id":232952108,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyOTUyMTA4","html_url":"https://github.com/hiqdev/hipanel-module-finance/pull/62","diff_url":"https://github.com/hiqdev/hipanel-module-finance/pull/62.diff","patch_url":"https://github.com/hiqdev/hipanel-module-finance/pull/62.patch","issue_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/issues/62","number":62,"state":"open","locked":false,"title":"Added grouping in bill view","user":{"login":"omentes","id":7947055,"node_id":"MDQ6VXNlcjc5NDcwNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/7947055?v=4","gravatar_id":"","url":"https://api.github.com/users/omentes","html_url":"https://github.com/omentes","followers_url":"https://api.github.com/users/omentes/followers","following_url":"https://api.github.com/users/omentes/following{/other_user}","gists_url":"https://api.github.com/users/omentes/gists{/gist_id}","starred_url":"https://api.github.com/users/omentes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omentes/subscriptions","organizations_url":"https://api.github.com/users/omentes/orgs","repos_url":"https://api.github.com/users/omentes/repos","events_url":"https://api.github.com/users/omentes/events{/privacy}","received_events_url":"https://api.github.com/users/omentes/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-22T11:48:59Z","updated_at":"2018-11-22T13:45:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2fc4e5762690096e13bd2e934e9760af127fc149","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/62/commits","review_comments_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/62/comments","review_comment_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/issues/62/comments","statuses_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/statuses/f3f60cee0eaed0e1cede4a391fb018930448f672","head":{"label":"omentes:add-bill-group","ref":"add-bill-group","sha":"f3f60cee0eaed0e1cede4a391fb018930448f672","user":{"login":"omentes","id":7947055,"node_id":"MDQ6VXNlcjc5NDcwNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/7947055?v=4","gravatar_id":"","url":"https://api.github.com/users/omentes","html_url":"https://github.com/omentes","followers_url":"https://api.github.com/users/omentes/followers","following_url":"https://api.github.com/users/omentes/following{/other_user}","gists_url":"https://api.github.com/users/omentes/gists{/gist_id}","starred_url":"https://api.github.com/users/omentes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omentes/subscriptions","organizations_url":"https://api.github.com/users/omentes/orgs","repos_url":"https://api.github.com/users/omentes/repos","events_url":"https://api.github.com/users/omentes/events{/privacy}","received_events_url":"https://api.github.com/users/omentes/received_events","type":"User","site_admin":false},"repo":{"id":156733494,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY3MzM0OTQ=","name":"hipanel-module-finance","full_name":"omentes/hipanel-module-finance","private":false,"owner":{"login":"omentes","id":7947055,"node_id":"MDQ6VXNlcjc5NDcwNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/7947055?v=4","gravatar_id":"","url":"https://api.github.com/users/omentes","html_url":"https://github.com/omentes","followers_url":"https://api.github.com/users/omentes/followers","following_url":"https://api.github.com/users/omentes/following{/other_user}","gists_url":"https://api.github.com/users/omentes/gists{/gist_id}","starred_url":"https://api.github.com/users/omentes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omentes/subscriptions","organizations_url":"https://api.github.com/users/omentes/orgs","repos_url":"https://api.github.com/users/omentes/repos","events_url":"https://api.github.com/users/omentes/events{/privacy}","received_events_url":"https://api.github.com/users/omentes/received_events","type":"User","site_admin":false},"html_url":"https://github.com/omentes/hipanel-module-finance","description":"Finance Plugin for HiPanel","fork":true,"url":"https://api.github.com/repos/omentes/hipanel-module-finance","forks_url":"https://api.github.com/repos/omentes/hipanel-module-finance/forks","keys_url":"https://api.github.com/repos/omentes/hipanel-module-finance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omentes/hipanel-module-finance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omentes/hipanel-module-finance/teams","hooks_url":"https://api.github.com/repos/omentes/hipanel-module-finance/hooks","issue_events_url":"https://api.github.com/repos/omentes/hipanel-module-finance/issues/events{/number}","events_url":"https://api.github.com/repos/omentes/hipanel-module-finance/events","assignees_url":"https://api.github.com/repos/omentes/hipanel-module-finance/assignees{/user}","branches_url":"https://api.github.com/repos/omentes/hipanel-module-finance/branches{/branch}","tags_url":"https://api.github.com/repos/omentes/hipanel-module-finance/tags","blobs_url":"https://api.github.com/repos/omentes/hipanel-module-finance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omentes/hipanel-module-finance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omentes/hipanel-module-finance/git/refs{/sha}","trees_url":"https://api.github.com/repos/omentes/hipanel-module-finance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omentes/hipanel-module-finance/statuses/{sha}","languages_url":"https://api.github.com/repos/omentes/hipanel-module-finance/languages","stargazers_url":"https://api.github.com/repos/omentes/hipanel-module-finance/stargazers","contributors_url":"https://api.github.com/repos/omentes/hipanel-module-finance/contributors","subscribers_url":"https://api.github.com/repos/omentes/hipanel-module-finance/subscribers","subscription_url":"https://api.github.com/repos/omentes/hipanel-module-finance/subscription","commits_url":"https://api.github.com/repos/omentes/hipanel-module-finance/commits{/sha}","git_commits_url":"https://api.github.com/repos/omentes/hipanel-module-finance/git/commits{/sha}","comments_url":"https://api.github.com/repos/omentes/hipanel-module-finance/comments{/number}","issue_comment_url":"https://api.github.com/repos/omentes/hipanel-module-finance/issues/comments{/number}","contents_url":"https://api.github.com/repos/omentes/hipanel-module-finance/contents/{+path}","compare_url":"https://api.github.com/repos/omentes/hipanel-module-finance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omentes/hipanel-module-finance/merges","archive_url":"https://api.github.com/repos/omentes/hipanel-module-finance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omentes/hipanel-module-finance/downloads","issues_url":"https://api.github.com/repos/omentes/hipanel-module-finance/issues{/number}","pulls_url":"https://api.github.com/repos/omentes/hipanel-module-finance/pulls{/number}","milestones_url":"https://api.github.com/repos/omentes/hipanel-module-finance/milestones{/number}","notifications_url":"https://api.github.com/repos/omentes/hipanel-module-finance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omentes/hipanel-module-finance/labels{/name}","releases_url":"https://api.github.com/repos/omentes/hipanel-module-finance/releases{/id}","deployments_url":"https://api.github.com/repos/omentes/hipanel-module-finance/deployments","created_at":"2018-11-08T16:08:27Z","updated_at":"2018-11-21T09:14:09Z","pushed_at":"2018-11-22T13:03:56Z","git_url":"git://github.com/omentes/hipanel-module-finance.git","ssh_url":"git@github.com:omentes/hipanel-module-finance.git","clone_url":"https://github.com/omentes/hipanel-module-finance.git","svn_url":"https://github.com/omentes/hipanel-module-finance","homepage":null,"size":995,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hiqdev:master","ref":"master","sha":"8784bc9d7a9bbea157503ac824f7237368fd27e5","user":{"login":"hiqdev","id":9985538,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5ODU1Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/9985538?v=4","gravatar_id":"","url":"https://api.github.com/users/hiqdev","html_url":"https://github.com/hiqdev","followers_url":"https://api.github.com/users/hiqdev/followers","following_url":"https://api.github.com/users/hiqdev/following{/other_user}","gists_url":"https://api.github.com/users/hiqdev/gists{/gist_id}","starred_url":"https://api.github.com/users/hiqdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiqdev/subscriptions","organizations_url":"https://api.github.com/users/hiqdev/orgs","repos_url":"https://api.github.com/users/hiqdev/repos","events_url":"https://api.github.com/users/hiqdev/events{/privacy}","received_events_url":"https://api.github.com/users/hiqdev/received_events","type":"Organization","site_admin":false},"repo":{"id":34329920,"node_id":"MDEwOlJlcG9zaXRvcnkzNDMyOTkyMA==","name":"hipanel-module-finance","full_name":"hiqdev/hipanel-module-finance","private":false,"owner":{"login":"hiqdev","id":9985538,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5ODU1Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/9985538?v=4","gravatar_id":"","url":"https://api.github.com/users/hiqdev","html_url":"https://github.com/hiqdev","followers_url":"https://api.github.com/users/hiqdev/followers","following_url":"https://api.github.com/users/hiqdev/following{/other_user}","gists_url":"https://api.github.com/users/hiqdev/gists{/gist_id}","starred_url":"https://api.github.com/users/hiqdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiqdev/subscriptions","organizations_url":"https://api.github.com/users/hiqdev/orgs","repos_url":"https://api.github.com/users/hiqdev/repos","events_url":"https://api.github.com/users/hiqdev/events{/privacy}","received_events_url":"https://api.github.com/users/hiqdev/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hiqdev/hipanel-module-finance","description":"Finance Plugin for HiPanel","fork":false,"url":"https://api.github.com/repos/hiqdev/hipanel-module-finance","forks_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/forks","keys_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/teams","hooks_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/hooks","issue_events_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/issues/events{/number}","events_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/events","assignees_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/assignees{/user}","branches_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/branches{/branch}","tags_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/tags","blobs_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/git/refs{/sha}","trees_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/statuses/{sha}","languages_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/languages","stargazers_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/stargazers","contributors_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/contributors","subscribers_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/subscribers","subscription_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/subscription","commits_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/commits{/sha}","git_commits_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/git/commits{/sha}","comments_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/comments{/number}","issue_comment_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/issues/comments{/number}","contents_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/contents/{+path}","compare_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/merges","archive_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/downloads","issues_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/issues{/number}","pulls_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls{/number}","milestones_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/milestones{/number}","notifications_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/labels{/name}","releases_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/releases{/id}","deployments_url":"https://api.github.com/repos/hiqdev/hipanel-module-finance/deployments","created_at":"2015-04-21T13:50:32Z","updated_at":"2018-11-22T13:36:04Z","pushed_at":"2018-11-22T13:36:02Z","git_url":"git://github.com/hiqdev/hipanel-module-finance.git","ssh_url":"git@github.com:hiqdev/hipanel-module-finance.git","clone_url":"https://github.com/hiqdev/hipanel-module-finance.git","svn_url":"https://github.com/hiqdev/hipanel-module-finance","homepage":null,"size":996,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":4,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/62"},"html":{"href":"https://github.com/hiqdev/hipanel-module-finance/pull/62"},"issue":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/issues/62"},"comments":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/hiqdev/hipanel-module-finance/statuses/f3f60cee0eaed0e1cede4a391fb018930448f672"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tafid"}}