{"action":"created","comment":{"url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/comments/175075813","pull_request_review_id":104548361,"id":175075813,"diff_hunk":"@@ -0,0 +1,46 @@\n+<?php\n+\n+class Robinam_ShippingInsurance_Block_Sales_Order_Insurance extends Mage_Core_Block_Template\n+{\n+    /**\n+     * Get order store object\n+     *\n+     * @return Mage_Sales_Model_Order\n+     */\n+    public function getOrder()\n+    {\n+        return $this->getParentBlock()->getOrder();\n+    }\n+\n+    /**\n+     * Get totals source object\n+     *\n+     * @return Mage_Sales_Model_Order\n+     */\n+    public function getSource()\n+    {\n+        return $this->getParentBlock()->getSource();\n+    }\n+\n+    /**\n+     * Initialize shippinginsurance totals\n+     *\n+     * @return Robinam_ShippingInsurance_Block_Sales_Order_Insurance\n+     */\n+    public function initTotals()\n+    {\n+        if ((float)$this->getOrder()->getBaseShippinginsuranceAmount()) {","path":"app/code/local/Robinam/ShippingInsurance/Block/Sales/Order/Insurance.php","position":32,"original_position":32,"commit_id":"24c1dc531a563db44ffee833c0286897564367c8","original_commit_id":"24c1dc531a563db44ffee833c0286897564367c8","user":{"login":"v-matsuk","id":5780446,"avatar_url":"https://avatars1.githubusercontent.com/u/5780446?v=4","gravatar_id":"","url":"https://api.github.com/users/v-matsuk","html_url":"https://github.com/v-matsuk","followers_url":"https://api.github.com/users/v-matsuk/followers","following_url":"https://api.github.com/users/v-matsuk/following{/other_user}","gists_url":"https://api.github.com/users/v-matsuk/gists{/gist_id}","starred_url":"https://api.github.com/users/v-matsuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v-matsuk/subscriptions","organizations_url":"https://api.github.com/users/v-matsuk/orgs","repos_url":"https://api.github.com/users/v-matsuk/repos","events_url":"https://api.github.com/users/v-matsuk/events{/privacy}","received_events_url":"https://api.github.com/users/v-matsuk/received_events","type":"User","site_admin":false},"body":"ставь пробел после уточнений типов (float) $this->....","created_at":"2018-03-16T12:35:28Z","updated_at":"2018-03-16T12:45:22Z","html_url":"https://github.com/Robinamixan/MagentoModuleInsurance/pull/1#discussion_r175075813","pull_request_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/comments/175075813"},"html":{"href":"https://github.com/Robinamixan/MagentoModuleInsurance/pull/1#discussion_r175075813"},"pull_request":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/1","id":174662102,"html_url":"https://github.com/Robinamixan/MagentoModuleInsurance/pull/1","diff_url":"https://github.com/Robinamixan/MagentoModuleInsurance/pull/1.diff","patch_url":"https://github.com/Robinamixan/MagentoModuleInsurance/pull/1.patch","issue_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues/1","number":1,"state":"open","locked":false,"title":"Develop","user":{"login":"Robinamixan","id":29979749,"avatar_url":"https://avatars3.githubusercontent.com/u/29979749?v=4","gravatar_id":"","url":"https://api.github.com/users/Robinamixan","html_url":"https://github.com/Robinamixan","followers_url":"https://api.github.com/users/Robinamixan/followers","following_url":"https://api.github.com/users/Robinamixan/following{/other_user}","gists_url":"https://api.github.com/users/Robinamixan/gists{/gist_id}","starred_url":"https://api.github.com/users/Robinamixan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robinamixan/subscriptions","organizations_url":"https://api.github.com/users/Robinamixan/orgs","repos_url":"https://api.github.com/users/Robinamixan/repos","events_url":"https://api.github.com/users/Robinamixan/events{/privacy}","received_events_url":"https://api.github.com/users/Robinamixan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-13T13:37:52Z","updated_at":"2018-03-16T12:45:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92f0cff7bb9d2786ed0fd96a8519c45dcf4f1204","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues/1/comments","statuses_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/statuses/24c1dc531a563db44ffee833c0286897564367c8","head":{"label":"Robinamixan:develop","ref":"develop","sha":"24c1dc531a563db44ffee833c0286897564367c8","user":{"login":"Robinamixan","id":29979749,"avatar_url":"https://avatars3.githubusercontent.com/u/29979749?v=4","gravatar_id":"","url":"https://api.github.com/users/Robinamixan","html_url":"https://github.com/Robinamixan","followers_url":"https://api.github.com/users/Robinamixan/followers","following_url":"https://api.github.com/users/Robinamixan/following{/other_user}","gists_url":"https://api.github.com/users/Robinamixan/gists{/gist_id}","starred_url":"https://api.github.com/users/Robinamixan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robinamixan/subscriptions","organizations_url":"https://api.github.com/users/Robinamixan/orgs","repos_url":"https://api.github.com/users/Robinamixan/repos","events_url":"https://api.github.com/users/Robinamixan/events{/privacy}","received_events_url":"https://api.github.com/users/Robinamixan/received_events","type":"User","site_admin":false},"repo":{"id":124080200,"name":"MagentoModuleInsurance","full_name":"Robinamixan/MagentoModuleInsurance","owner":{"login":"Robinamixan","id":29979749,"avatar_url":"https://avatars3.githubusercontent.com/u/29979749?v=4","gravatar_id":"","url":"https://api.github.com/users/Robinamixan","html_url":"https://github.com/Robinamixan","followers_url":"https://api.github.com/users/Robinamixan/followers","following_url":"https://api.github.com/users/Robinamixan/following{/other_user}","gists_url":"https://api.github.com/users/Robinamixan/gists{/gist_id}","starred_url":"https://api.github.com/users/Robinamixan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robinamixan/subscriptions","organizations_url":"https://api.github.com/users/Robinamixan/orgs","repos_url":"https://api.github.com/users/Robinamixan/repos","events_url":"https://api.github.com/users/Robinamixan/events{/privacy}","received_events_url":"https://api.github.com/users/Robinamixan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Robinamixan/MagentoModuleInsurance","description":null,"fork":false,"url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance","forks_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/forks","keys_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/teams","hooks_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/hooks","issue_events_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues/events{/number}","events_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/events","assignees_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/assignees{/user}","branches_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/branches{/branch}","tags_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/tags","blobs_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/refs{/sha}","trees_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/statuses/{sha}","languages_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/languages","stargazers_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/stargazers","contributors_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/contributors","subscribers_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/subscribers","subscription_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/subscription","commits_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/commits{/sha}","git_commits_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/commits{/sha}","comments_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/comments{/number}","issue_comment_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues/comments{/number}","contents_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/contents/{+path}","compare_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/merges","archive_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/downloads","issues_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues{/number}","pulls_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls{/number}","milestones_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/milestones{/number}","notifications_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/labels{/name}","releases_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/releases{/id}","deployments_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/deployments","created_at":"2018-03-06T13:11:17Z","updated_at":"2018-03-06T13:12:14Z","pushed_at":"2018-03-14T08:49:01Z","git_url":"git://github.com/Robinamixan/MagentoModuleInsurance.git","ssh_url":"git@github.com:Robinamixan/MagentoModuleInsurance.git","clone_url":"https://github.com/Robinamixan/MagentoModuleInsurance.git","svn_url":"https://github.com/Robinamixan/MagentoModuleInsurance","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Robinamixan:master","ref":"master","sha":"7bfc1f7fcd551bf67a9445196cb4f2c5507c1115","user":{"login":"Robinamixan","id":29979749,"avatar_url":"https://avatars3.githubusercontent.com/u/29979749?v=4","gravatar_id":"","url":"https://api.github.com/users/Robinamixan","html_url":"https://github.com/Robinamixan","followers_url":"https://api.github.com/users/Robinamixan/followers","following_url":"https://api.github.com/users/Robinamixan/following{/other_user}","gists_url":"https://api.github.com/users/Robinamixan/gists{/gist_id}","starred_url":"https://api.github.com/users/Robinamixan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robinamixan/subscriptions","organizations_url":"https://api.github.com/users/Robinamixan/orgs","repos_url":"https://api.github.com/users/Robinamixan/repos","events_url":"https://api.github.com/users/Robinamixan/events{/privacy}","received_events_url":"https://api.github.com/users/Robinamixan/received_events","type":"User","site_admin":false},"repo":{"id":124080200,"name":"MagentoModuleInsurance","full_name":"Robinamixan/MagentoModuleInsurance","owner":{"login":"Robinamixan","id":29979749,"avatar_url":"https://avatars3.githubusercontent.com/u/29979749?v=4","gravatar_id":"","url":"https://api.github.com/users/Robinamixan","html_url":"https://github.com/Robinamixan","followers_url":"https://api.github.com/users/Robinamixan/followers","following_url":"https://api.github.com/users/Robinamixan/following{/other_user}","gists_url":"https://api.github.com/users/Robinamixan/gists{/gist_id}","starred_url":"https://api.github.com/users/Robinamixan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robinamixan/subscriptions","organizations_url":"https://api.github.com/users/Robinamixan/orgs","repos_url":"https://api.github.com/users/Robinamixan/repos","events_url":"https://api.github.com/users/Robinamixan/events{/privacy}","received_events_url":"https://api.github.com/users/Robinamixan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Robinamixan/MagentoModuleInsurance","description":null,"fork":false,"url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance","forks_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/forks","keys_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/teams","hooks_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/hooks","issue_events_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues/events{/number}","events_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/events","assignees_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/assignees{/user}","branches_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/branches{/branch}","tags_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/tags","blobs_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/refs{/sha}","trees_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/statuses/{sha}","languages_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/languages","stargazers_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/stargazers","contributors_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/contributors","subscribers_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/subscribers","subscription_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/subscription","commits_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/commits{/sha}","git_commits_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/git/commits{/sha}","comments_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/comments{/number}","issue_comment_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues/comments{/number}","contents_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/contents/{+path}","compare_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/merges","archive_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/downloads","issues_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues{/number}","pulls_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls{/number}","milestones_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/milestones{/number}","notifications_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/labels{/name}","releases_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/releases{/id}","deployments_url":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/deployments","created_at":"2018-03-06T13:11:17Z","updated_at":"2018-03-06T13:12:14Z","pushed_at":"2018-03-14T08:49:01Z","git_url":"git://github.com/Robinamixan/MagentoModuleInsurance.git","ssh_url":"git@github.com:Robinamixan/MagentoModuleInsurance.git","clone_url":"https://github.com/Robinamixan/MagentoModuleInsurance.git","svn_url":"https://github.com/Robinamixan/MagentoModuleInsurance","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/1"},"html":{"href":"https://github.com/Robinamixan/MagentoModuleInsurance/pull/1"},"issue":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues/1"},"comments":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Robinamixan/MagentoModuleInsurance/statuses/24c1dc531a563db44ffee833c0286897564367c8"}},"author_association":"OWNER"}}
{"actor":{"display_login":"v-matsuk"}}