{"action":"created","comment":{"url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments/86067242","pull_request_review_id":6744049,"id":86067242,"diff_hunk":"@@ -53,4 +53,49 @@ def render_index_grid(grid)\n     no_records = grid.current_page_records.length < 1\n     render \"admin/common/grid\", no_records: no_records, grid: grid\n   end\n+\n+  # Returns the new disbursment url, as well as addtional loan and org information.\n+  # This information maybe be required, if the loan does not exist in the old system.\n+  def labase_new_disbursment_url(loan:)\n+    disbursment_transaction_type = 12\n+    labase_url('transactionManager.php', loan,\n+      'Preset': true, 'TransactionType': disbursment_transaction_type, 'Loan': loan.id)\n+  end\n+\n+  # Returns the new repayment url, as well as addtional loan and org information.\n+  # This information maybe be required, if the loan does not exist in the old system.\n+  def labase_new_repayment_url(loan:)\n+    repayment_transaction_type = 57\n+    labase_url('transactionManager.php', loan,\n+      'Preset': true, 'TransactionType': repayment_transaction_type, 'Loan': loan.id)\n+  end\n+\n+  # Returns the schedule url, as well as addtional loan and org information.\n+  # This information maybe be required, if the loan does not exist in the old system.\n+  def labase_schedule_url(loan:)\n+    labase_url('LoanSchedule.php', loan, 'LoanID': loan.id)\n+  end\n+\n+  # Takes the page_url merges labase values, with loan values, and returns properly formatted URI\n+  def labase_url(page_url, loan, labase_query_values)","path":"app/helpers/application_helper.rb","position":28,"original_position":28,"commit_id":"b5b5ac559470cd364e2d8e902f0ceb4c0d15b3fd","original_commit_id":"b5b5ac559470cd364e2d8e902f0ceb4c0d15b3fd","user":{"login":"X0nic","id":59398,"avatar_url":"https://avatars.githubusercontent.com/u/59398?v=3","gravatar_id":"","url":"https://api.github.com/users/X0nic","html_url":"https://github.com/X0nic","followers_url":"https://api.github.com/users/X0nic/followers","following_url":"https://api.github.com/users/X0nic/following{/other_user}","gists_url":"https://api.github.com/users/X0nic/gists{/gist_id}","starred_url":"https://api.github.com/users/X0nic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/X0nic/subscriptions","organizations_url":"https://api.github.com/users/X0nic/orgs","repos_url":"https://api.github.com/users/X0nic/repos","events_url":"https://api.github.com/users/X0nic/events{/privacy}","received_events_url":"https://api.github.com/users/X0nic/received_events","type":"User","site_admin":false},"body":"`labase` for the accounting system. Is this a good name?","created_at":"2016-11-02T03:15:23Z","updated_at":"2016-11-02T03:15:23Z","html_url":"https://github.com/sassafrastech/madeline_system/pull/170#discussion_r86067242","pull_request_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments/86067242"},"html":{"href":"https://github.com/sassafrastech/madeline_system/pull/170#discussion_r86067242"},"pull_request":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/170","id":91841951,"html_url":"https://github.com/sassafrastech/madeline_system/pull/170","diff_url":"https://github.com/sassafrastech/madeline_system/pull/170.diff","patch_url":"https://github.com/sassafrastech/madeline_system/pull/170.patch","issue_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/170","number":170,"state":"open","locked":false,"title":"5300: Add initial transaction menu","user":{"login":"X0nic","id":59398,"avatar_url":"https://avatars.githubusercontent.com/u/59398?v=3","gravatar_id":"","url":"https://api.github.com/users/X0nic","html_url":"https://github.com/X0nic","followers_url":"https://api.github.com/users/X0nic/followers","following_url":"https://api.github.com/users/X0nic/following{/other_user}","gists_url":"https://api.github.com/users/X0nic/gists{/gist_id}","starred_url":"https://api.github.com/users/X0nic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/X0nic/subscriptions","organizations_url":"https://api.github.com/users/X0nic/orgs","repos_url":"https://api.github.com/users/X0nic/repos","events_url":"https://api.github.com/users/X0nic/events{/privacy}","received_events_url":"https://api.github.com/users/X0nic/received_events","type":"User","site_admin":false},"body":"![project_with_djeva_-_madeline](https://cloud.githubusercontent.com/assets/59398/19902951/5c04a422-a032-11e6-88bd-ee0f6811c0b1.png)\r\n\r\nIt is hard to read the url in the url bar, so here is it decoded in Chrome.\r\n\r\n![la_base_united_states_internal](https://cloud.githubusercontent.com/assets/59398/19909820/f567448c-a04e-11e6-8f7a-637f7ffa2606.png)\r\n","created_at":"2016-11-01T18:54:10Z","updated_at":"2016-11-02T03:15:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fc99a6de1e336607b851d6d947d3ebce82a9a18","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/170/commits","review_comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/170/comments","review_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/170/comments","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/b5b5ac559470cd364e2d8e902f0ceb4c0d15b3fd","head":{"label":"sassafrastech:5300_link_to_old_accounting","ref":"5300_link_to_old_accounting","sha":"b5b5ac559470cd364e2d8e902f0ceb4c0d15b3fd","user":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"repo":{"id":48768255,"name":"madeline_system","full_name":"sassafrastech/madeline_system","owner":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sassafrastech/madeline_system","description":null,"fork":false,"url":"https://api.github.com/repos/sassafrastech/madeline_system","forks_url":"https://api.github.com/repos/sassafrastech/madeline_system/forks","keys_url":"https://api.github.com/repos/sassafrastech/madeline_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sassafrastech/madeline_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sassafrastech/madeline_system/teams","hooks_url":"https://api.github.com/repos/sassafrastech/madeline_system/hooks","issue_events_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/events{/number}","events_url":"https://api.github.com/repos/sassafrastech/madeline_system/events","assignees_url":"https://api.github.com/repos/sassafrastech/madeline_system/assignees{/user}","branches_url":"https://api.github.com/repos/sassafrastech/madeline_system/branches{/branch}","tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/tags","blobs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/{sha}","languages_url":"https://api.github.com/repos/sassafrastech/madeline_system/languages","stargazers_url":"https://api.github.com/repos/sassafrastech/madeline_system/stargazers","contributors_url":"https://api.github.com/repos/sassafrastech/madeline_system/contributors","subscribers_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscribers","subscription_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscription","commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/sassafrastech/madeline_system/contents/{+path}","compare_url":"https://api.github.com/repos/sassafrastech/madeline_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sassafrastech/madeline_system/merges","archive_url":"https://api.github.com/repos/sassafrastech/madeline_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sassafrastech/madeline_system/downloads","issues_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues{/number}","pulls_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls{/number}","milestones_url":"https://api.github.com/repos/sassafrastech/madeline_system/milestones{/number}","notifications_url":"https://api.github.com/repos/sassafrastech/madeline_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sassafrastech/madeline_system/labels{/name}","releases_url":"https://api.github.com/repos/sassafrastech/madeline_system/releases{/id}","deployments_url":"https://api.github.com/repos/sassafrastech/madeline_system/deployments","created_at":"2015-12-29T21:38:53Z","updated_at":"2016-10-24T14:45:12Z","pushed_at":"2016-11-02T03:12:03Z","git_url":"git://github.com/sassafrastech/madeline_system.git","ssh_url":"git@github.com:sassafrastech/madeline_system.git","clone_url":"https://github.com/sassafrastech/madeline_system.git","svn_url":"https://github.com/sassafrastech/madeline_system","homepage":null,"size":4355,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":3,"default_branch":"develop"}},"base":{"label":"sassafrastech:develop","ref":"develop","sha":"0b63f6c9624b60f9489f3150fa466eed32ababd7","user":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"repo":{"id":48768255,"name":"madeline_system","full_name":"sassafrastech/madeline_system","owner":{"login":"sassafrastech","id":5033102,"avatar_url":"https://avatars.githubusercontent.com/u/5033102?v=3","gravatar_id":"","url":"https://api.github.com/users/sassafrastech","html_url":"https://github.com/sassafrastech","followers_url":"https://api.github.com/users/sassafrastech/followers","following_url":"https://api.github.com/users/sassafrastech/following{/other_user}","gists_url":"https://api.github.com/users/sassafrastech/gists{/gist_id}","starred_url":"https://api.github.com/users/sassafrastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sassafrastech/subscriptions","organizations_url":"https://api.github.com/users/sassafrastech/orgs","repos_url":"https://api.github.com/users/sassafrastech/repos","events_url":"https://api.github.com/users/sassafrastech/events{/privacy}","received_events_url":"https://api.github.com/users/sassafrastech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sassafrastech/madeline_system","description":null,"fork":false,"url":"https://api.github.com/repos/sassafrastech/madeline_system","forks_url":"https://api.github.com/repos/sassafrastech/madeline_system/forks","keys_url":"https://api.github.com/repos/sassafrastech/madeline_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sassafrastech/madeline_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sassafrastech/madeline_system/teams","hooks_url":"https://api.github.com/repos/sassafrastech/madeline_system/hooks","issue_events_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/events{/number}","events_url":"https://api.github.com/repos/sassafrastech/madeline_system/events","assignees_url":"https://api.github.com/repos/sassafrastech/madeline_system/assignees{/user}","branches_url":"https://api.github.com/repos/sassafrastech/madeline_system/branches{/branch}","tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/tags","blobs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/{sha}","languages_url":"https://api.github.com/repos/sassafrastech/madeline_system/languages","stargazers_url":"https://api.github.com/repos/sassafrastech/madeline_system/stargazers","contributors_url":"https://api.github.com/repos/sassafrastech/madeline_system/contributors","subscribers_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscribers","subscription_url":"https://api.github.com/repos/sassafrastech/madeline_system/subscription","commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/sassafrastech/madeline_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/sassafrastech/madeline_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/sassafrastech/madeline_system/contents/{+path}","compare_url":"https://api.github.com/repos/sassafrastech/madeline_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sassafrastech/madeline_system/merges","archive_url":"https://api.github.com/repos/sassafrastech/madeline_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sassafrastech/madeline_system/downloads","issues_url":"https://api.github.com/repos/sassafrastech/madeline_system/issues{/number}","pulls_url":"https://api.github.com/repos/sassafrastech/madeline_system/pulls{/number}","milestones_url":"https://api.github.com/repos/sassafrastech/madeline_system/milestones{/number}","notifications_url":"https://api.github.com/repos/sassafrastech/madeline_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sassafrastech/madeline_system/labels{/name}","releases_url":"https://api.github.com/repos/sassafrastech/madeline_system/releases{/id}","deployments_url":"https://api.github.com/repos/sassafrastech/madeline_system/deployments","created_at":"2015-12-29T21:38:53Z","updated_at":"2016-10-24T14:45:12Z","pushed_at":"2016-11-02T03:12:03Z","git_url":"git://github.com/sassafrastech/madeline_system.git","ssh_url":"git@github.com:sassafrastech/madeline_system.git","clone_url":"https://github.com/sassafrastech/madeline_system.git","svn_url":"https://github.com/sassafrastech/madeline_system","homepage":null,"size":4355,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/170"},"html":{"href":"https://github.com/sassafrastech/madeline_system/pull/170"},"issue":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/issues/170"},"comments":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/sassafrastech/madeline_system/statuses/b5b5ac559470cd364e2d8e902f0ceb4c0d15b3fd"}}}}
{"actor":{"display_login":"X0nic"}}