{"action":"created","comment":{"url":"https://api.github.com/repos/frappe/erpnext/pulls/comments/36162597","id":36162597,"diff_hunk":"@@ -280,6 +280,7 @@ erpnext.pos.PointOfSale = Class.extend({\n \t},\n \tset_totals: function() {\n \t\tvar me = this;\n+\t\tthis.wrapper.find(\".base-total\").text(format_currency(me.frm.doc[\"base_total\"], me.frm.doc.currency));","path":"erpnext/public/js/pos/pos.js","position":4,"original_position":4,"commit_id":"3de6ee5f66b6d2aca406b14aea7e85c0195c79e3","original_commit_id":"3de6ee5f66b6d2aca406b14aea7e85c0195c79e3","user":{"login":"nabinhait","id":836784,"avatar_url":"https://avatars.githubusercontent.com/u/836784?v=3","gravatar_id":"","url":"https://api.github.com/users/nabinhait","html_url":"https://github.com/nabinhait","followers_url":"https://api.github.com/users/nabinhait/followers","following_url":"https://api.github.com/users/nabinhait/following{/other_user}","gists_url":"https://api.github.com/users/nabinhait/gists{/gist_id}","starred_url":"https://api.github.com/users/nabinhait/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabinhait/subscriptions","organizations_url":"https://api.github.com/users/nabinhait/orgs","repos_url":"https://api.github.com/users/nabinhait/repos","events_url":"https://api.github.com/users/nabinhait/events{/privacy}","received_events_url":"https://api.github.com/users/nabinhait/received_events","type":"User","site_admin":false},"body":"Please use `me.frm.doc[\"total\"]`, instead of `me.frm.doc[\"base_total\"]`.\r\n\r\n`base_total` is the total in base currency.","created_at":"2015-08-04T07:13:02Z","updated_at":"2015-08-04T07:13:02Z","html_url":"https://github.com/frappe/erpnext/pull/3777#discussion_r36162597","pull_request_url":"https://api.github.com/repos/frappe/erpnext/pulls/3777","_links":{"self":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/comments/36162597"},"html":{"href":"https://github.com/frappe/erpnext/pull/3777#discussion_r36162597"},"pull_request":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/3777"}}},"pull_request":{"url":"https://api.github.com/repos/frappe/erpnext/pulls/3777","id":41436706,"html_url":"https://github.com/frappe/erpnext/pull/3777","diff_url":"https://github.com/frappe/erpnext/pull/3777.diff","patch_url":"https://github.com/frappe/erpnext/pull/3777.patch","issue_url":"https://api.github.com/repos/frappe/erpnext/issues/3777","number":3777,"state":"open","locked":false,"title":"Update pos.js","user":{"login":"bobzz-zone","id":1543515,"avatar_url":"https://avatars.githubusercontent.com/u/1543515?v=3","gravatar_id":"","url":"https://api.github.com/users/bobzz-zone","html_url":"https://github.com/bobzz-zone","followers_url":"https://api.github.com/users/bobzz-zone/followers","following_url":"https://api.github.com/users/bobzz-zone/following{/other_user}","gists_url":"https://api.github.com/users/bobzz-zone/gists{/gist_id}","starred_url":"https://api.github.com/users/bobzz-zone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobzz-zone/subscriptions","organizations_url":"https://api.github.com/users/bobzz-zone/orgs","repos_url":"https://api.github.com/users/bobzz-zone/repos","events_url":"https://api.github.com/users/bobzz-zone/events{/privacy}","received_events_url":"https://api.github.com/users/bobzz-zone/received_events","type":"User","site_admin":false},"body":"Add base total to set totals function","created_at":"2015-08-03T05:51:52Z","updated_at":"2015-08-04T07:13:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0761db2f644bbe237e2ac9eb0b4da92b80a462e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/frappe/erpnext/pulls/3777/commits","review_comments_url":"https://api.github.com/repos/frappe/erpnext/pulls/3777/comments","review_comment_url":"https://api.github.com/repos/frappe/erpnext/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frappe/erpnext/issues/3777/comments","statuses_url":"https://api.github.com/repos/frappe/erpnext/statuses/3de6ee5f66b6d2aca406b14aea7e85c0195c79e3","head":{"label":"bobzz-zone:patch-3","ref":"patch-3","sha":"3de6ee5f66b6d2aca406b14aea7e85c0195c79e3","user":{"login":"bobzz-zone","id":1543515,"avatar_url":"https://avatars.githubusercontent.com/u/1543515?v=3","gravatar_id":"","url":"https://api.github.com/users/bobzz-zone","html_url":"https://github.com/bobzz-zone","followers_url":"https://api.github.com/users/bobzz-zone/followers","following_url":"https://api.github.com/users/bobzz-zone/following{/other_user}","gists_url":"https://api.github.com/users/bobzz-zone/gists{/gist_id}","starred_url":"https://api.github.com/users/bobzz-zone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobzz-zone/subscriptions","organizations_url":"https://api.github.com/users/bobzz-zone/orgs","repos_url":"https://api.github.com/users/bobzz-zone/repos","events_url":"https://api.github.com/users/bobzz-zone/events{/privacy}","received_events_url":"https://api.github.com/users/bobzz-zone/received_events","type":"User","site_admin":false},"repo":{"id":30236270,"name":"erpnext","full_name":"bobzz-zone/erpnext","owner":{"login":"bobzz-zone","id":1543515,"avatar_url":"https://avatars.githubusercontent.com/u/1543515?v=3","gravatar_id":"","url":"https://api.github.com/users/bobzz-zone","html_url":"https://github.com/bobzz-zone","followers_url":"https://api.github.com/users/bobzz-zone/followers","following_url":"https://api.github.com/users/bobzz-zone/following{/other_user}","gists_url":"https://api.github.com/users/bobzz-zone/gists{/gist_id}","starred_url":"https://api.github.com/users/bobzz-zone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobzz-zone/subscriptions","organizations_url":"https://api.github.com/users/bobzz-zone/orgs","repos_url":"https://api.github.com/users/bobzz-zone/repos","events_url":"https://api.github.com/users/bobzz-zone/events{/privacy}","received_events_url":"https://api.github.com/users/bobzz-zone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bobzz-zone/erpnext","description":"Open Source ERP built for the Web. Uses Python, MariaDB.","fork":true,"url":"https://api.github.com/repos/bobzz-zone/erpnext","forks_url":"https://api.github.com/repos/bobzz-zone/erpnext/forks","keys_url":"https://api.github.com/repos/bobzz-zone/erpnext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bobzz-zone/erpnext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bobzz-zone/erpnext/teams","hooks_url":"https://api.github.com/repos/bobzz-zone/erpnext/hooks","issue_events_url":"https://api.github.com/repos/bobzz-zone/erpnext/issues/events{/number}","events_url":"https://api.github.com/repos/bobzz-zone/erpnext/events","assignees_url":"https://api.github.com/repos/bobzz-zone/erpnext/assignees{/user}","branches_url":"https://api.github.com/repos/bobzz-zone/erpnext/branches{/branch}","tags_url":"https://api.github.com/repos/bobzz-zone/erpnext/tags","blobs_url":"https://api.github.com/repos/bobzz-zone/erpnext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bobzz-zone/erpnext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bobzz-zone/erpnext/git/refs{/sha}","trees_url":"https://api.github.com/repos/bobzz-zone/erpnext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bobzz-zone/erpnext/statuses/{sha}","languages_url":"https://api.github.com/repos/bobzz-zone/erpnext/languages","stargazers_url":"https://api.github.com/repos/bobzz-zone/erpnext/stargazers","contributors_url":"https://api.github.com/repos/bobzz-zone/erpnext/contributors","subscribers_url":"https://api.github.com/repos/bobzz-zone/erpnext/subscribers","subscription_url":"https://api.github.com/repos/bobzz-zone/erpnext/subscription","commits_url":"https://api.github.com/repos/bobzz-zone/erpnext/commits{/sha}","git_commits_url":"https://api.github.com/repos/bobzz-zone/erpnext/git/commits{/sha}","comments_url":"https://api.github.com/repos/bobzz-zone/erpnext/comments{/number}","issue_comment_url":"https://api.github.com/repos/bobzz-zone/erpnext/issues/comments{/number}","contents_url":"https://api.github.com/repos/bobzz-zone/erpnext/contents/{+path}","compare_url":"https://api.github.com/repos/bobzz-zone/erpnext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bobzz-zone/erpnext/merges","archive_url":"https://api.github.com/repos/bobzz-zone/erpnext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bobzz-zone/erpnext/downloads","issues_url":"https://api.github.com/repos/bobzz-zone/erpnext/issues{/number}","pulls_url":"https://api.github.com/repos/bobzz-zone/erpnext/pulls{/number}","milestones_url":"https://api.github.com/repos/bobzz-zone/erpnext/milestones{/number}","notifications_url":"https://api.github.com/repos/bobzz-zone/erpnext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bobzz-zone/erpnext/labels{/name}","releases_url":"https://api.github.com/repos/bobzz-zone/erpnext/releases{/id}","created_at":"2015-02-03T09:56:38Z","updated_at":"2015-02-03T09:56:43Z","pushed_at":"2015-08-03T14:39:28Z","git_url":"git://github.com/bobzz-zone/erpnext.git","ssh_url":"git@github.com:bobzz-zone/erpnext.git","clone_url":"https://github.com/bobzz-zone/erpnext.git","svn_url":"https://github.com/bobzz-zone/erpnext","homepage":"http://erpnext.com","size":58221,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"frappe:develop","ref":"develop","sha":"ba9dbb1b095805d3c9f78161c6b28d6139976eb7","user":{"login":"frappe","id":836974,"avatar_url":"https://avatars.githubusercontent.com/u/836974?v=3","gravatar_id":"","url":"https://api.github.com/users/frappe","html_url":"https://github.com/frappe","followers_url":"https://api.github.com/users/frappe/followers","following_url":"https://api.github.com/users/frappe/following{/other_user}","gists_url":"https://api.github.com/users/frappe/gists{/gist_id}","starred_url":"https://api.github.com/users/frappe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frappe/subscriptions","organizations_url":"https://api.github.com/users/frappe/orgs","repos_url":"https://api.github.com/users/frappe/repos","events_url":"https://api.github.com/users/frappe/events{/privacy}","received_events_url":"https://api.github.com/users/frappe/received_events","type":"Organization","site_admin":false},"repo":{"id":1864233,"name":"erpnext","full_name":"frappe/erpnext","owner":{"login":"frappe","id":836974,"avatar_url":"https://avatars.githubusercontent.com/u/836974?v=3","gravatar_id":"","url":"https://api.github.com/users/frappe","html_url":"https://github.com/frappe","followers_url":"https://api.github.com/users/frappe/followers","following_url":"https://api.github.com/users/frappe/following{/other_user}","gists_url":"https://api.github.com/users/frappe/gists{/gist_id}","starred_url":"https://api.github.com/users/frappe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frappe/subscriptions","organizations_url":"https://api.github.com/users/frappe/orgs","repos_url":"https://api.github.com/users/frappe/repos","events_url":"https://api.github.com/users/frappe/events{/privacy}","received_events_url":"https://api.github.com/users/frappe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frappe/erpnext","description":"Open Source ERP built for the Web. Uses Python, MariaDB.","fork":false,"url":"https://api.github.com/repos/frappe/erpnext","forks_url":"https://api.github.com/repos/frappe/erpnext/forks","keys_url":"https://api.github.com/repos/frappe/erpnext/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frappe/erpnext/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frappe/erpnext/teams","hooks_url":"https://api.github.com/repos/frappe/erpnext/hooks","issue_events_url":"https://api.github.com/repos/frappe/erpnext/issues/events{/number}","events_url":"https://api.github.com/repos/frappe/erpnext/events","assignees_url":"https://api.github.com/repos/frappe/erpnext/assignees{/user}","branches_url":"https://api.github.com/repos/frappe/erpnext/branches{/branch}","tags_url":"https://api.github.com/repos/frappe/erpnext/tags","blobs_url":"https://api.github.com/repos/frappe/erpnext/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frappe/erpnext/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frappe/erpnext/git/refs{/sha}","trees_url":"https://api.github.com/repos/frappe/erpnext/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frappe/erpnext/statuses/{sha}","languages_url":"https://api.github.com/repos/frappe/erpnext/languages","stargazers_url":"https://api.github.com/repos/frappe/erpnext/stargazers","contributors_url":"https://api.github.com/repos/frappe/erpnext/contributors","subscribers_url":"https://api.github.com/repos/frappe/erpnext/subscribers","subscription_url":"https://api.github.com/repos/frappe/erpnext/subscription","commits_url":"https://api.github.com/repos/frappe/erpnext/commits{/sha}","git_commits_url":"https://api.github.com/repos/frappe/erpnext/git/commits{/sha}","comments_url":"https://api.github.com/repos/frappe/erpnext/comments{/number}","issue_comment_url":"https://api.github.com/repos/frappe/erpnext/issues/comments{/number}","contents_url":"https://api.github.com/repos/frappe/erpnext/contents/{+path}","compare_url":"https://api.github.com/repos/frappe/erpnext/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frappe/erpnext/merges","archive_url":"https://api.github.com/repos/frappe/erpnext/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frappe/erpnext/downloads","issues_url":"https://api.github.com/repos/frappe/erpnext/issues{/number}","pulls_url":"https://api.github.com/repos/frappe/erpnext/pulls{/number}","milestones_url":"https://api.github.com/repos/frappe/erpnext/milestones{/number}","notifications_url":"https://api.github.com/repos/frappe/erpnext/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frappe/erpnext/labels{/name}","releases_url":"https://api.github.com/repos/frappe/erpnext/releases{/id}","created_at":"2011-06-08T08:20:56Z","updated_at":"2015-08-04T02:17:55Z","pushed_at":"2015-08-04T06:56:43Z","git_url":"git://github.com/frappe/erpnext.git","ssh_url":"git@github.com:frappe/erpnext.git","clone_url":"https://github.com/frappe/erpnext.git","svn_url":"https://github.com/frappe/erpnext","homepage":"http://erpnext.com","size":93175,"stargazers_count":805,"watchers_count":805,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":501,"mirror_url":null,"open_issues_count":614,"forks":501,"open_issues":614,"watchers":805,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/3777"},"html":{"href":"https://github.com/frappe/erpnext/pull/3777"},"issue":{"href":"https://api.github.com/repos/frappe/erpnext/issues/3777"},"comments":{"href":"https://api.github.com/repos/frappe/erpnext/issues/3777/comments"},"review_comments":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/3777/comments"},"review_comment":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frappe/erpnext/pulls/3777/commits"},"statuses":{"href":"https://api.github.com/repos/frappe/erpnext/statuses/3de6ee5f66b6d2aca406b14aea7e85c0195c79e3"}}}}