{"action":"created","issue":{"url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1215","repository_url":"https://api.github.com/repos/invoiceninja/invoiceninja","labels_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1215/labels{/name}","comments_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1215/comments","events_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1215/events","html_url":"https://github.com/invoiceninja/invoiceninja/issues/1215","id":197252674,"number":1215,"title":"Rework naming of invoice design variables","user":{"login":"Braintelligence","id":6761196,"avatar_url":"https://avatars.githubusercontent.com/u/6761196?v=3","gravatar_id":"","url":"https://api.github.com/users/Braintelligence","html_url":"https://github.com/Braintelligence","followers_url":"https://api.github.com/users/Braintelligence/followers","following_url":"https://api.github.com/users/Braintelligence/following{/other_user}","gists_url":"https://api.github.com/users/Braintelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/Braintelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Braintelligence/subscriptions","organizations_url":"https://api.github.com/users/Braintelligence/orgs","repos_url":"https://api.github.com/users/Braintelligence/repos","events_url":"https://api.github.com/users/Braintelligence/events{/privacy}","received_events_url":"https://api.github.com/users/Braintelligence/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-22T19:45:08Z","updated_at":"2016-12-23T15:44:33Z","closed_at":null,"body":"When creating a custom invoice design you need to dig in into the code if you want to find all variables and even then it's not that easy to find out how to call it in the invoice design.\r\n\r\nWhat I don't understand for example is why I need to use `$client.name` and `$account.name` but as soon as I want to access the invoice date it's `$invoice_date` instead of `$invoice.invoice_date` as the pdf.pdfmake.js would suggest.\r\n\r\nEither a rework or a fully complete list of all available variables is needed in my opinion.\r\n\r\nAlso I hope that an update of Invoice Ninja will never change the variable names without at least a reference to the old names, so they're still callable, because that would break invoice designs you create now."},"comment":{"url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/comments/269007662","html_url":"https://github.com/invoiceninja/invoiceninja/issues/1215#issuecomment-269007662","issue_url":"https://api.github.com/repos/invoiceninja/invoiceninja/issues/1215","id":269007662,"user":{"login":"Braintelligence","id":6761196,"avatar_url":"https://avatars.githubusercontent.com/u/6761196?v=3","gravatar_id":"","url":"https://api.github.com/users/Braintelligence","html_url":"https://github.com/Braintelligence","followers_url":"https://api.github.com/users/Braintelligence/followers","following_url":"https://api.github.com/users/Braintelligence/following{/other_user}","gists_url":"https://api.github.com/users/Braintelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/Braintelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Braintelligence/subscriptions","organizations_url":"https://api.github.com/users/Braintelligence/orgs","repos_url":"https://api.github.com/users/Braintelligence/repos","events_url":"https://api.github.com/users/Braintelligence/events{/privacy}","received_events_url":"https://api.github.com/users/Braintelligence/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T15:44:33Z","updated_at":"2016-12-23T15:44:33Z","body":"Maybe it would be good to create a documentation regarding basic invoice designing together with a table of available variables."}}
{"actor":{"display_login":"Braintelligence"}}