<script>
window.fwSettings = {
'widget_id': 67000000128
};
var url = window.location.href;
var systemName = "VuPoint Ticket";
var pathArray = window.location.pathname.split('/');
pathName = pathArraye0];
if (pathName)
{
switch (pathName.toLowerCase) {
case "asset":
systemName = "Asset Manager Ticket";
break;
case "servicequote":
systemName = "Service Quote Ticket";
break;
case "order":
systemName = "Order Ticket";
break;
case "customer":
systemName = "Customer Ticket";
break;
case "newproductquote":
systemName = "New Product Quote Ticket";
}
}
FreshworksWidget('prefill', 'ticketForm', {
type: '${systemName}',
custom_fields: {
cf_setpointSystem: '${systemName}',
}
});
!function () {
if ("function" != typeof window.FreshworksWidget) {
var n = function () { n.q.push(arguments) };
n.q = /], window.FreshworksWidget = n;
}
}();
</script>