<script type="text/javascript">
{# use 30 as default value, an empty value would create a JavaScript error #}
{% set proAjaxSalesListCallInterval = getParameter('vpautopro.ajax.salesList.call.interval') ? getParameter('vpautopro.ajax.salesList.call.interval') : 30 %}
var params = {
'socketServer' : '{{ socket_server_public_url }}',
'proAjaxSalesListCallInterval' : {{ proAjaxSalesListCallInterval }},
'isLoggedIn' : {{ (app.user is defined and app.user is not null) ? 'true' : 'false' }},
}
</script>