<!DOCTYPE html>
<html dir="ltr" lang="en-US">
  <head>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="/sticker/app_2.css" />
    <link rel="stylesheet" href="/sticker/print.css" media="print" />
    <title>Document</title>
  </head>
  <body>
    <div class="book">
      <div class="mypage">
        <div class="submypage">
          <div class="t3-containert">
            <div class="box1-1info top fnt rotateEl">
            <div>Name:{{ $boardingPass->ticket->called.' '.$boardingPass->ticket->fullName}}</div>
             <div>
                <div>room:{{$boardingPass->room->code}} / date:{{ $boardingPass->created_at->format('h:i a') }}</div>
                <div>MOBILE:{{ $boardingPass->ticket->phone }}</div>
                </div>
               
               
               <div>
               <div>from:  {{ $boardingPass->ticket->segment->cruise->originPort->name }}  /</div>
               <div>
                  <div>to: {{ $boardingPass->ticket->segment->cruise->destinationPort->name}} /</div>
                   
                 <div>Cruise:{{ $boardingPass->ticket->segment->cruise->name }} {{ $boardingPass->ticket->segment->cruise->cruise_number }}</div>
                 <div style=" font-size: 4.5mm;">E-ticket:  {{ $boardingPass->ticket->ticket_number }}</div>
               </div>

               </div>
            </div>
             <canvas class="code-bar-t cb4 rotateEl barcode"></canvas>
            <div class="box11info fnt rotateEl ">
            <canvas class="code-bar-t cb6 barcode"></canvas>
            <div style=" margin-bottom: 3mm;">Name:{{ $boardingPass->ticket->called.' '.$boardingPass->ticket->fullName}}</div>
             <div>
                <div style=" margin-bottom: 3mm;">room:{{$boardingPass->room->code}} / date:{{ $boardingPass->created_at->format('h:i a') }}</div>
                <div style=" margin-bottom: 3mm;">MOBILE:{{ $boardingPass->ticket->phone }}</div>
                </div>
               
               
               <div>
               <div style=" margin-bottom: 3mm;">from:  {{ $boardingPass->ticket->segment->cruise->originPort->name }}  /</div>
               <div>
                  <div style=" margin-bottom: 3mm;">to: {{ $boardingPass->ticket->segment->cruise->destinationPort->name}} /</div>
                   
                 <div style=" margin-bottom: 3mm;">Cruise:{{ $boardingPass->ticket->segment->cruise->name }} {{ $boardingPass->ticket->segment->cruise->cruise_number }}</div>
                 <div style=" font-size: 4.5mm;">E-ticket:  {{ $boardingPass->ticket->ticket_number }}</div>
               </div>
               
               </div>
               <canvas class="code-bar-t cb5 barcode"></canvas>
            </div>
            
            <div class="box12info fnt  ">
            <canvas class="code-bar-t cb7 barcode"></canvas>
            <div style=" margin-bottom: 3mm;">Name:{{ $boardingPass->ticket->called.' '.$boardingPass->ticket->fullName}}</div>
             <div>
                <div style=" margin-bottom: 3mm;">room:{{$boardingPass->room->code}} / date:{{ $boardingPass->created_at->format('h:i a') }}</div>
                <div style=" margin-bottom: 3mm;">MOBILE:{{ $boardingPass->ticket->phone }}</div>
                </div>
               
               
               <div>
               <div style=" margin-bottom: 3mm;">from:  {{ $boardingPass->ticket->segment->cruise->originPort->name }}  /</div>
               <div>
                  <div style=" margin-bottom: 3mm;">to: {{ $boardingPass->ticket->segment->cruise->destinationPort->name}} /</div>
                   
                 <div style=" margin-bottom: 3mm;">Cruise:{{ $boardingPass->ticket->segment->cruise->name }} {{ $boardingPass->ticket->segment->cruise->cruise_number }}</div>
                 <div style=" font-size: 4.5mm;">E-ticket:  {{ $boardingPass->ticket->ticket_number }}</div>
               </div>
               
               </div>
               <canvas class="code-bar-t cb8 barcode"></canvas>
            </div>
            <canvas class="code-bar-t cb1  barcode"></canvas>
            <canvas class="code-bar-t cb2  barcode"></canvas>
            <canvas class="code-bar-t cb3  barcode"></canvas>
          </div>
        </div>
      </div>
    </div>



            </body>
            <script src="/js/JsBarcode.all.min.js"></script>
  <script>
   JsBarcode(".barcode",'{{$bag->code}}',{
    background: 'transparent'
   } );
   </script>
</html>
