<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">

    <title>Receiving Voucher</title>
    <style>


        @page {
           size: A4;
           margin: 0;
        }
        @media print {
          html, body{
            padding:15px;
            font-size:12px;
                      }
          /* ... the rest of the rules ... */
        }
    </style>
</head>
<body>
    <center>
        <button onclick="window.print()" class="btn btn-sm btn-warning d-print-none">Print this page</button>
        <a href="/" class="btn btn-sm btn-danger d-print-none">Back</a>
        </center>
    <div class="container-fluid">
     
            <div class="row">
                <div class="col-6">
                <h1 ><?php echo e($record->ProjectName); ?></h1>
                </div>
                <div class="col-6 pt-3 ">
                <p class="text-end"><small>Print time : <?php echo e(date('d-M-y H:i:s')); ?></small></p>
                    
                </div>
                
            </div>
            
<h6><i>Receiving Voucher</i></h6>
            <hr>
            <div class="row">
                    <div class="col-3 ">
                    <h7 >Receipt No# :</h7>
                    </div>
                    <div class="col-3">
                    <h7 ><?php echo e($record->id); ?></h7>
                    </div>   

                    <div class="col-3 ">
                    <h7 >Date  : </h7>
                    </div>    
                    <div class="col-3 ">
                    <h7 ><?php echo e(date('d-M-y', strtotime($record->cvdate))); ?></h7>
                    </div>     
                    
            </div>
            <div class="row">
                <div class="col-3">
                <h7 >Account ID  : </h7>
                </div>     
                <div class="col-3">
                <h7 ><?php echo e($record->header_code); ?>-<?php echo e($record->account_id); ?></h7>
                </div>      
                                <div class="col-3">
                <h7 >Total Amount : </h7>
                </div>           
                <div class="col-3">
                <h7><b><?php echo e(number_format($record->total_amount,0)); ?></b></h7>
                </div>    
                
            </div>    
            
            <div class="row">
            
                <div class="col-3">
                <h7 >Account Name  : </h7>
                </div>      
                <div class="col-3">
                <h7 ><?php echo e($record->account_name); ?></h7>
                </div>     
                                <div class="col-3">
                <h7 >In Words: </h7>
                </div>           
                <div class="col-3">
                <h7><?php echo e($inword); ?></h7>
                </div>    
            </div>        
            <div class="row">
                                <div class="col-3">
                <h7 >Payment Type  : </h7>
                </div>      
                <div class="col-3">
                <h7 ><?php echo e($record->payment_type); ?></h7>
                </div>    
            </div>       
            <div class="row text-center">
                <div class="col-12">                    
                    <hr>
                    <h5>Description</h5>
                <h7 ><?php echo e($record->description); ?></h7>
                    <hr>
                </div>              
            </div>   
            <div class="row mt-5">
                <div class="col-5 offset-1">
                <h5 class="text-center">Received By </h5>
                <hr>
                </div>
                <div class="col-5">
                <h5 class="text-center">Permission </h5>
                <hr>
                </div>
            </div>       
           
 
                  
            </div>  

 
        
    </div>
    
</body>
</html><?php /**PATH /home/alameenb/public_html/resources/views/Rvoucher/show.blade.php ENDPATH**/ ?>