{"action":"created","issue":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6032","repository_url":"https://api.github.com/repos/salesagility/SuiteCRM","labels_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6032/labels{/name}","comments_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6032/comments","events_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6032/events","html_url":"https://github.com/salesagility/SuiteCRM/issues/6032","id":332274710,"node_id":"MDU6SXNzdWUzMzIyNzQ3MTA=","number":6032,"title":"vat_list update via interface is going wrong","user":{"login":"parijke","id":7671998,"node_id":"MDQ6VXNlcjc2NzE5OTg=","avatar_url":"https://avatars2.githubusercontent.com/u/7671998?v=4","gravatar_id":"","url":"https://api.github.com/users/parijke","html_url":"https://github.com/parijke","followers_url":"https://api.github.com/users/parijke/followers","following_url":"https://api.github.com/users/parijke/following{/other_user}","gists_url":"https://api.github.com/users/parijke/gists{/gist_id}","starred_url":"https://api.github.com/users/parijke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parijke/subscriptions","organizations_url":"https://api.github.com/users/parijke/orgs","repos_url":"https://api.github.com/users/parijke/repos","events_url":"https://api.github.com/users/parijke/events{/privacy}","received_events_url":"https://api.github.com/users/parijke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-14T07:00:46Z","updated_at":"2018-06-22T10:07:57Z","closed_at":null,"author_association":"NONE","body":"#### Issue\r\nWhile adding entries to the vat_list through the webinterface gives bad results when using that value in creating an invoice.\r\n\r\n#### Expected Behavior\r\nThe enterend entry should just calcuate the vat\r\n\r\n#### Actual Behavior\r\n<!--- Tell us what happens instead -->\r\n<!--- Also please check relevant logs (suitecrm.log, php error.log etc.) -->\r\nIt shows -NaN,NaN in the calculated vat field\r\n\r\n#### Possible Fix\r\n<!--- Not obligatory, but suggest a fix or reason for the bug -->\r\nThere's something wrong. While entering the new vat values, the webinterface says the ket should start with an alphanumeric value. So I entered High with a percenteage of 21%.\r\n\r\n#### Steps to Reproduce\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug include code to reproduce, if relevant -->\r\n1. go to index.php?module=ModuleBuilder&action=index&type=dropdowns#ajaxUILoc=&mbContent=module%3DModuleBuilder%26action%3Ddropdowns\r\n2. try to enter a new value\r\n3. try to use that value in an invoice\r\n4.\r\n\r\n#### Context\r\n<!--- How has this bug affected you? What were you trying to accomplish? -->\r\n<!--- If you feel this should be a low/medium/high priority then please state so -->\r\nI have manually changed the values in the file\r\ncustom/include/language/nl_NL.lang.php \r\n\r\nBefore:\r\n```\r\n<?php\r\n\r\n$GLOBALS['app_list_strings']['vat_list'] = array(\r\n  '0.0' => '0%',\r\n  'High' => '21%',\r\n);\r\n```\r\nAfter:\r\n```\r\n<?php\r\n\r\n$GLOBALS['app_list_strings']['vat_list'] = array(\r\n  '0.0' => '0%',\r\n  '21.0' => '21%',\r\n);\r\n```\r\n\r\n#### Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n* SuiteCRM Version used:\r\nVersion 7.10.6\r\nSugar Version 6.5.25 (Build 344)\r\n"},"comment":{"url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/comments/399393226","html_url":"https://github.com/salesagility/SuiteCRM/issues/6032#issuecomment-399393226","issue_url":"https://api.github.com/repos/salesagility/SuiteCRM/issues/6032","id":399393226,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTM5MzIyNg==","user":{"login":"parijke","id":7671998,"node_id":"MDQ6VXNlcjc2NzE5OTg=","avatar_url":"https://avatars2.githubusercontent.com/u/7671998?v=4","gravatar_id":"","url":"https://api.github.com/users/parijke","html_url":"https://github.com/parijke","followers_url":"https://api.github.com/users/parijke/followers","following_url":"https://api.github.com/users/parijke/following{/other_user}","gists_url":"https://api.github.com/users/parijke/gists{/gist_id}","starred_url":"https://api.github.com/users/parijke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parijke/subscriptions","organizations_url":"https://api.github.com/users/parijke/orgs","repos_url":"https://api.github.com/users/parijke/repos","events_url":"https://api.github.com/users/parijke/events{/privacy}","received_events_url":"https://api.github.com/users/parijke/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T10:07:57Z","updated_at":"2018-06-22T10:07:57Z","author_association":"NONE","body":"I misinterpreted the interface...\r\n\r\nIn the first field is says \" must be alphanumeric\" so I thought this was the despription. But it in not. The first field is actually the percentage used, only entered as 21.0% (which is alphanumeric)\r\n\r\nThis was a bit confusing"}}
{"actor":{"display_login":"parijke"}}