{"action":"created","comment":{"url":"https://api.github.com/repos/metastudio/cashbox/pulls/comments/39635436","id":39635436,"diff_hunk":"@@ -1,37 +1,68 @@\n .page-header\n-  .pull-right\n+  .btn-group.pull-right\n+    = link_to 'Destroy', @invoice, method: :delete,\n+      data: { confirm: 'Are you sure?' },\n+      class: 'btn btn-danger'\n+    = link_to 'Edit', edit_invoice_path(@invoice),\n+      class: 'btn btn-default'\n     = link_to 'Back', invoices_path, class: 'btn btn-primary'\n-  h1 = \"Invoice #{@invoice.customer.to_s} from #{invoice_date_range(@invoice)}\"\n \n-table.table.table-stripped.table-hover.invoices\n+  h2 = \"Invoice #{@invoice.customer.to_s} from #{invoice_date_range(@invoice)}\"\n+\n+table.table.table-bordered.invoice\n   thead\n-    tr\n-      th Customer\n-      th[colspan='2'] Date range\n-      th Invoice total\n-      th Sent date\n-      th Paid date\n+    th[colspan='2']\n+      h2 = current_member.user_full_name\n+    th[colspan='2']\n+      h1.align-right INVOICE\n   tbody\n-    = render @invoice\n+    tr\n+      td\n+        /= current_member.user_address\n+      td\n+        |Bank account for wire transfers:<br>\n+        = current_member.user_full_name\n+        |<br>Address:<br>\n+        /= current_member.user_address\n+        /= current_member.bank\n+        |<br>correspondent account<br>\n+        /=< @invoice.customer.bank\n+        |<br>Account:\n+        /=< @invoice.customer.account\n+        |<br>Currency:\n+        =< @invoice.currency\n+      td\n+      td.align-right\n+        strong DATE: #{l @invoice.ends_at}","path":"app/views/invoices/show.html.slim","position":46,"original_position":46,"commit_id":"eabe6200de207c8d65efbaf820fc3374983d1a20","original_commit_id":"eabe6200de207c8d65efbaf820fc3374983d1a20","user":{"login":"AlexanderUlitin","id":110636,"avatar_url":"https://avatars.githubusercontent.com/u/110636?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderUlitin","html_url":"https://github.com/AlexanderUlitin","followers_url":"https://api.github.com/users/AlexanderUlitin/followers","following_url":"https://api.github.com/users/AlexanderUlitin/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderUlitin/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderUlitin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderUlitin/subscriptions","organizations_url":"https://api.github.com/users/AlexanderUlitin/orgs","repos_url":"https://api.github.com/users/AlexanderUlitin/repos","events_url":"https://api.github.com/users/AlexanderUlitin/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderUlitin/received_events","type":"User","site_admin":false},"body":"@yunixon all uppercased texts should be styled in CSS. You can only use first letter uppercased in templates, like `Date`.","created_at":"2015-09-16T14:23:17Z","updated_at":"2015-09-16T14:23:17Z","html_url":"https://github.com/metastudio/cashbox/pull/273#discussion_r39635436","pull_request_url":"https://api.github.com/repos/metastudio/cashbox/pulls/273","_links":{"self":{"href":"https://api.github.com/repos/metastudio/cashbox/pulls/comments/39635436"},"html":{"href":"https://github.com/metastudio/cashbox/pull/273#discussion_r39635436"},"pull_request":{"href":"https://api.github.com/repos/metastudio/cashbox/pulls/273"}}},"pull_request":{"url":"https://api.github.com/repos/metastudio/cashbox/pulls/273","id":45153068,"html_url":"https://github.com/metastudio/cashbox/pull/273","diff_url":"https://github.com/metastudio/cashbox/pull/273.diff","patch_url":"https://github.com/metastudio/cashbox/pull/273.patch","issue_url":"https://api.github.com/repos/metastudio/cashbox/issues/273","number":273,"state":"open","locked":false,"title":"invoice design","user":{"login":"yunixon","id":5381361,"avatar_url":"https://avatars.githubusercontent.com/u/5381361?v=3","gravatar_id":"","url":"https://api.github.com/users/yunixon","html_url":"https://github.com/yunixon","followers_url":"https://api.github.com/users/yunixon/followers","following_url":"https://api.github.com/users/yunixon/following{/other_user}","gists_url":"https://api.github.com/users/yunixon/gists{/gist_id}","starred_url":"https://api.github.com/users/yunixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunixon/subscriptions","organizations_url":"https://api.github.com/users/yunixon/orgs","repos_url":"https://api.github.com/users/yunixon/repos","events_url":"https://api.github.com/users/yunixon/events{/privacy}","received_events_url":"https://api.github.com/users/yunixon/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-16T10:09:59Z","updated_at":"2015-09-16T14:23:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59951bd91692998d425ee4d3e7d47a6b2bb6fdb9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/metastudio/cashbox/pulls/273/commits","review_comments_url":"https://api.github.com/repos/metastudio/cashbox/pulls/273/comments","review_comment_url":"https://api.github.com/repos/metastudio/cashbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metastudio/cashbox/issues/273/comments","statuses_url":"https://api.github.com/repos/metastudio/cashbox/statuses/eabe6200de207c8d65efbaf820fc3374983d1a20","head":{"label":"metastudio:invoice-design","ref":"invoice-design","sha":"eabe6200de207c8d65efbaf820fc3374983d1a20","user":{"login":"metastudio","id":242805,"avatar_url":"https://avatars.githubusercontent.com/u/242805?v=3","gravatar_id":"","url":"https://api.github.com/users/metastudio","html_url":"https://github.com/metastudio","followers_url":"https://api.github.com/users/metastudio/followers","following_url":"https://api.github.com/users/metastudio/following{/other_user}","gists_url":"https://api.github.com/users/metastudio/gists{/gist_id}","starred_url":"https://api.github.com/users/metastudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metastudio/subscriptions","organizations_url":"https://api.github.com/users/metastudio/orgs","repos_url":"https://api.github.com/users/metastudio/repos","events_url":"https://api.github.com/users/metastudio/events{/privacy}","received_events_url":"https://api.github.com/users/metastudio/received_events","type":"Organization","site_admin":false},"repo":{"id":16614373,"name":"cashbox","full_name":"metastudio/cashbox","owner":{"login":"metastudio","id":242805,"avatar_url":"https://avatars.githubusercontent.com/u/242805?v=3","gravatar_id":"","url":"https://api.github.com/users/metastudio","html_url":"https://github.com/metastudio","followers_url":"https://api.github.com/users/metastudio/followers","following_url":"https://api.github.com/users/metastudio/following{/other_user}","gists_url":"https://api.github.com/users/metastudio/gists{/gist_id}","starred_url":"https://api.github.com/users/metastudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metastudio/subscriptions","organizations_url":"https://api.github.com/users/metastudio/orgs","repos_url":"https://api.github.com/users/metastudio/repos","events_url":"https://api.github.com/users/metastudio/events{/privacy}","received_events_url":"https://api.github.com/users/metastudio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metastudio/cashbox","description":"Manage organization cash","fork":false,"url":"https://api.github.com/repos/metastudio/cashbox","forks_url":"https://api.github.com/repos/metastudio/cashbox/forks","keys_url":"https://api.github.com/repos/metastudio/cashbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metastudio/cashbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metastudio/cashbox/teams","hooks_url":"https://api.github.com/repos/metastudio/cashbox/hooks","issue_events_url":"https://api.github.com/repos/metastudio/cashbox/issues/events{/number}","events_url":"https://api.github.com/repos/metastudio/cashbox/events","assignees_url":"https://api.github.com/repos/metastudio/cashbox/assignees{/user}","branches_url":"https://api.github.com/repos/metastudio/cashbox/branches{/branch}","tags_url":"https://api.github.com/repos/metastudio/cashbox/tags","blobs_url":"https://api.github.com/repos/metastudio/cashbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metastudio/cashbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metastudio/cashbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/metastudio/cashbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metastudio/cashbox/statuses/{sha}","languages_url":"https://api.github.com/repos/metastudio/cashbox/languages","stargazers_url":"https://api.github.com/repos/metastudio/cashbox/stargazers","contributors_url":"https://api.github.com/repos/metastudio/cashbox/contributors","subscribers_url":"https://api.github.com/repos/metastudio/cashbox/subscribers","subscription_url":"https://api.github.com/repos/metastudio/cashbox/subscription","commits_url":"https://api.github.com/repos/metastudio/cashbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/metastudio/cashbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/metastudio/cashbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/metastudio/cashbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/metastudio/cashbox/contents/{+path}","compare_url":"https://api.github.com/repos/metastudio/cashbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metastudio/cashbox/merges","archive_url":"https://api.github.com/repos/metastudio/cashbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metastudio/cashbox/downloads","issues_url":"https://api.github.com/repos/metastudio/cashbox/issues{/number}","pulls_url":"https://api.github.com/repos/metastudio/cashbox/pulls{/number}","milestones_url":"https://api.github.com/repos/metastudio/cashbox/milestones{/number}","notifications_url":"https://api.github.com/repos/metastudio/cashbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metastudio/cashbox/labels{/name}","releases_url":"https://api.github.com/repos/metastudio/cashbox/releases{/id}","created_at":"2014-02-07T12:45:39Z","updated_at":"2015-07-16T17:43:49Z","pushed_at":"2015-09-16T13:06:00Z","git_url":"git://github.com/metastudio/cashbox.git","ssh_url":"git@github.com:metastudio/cashbox.git","clone_url":"https://github.com/metastudio/cashbox.git","svn_url":"https://github.com/metastudio/cashbox","homepage":null,"size":4068,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"metastudio:master","ref":"master","sha":"d59c80778977789a90868eaa7431759a48776e31","user":{"login":"metastudio","id":242805,"avatar_url":"https://avatars.githubusercontent.com/u/242805?v=3","gravatar_id":"","url":"https://api.github.com/users/metastudio","html_url":"https://github.com/metastudio","followers_url":"https://api.github.com/users/metastudio/followers","following_url":"https://api.github.com/users/metastudio/following{/other_user}","gists_url":"https://api.github.com/users/metastudio/gists{/gist_id}","starred_url":"https://api.github.com/users/metastudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metastudio/subscriptions","organizations_url":"https://api.github.com/users/metastudio/orgs","repos_url":"https://api.github.com/users/metastudio/repos","events_url":"https://api.github.com/users/metastudio/events{/privacy}","received_events_url":"https://api.github.com/users/metastudio/received_events","type":"Organization","site_admin":false},"repo":{"id":16614373,"name":"cashbox","full_name":"metastudio/cashbox","owner":{"login":"metastudio","id":242805,"avatar_url":"https://avatars.githubusercontent.com/u/242805?v=3","gravatar_id":"","url":"https://api.github.com/users/metastudio","html_url":"https://github.com/metastudio","followers_url":"https://api.github.com/users/metastudio/followers","following_url":"https://api.github.com/users/metastudio/following{/other_user}","gists_url":"https://api.github.com/users/metastudio/gists{/gist_id}","starred_url":"https://api.github.com/users/metastudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metastudio/subscriptions","organizations_url":"https://api.github.com/users/metastudio/orgs","repos_url":"https://api.github.com/users/metastudio/repos","events_url":"https://api.github.com/users/metastudio/events{/privacy}","received_events_url":"https://api.github.com/users/metastudio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metastudio/cashbox","description":"Manage organization cash","fork":false,"url":"https://api.github.com/repos/metastudio/cashbox","forks_url":"https://api.github.com/repos/metastudio/cashbox/forks","keys_url":"https://api.github.com/repos/metastudio/cashbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metastudio/cashbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metastudio/cashbox/teams","hooks_url":"https://api.github.com/repos/metastudio/cashbox/hooks","issue_events_url":"https://api.github.com/repos/metastudio/cashbox/issues/events{/number}","events_url":"https://api.github.com/repos/metastudio/cashbox/events","assignees_url":"https://api.github.com/repos/metastudio/cashbox/assignees{/user}","branches_url":"https://api.github.com/repos/metastudio/cashbox/branches{/branch}","tags_url":"https://api.github.com/repos/metastudio/cashbox/tags","blobs_url":"https://api.github.com/repos/metastudio/cashbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metastudio/cashbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metastudio/cashbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/metastudio/cashbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metastudio/cashbox/statuses/{sha}","languages_url":"https://api.github.com/repos/metastudio/cashbox/languages","stargazers_url":"https://api.github.com/repos/metastudio/cashbox/stargazers","contributors_url":"https://api.github.com/repos/metastudio/cashbox/contributors","subscribers_url":"https://api.github.com/repos/metastudio/cashbox/subscribers","subscription_url":"https://api.github.com/repos/metastudio/cashbox/subscription","commits_url":"https://api.github.com/repos/metastudio/cashbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/metastudio/cashbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/metastudio/cashbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/metastudio/cashbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/metastudio/cashbox/contents/{+path}","compare_url":"https://api.github.com/repos/metastudio/cashbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metastudio/cashbox/merges","archive_url":"https://api.github.com/repos/metastudio/cashbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metastudio/cashbox/downloads","issues_url":"https://api.github.com/repos/metastudio/cashbox/issues{/number}","pulls_url":"https://api.github.com/repos/metastudio/cashbox/pulls{/number}","milestones_url":"https://api.github.com/repos/metastudio/cashbox/milestones{/number}","notifications_url":"https://api.github.com/repos/metastudio/cashbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metastudio/cashbox/labels{/name}","releases_url":"https://api.github.com/repos/metastudio/cashbox/releases{/id}","created_at":"2014-02-07T12:45:39Z","updated_at":"2015-07-16T17:43:49Z","pushed_at":"2015-09-16T13:06:00Z","git_url":"git://github.com/metastudio/cashbox.git","ssh_url":"git@github.com:metastudio/cashbox.git","clone_url":"https://github.com/metastudio/cashbox.git","svn_url":"https://github.com/metastudio/cashbox","homepage":null,"size":4068,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metastudio/cashbox/pulls/273"},"html":{"href":"https://github.com/metastudio/cashbox/pull/273"},"issue":{"href":"https://api.github.com/repos/metastudio/cashbox/issues/273"},"comments":{"href":"https://api.github.com/repos/metastudio/cashbox/issues/273/comments"},"review_comments":{"href":"https://api.github.com/repos/metastudio/cashbox/pulls/273/comments"},"review_comment":{"href":"https://api.github.com/repos/metastudio/cashbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metastudio/cashbox/pulls/273/commits"},"statuses":{"href":"https://api.github.com/repos/metastudio/cashbox/statuses/eabe6200de207c8d65efbaf820fc3374983d1a20"}}}}