{"action":"created","issue":{"url":"https://api.github.com/repos/hillelcoren/invoice-ninja/issues/314","labels_url":"https://api.github.com/repos/hillelcoren/invoice-ninja/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/hillelcoren/invoice-ninja/issues/314/comments","events_url":"https://api.github.com/repos/hillelcoren/invoice-ninja/issues/314/events","html_url":"https://github.com/hillelcoren/invoice-ninja/issues/314","id":78193332,"number":314,"title":"utf8_invoices + pdfmake Error not Found on invoices/edit View","user":{"login":"aldrakos","id":4046874,"avatar_url":"https://avatars.githubusercontent.com/u/4046874?v=3","gravatar_id":"","url":"https://api.github.com/users/aldrakos","html_url":"https://github.com/aldrakos","followers_url":"https://api.github.com/users/aldrakos/followers","following_url":"https://api.github.com/users/aldrakos/following{/other_user}","gists_url":"https://api.github.com/users/aldrakos/gists{/gist_id}","starred_url":"https://api.github.com/users/aldrakos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldrakos/subscriptions","organizations_url":"https://api.github.com/users/aldrakos/orgs","repos_url":"https://api.github.com/users/aldrakos/repos","events_url":"https://api.github.com/users/aldrakos/events{/privacy}","received_events_url":"https://api.github.com/users/aldrakos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-19T18:07:41Z","updated_at":"2015-05-27T12:48:28Z","closed_at":null,"body":"Hello, just an issue with the new -beta- addition of pdfmake to handle utf-8 Pdf generation:\r\n\r\nOn the view resources\\views\\invoices\\edit.blade.php, if the user has opted for the utf-8 invoices the file requested does not exist: it tries to load \r\nasset('vendor/pdfmake/build/pdfmake.min.js') }} \r\nwhich neither exists (vendor/pdfmake) nor is accessible.\r\n\r\nTo fix this, replace line 10 in \\resources\\views\\invoices\\edit.blade.php from\r\n            `<script src=\"{{ asset('vendor/pdfmake/build/pdfmake.min.js') }}\" type=\"text/javascript\"></script>`\r\nto\r\n            `<script src=\"{{ asset('js/pdfmake.min.js') }}\" type=\"text/javascript\"></script>`\r\nand download the pdfmake.min.js from the pdfmake repo -/build folder- ( https://github.com/bpampuch/pdfmake ) and copy it to the \\public\\js\\  folder.\r\n\r\nThere is an existing pdf.pdfmake.js file there, but I am guessing is either a stripped down version or something else as it is only 8KB uncompressed compared to the minimized 411KB pdfmake.min.js\r\n\r\nBy doing this everything works fine in my case, and UTF-8 characters (Greek in my case) are showing just fine."},"comment":{"url":"https://api.github.com/repos/hillelcoren/invoice-ninja/issues/comments/105894272","html_url":"https://github.com/hillelcoren/invoice-ninja/issues/314#issuecomment-105894272","issue_url":"https://api.github.com/repos/hillelcoren/invoice-ninja/issues/314","id":105894272,"user":{"login":"mistyk","id":110272,"avatar_url":"https://avatars.githubusercontent.com/u/110272?v=3","gravatar_id":"","url":"https://api.github.com/users/mistyk","html_url":"https://github.com/mistyk","followers_url":"https://api.github.com/users/mistyk/followers","following_url":"https://api.github.com/users/mistyk/following{/other_user}","gists_url":"https://api.github.com/users/mistyk/gists{/gist_id}","starred_url":"https://api.github.com/users/mistyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistyk/subscriptions","organizations_url":"https://api.github.com/users/mistyk/orgs","repos_url":"https://api.github.com/users/mistyk/repos","events_url":"https://api.github.com/users/mistyk/events{/privacy}","received_events_url":"https://api.github.com/users/mistyk/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T12:48:28Z","updated_at":"2015-05-27T12:48:28Z","body":"Hi,\r\n\r\nI've always the same problem with the last version. All my \"é\" become \"&eacute\"  (when stored in Invoice_Terms table) when pdf is generate. \r\n\r\nAre you solved this issue ?\r\nThanx"}}