<script>
var printhisopt = {
			importCSS: true,
      importStyle: true,
      loadCSS: "<?php echo ULP_URL . 'assets/css/public.css';?>",
      debug: false,
      printContainer: true,
      pageTitle: "",
      removeInline: false,
      printDelay: 333,
      header: null,
      formValues: false,
};
</script>

<?php if ($data ['image']):?>

<style>
.ulp-certificate-wrapp{
		background-size: cover;
  	background-blend-mode: overlay;
    background-image: url('<?php echo $data ['image'];?>');
}
</style>

<?php endif; ?>

<div class="ulp-invoice-bttn-wrapp">
	<div class="ulp-popup-print-bttn" onClick="jQuery('<?php echo '#' . $data['wrapp_id'];?>').printThis(printhisopt);"><?php _e('Print Certificate', 'ulp');?></div>
</div>

<div class="ulp-certificate-wrapp" id="<?php echo $data['wrapp_id'];?>">
    <!--div class="ulp-certificate-title"><?php echo $data ['title'];?></div-->
    <div class="ulp-certificate-content"><?php echo $data ['content'];?></div>
</div>
