<html>
    <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <!-- Template CSS -->
  <!-- Custom style CSS -->
  <style>
        table tr td{
            width:40%;
            padding-left :10px;
            padding-top :2px;
        }
        table tr td
            {
            height : 115px;
            margin-top:-35px;
            font-size:12px;
            text-align:center;
            }
        
    </style>
  <link rel="stylesheet" href="{{asset('assets/css/custom.css')}}">
    <title>Impression de code barre</title>
    </head>
    <body>
	@php
    $generatorPNG = new Picqer\Barcode\BarcodeGeneratorPNG();
	@endphp
		<table style="width:750px;height:900px;margin-top:-15px;margin-bottom:-60px;margin-left:-35px">
        <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px"><span style="font-size:8px">{{strtoupper($produits->designation)}}</span></span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
	    <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
        <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
        <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
        <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
        <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
        <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
        <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
        <tr> 
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/> <span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span> </td>
            <td><img src="data:image/png;base64,{{ base64_encode($generatorPNG->getBarcode($produits->barcode, $generatorPNG::TYPE_CODE_128)) }}"> <br/><span style="font-size:8px">{{strtoupper($produits->designation)}}</span>  </td>
        </tr>
		</table>

    <!-- JS Libraies -->
  <!-- Page Specific JS File -->
	</body>
</html> 