Skip to content

Instantly share code, notes, and snippets.

@ermst4r
Created July 24, 2017 08:28
Show Gist options
  • Select an option

  • Save ermst4r/ac58845b413ce2e0b20fff669f7db481 to your computer and use it in GitHub Desktop.

Select an option

Save ermst4r/ac58845b413ce2e0b20fff669f7db481 to your computer and use it in GitHub Desktop.
lg
<?php
$tax = number_format($won_veiling->paid_amount / 100 * 21,2,‘.’,‘’);
$price_as_cent_ex_btw = bcmul($won_veiling->paid_amount - $tax ,100);
$price_as_cent_inc_btw = bcmul($won_veiling->paid_amount ,100);
?>
<!-- Engine tracking -->
<script type=“text/javascript”>
function ENgine_tracker_initialized()
{
ENgine_tracker._setLeadData(‘840e746d18__841f78cd44’, ‘Veilingen’, ‘{!! $won_veiling->order_number !!}‘);
ENgine_tracker._addRow(‘{!! $product_by_veiling->product_name !!}‘, ‘Producten’, ‘{!! $price_as_cent_ex_btw !!}‘, ‘1’, ‘{!! $price_as_cent_inc_btw !!}‘);
ENgine_tracker._process();
}
</script>
<script type=“text/javascript”>
var ENgine_tracker_hostname = ((“https:” == document.location.protocol) ? “https://secure.e-ngine.nl/” : “http://newsletter.hellospecial.com/“);
document.write(unescape(“%3Cscript src=‘” + ENgine_tracker_hostname + “mail/ENgine_tracker.js’ type=‘text/javascript’%3E%3C/script%3E”));
</script>
<noscript>
<img src=“http://newsletter.hellospecial.com/mail/lead.php?cid=840e746d18__841f78cd44&amp;type=subscription&amp;uid={!! $won_veiling->order_number !!}&amp;total={!! $price_as_cent_ex_btw !!}&totalBruto={!! $price_as_cent_inc_btw !!}” width=“1" height=“1” alt=“” />
</noscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment