
   <?php ($message = 'Payment Receipt against booking details (Article Name:"'.$payment->booking->plot->plot_id.' "Type:" '.$payment->booking->plot->type .'") & payment details (Receipt No. "'.$payment->receipt_no.' " Amount:" '.EF::numberFormat($payment->amount).'") has been viewed'); ?>
    <?php (EF::createLogs($message,'document')); ?>
                    <?php ($other_info = $payment->showGenericTypeDetail($payment)); ?>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Payment Receipt</title>

<style type="text/css">

/* GENERAL CSS APPLY ALL SECTIONS*/
    .margin{
        padding-top: 16px;
    }

    *{
        margin: 0;
        padding: 0;
    }
    .clear{

        clear: both;
    }

    .top-section{
        margin-left: 4%;
    }

    input[type=text]
    {



        border-top: 0;
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid;
        font-size: 12px;
        text-align: center;
        background-color: transparent;

    }

/*  #START=> APPARTMENT SECTION */
    .main-section .row .col{

        margin-right: 0px;
        padding-right: 0px;
        float: left;

    }

    .main-section .row{

 border: 1px solid;


    }

.bold-label{
        font-size: 12px;
        font-weight: bold;
    }

    .text-label
    {
        font-size:12px;
    }


    .main-section .row .col .label{
        vertical-align: middle;


    }

/*  #END=> APPARTMENT SECTION */




    .title{


        color: #000;
        width:30%;
        font-weight: bolder;
        text-align: center;
        height: auto;
        vertical-align: middle;
        padding: 0px;
        position: absolute;
        font-size: 18px;
        margin-left: 36%;
        bottom:  82%;

    }

    .watermark {
        position: absolute;
        opacity: 0.25;
        font-size: 5em;
        width: 100%;
        text-align: center;
        z-index: 1000;
        padding-top:200px;
        transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
    }

</style>
</head>

 <body style="margin:3% 7% 4% 7%;">


     <div class="container" >

        <!-- CUSTOMER COPY -->
        <div style = "width:33%; border:1px solid;">
            <?php if(isset($watermark) && ($watermark === "Reject" || $watermark === "Reversal") ): ?>
            <div class="watermark"><?php echo e($watermark); ?></div>
            <?php endif; ?>
        <div class="main-section">
               <br>
         <?php echo $__env->make('letters.pdf_letter_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
     <br>

            <center> <h5>(Customer Copy)</h5></center>

                <div class="row">
                <div class="col margin" style="width:67%">
                    <label class= "bold-label">Receipt No: </label><label class="text-label"><?php echo e($payment->receipt_no); ?></label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Date: </label><label class= "text-label"><?php echo e(EF::dateFormat($payment->created_at)); ?></label>
                </div>
            </div>

            <div class="row clear">
                <div class="col margin" style="width:100%">
                    <label class= "bold-label">Received with thanks from: </label><label class="text-label" ><?php echo e(strtoupper($user->name)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Customer Code: </label><label class="text-label" ><?php echo e(strtoupper($user->code)); ?></label>
                </div>
            </div>

                    <div class="row clear">
                <div class="col margin" style="width:63%">
                    <label class= "bold-label">Type: </label><label class="text-label"><?php echo e($payment->mode); ?></label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Cheque #: </label><label class= "text-label"><?php echo e($payment->instrument); ?></label>
                </div>
            </div>

                    <div class="row clear">
                <div class="col margin" style="width:55%">
                    <label class= "bold-label">Narration: </label><label style="font-size: 7pt;" class="text-label"><?php echo e($payment->description); ?><label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Cheque Dated: </label><label class= "text-label"><?php echo e(EF::dateFormat($payment->instrument_date)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Drawn on: </label><label class="text-label" ><?php echo e(strtoupper($payment->drawn_on)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Office Code: </label><label class="text-label" ></label>
                </div>
            </div>
               <div class="row clear" style ="padding:1%;">
            <table style ="text-align: center; width:100%; border: 1px solid; font-size:12px;">
                <thead>
                    <tr>
                        <td style = "width:50%; border:1px solid;"><b>Particulars</b></td>
                        <td style = "width:50%; border:1px solid; text-align:center;"><b>Amount</b></td>
                    </tr>
                </thead>
                <tbody>
                    <tr style ="border:1px;">
                        <td style = "border:1px solid;"><?php echo e($other_info['description']); ?></td>
                        <td style = "border:1px solid;"><?php echo e(EF::numberFormat($payment->amount)); ?></td>


                    </tr>
                      <tr style ="border:1px solid;">
                        <td style = "border:1px solid;"><b>Total Amount Received</b></td>
                        <td style = "border:1px solid;"><?php echo e(EF::numberFormat($payment->amount)); ?></td>


                    </tr>
                       <tr style ="border:1px;">
                        <td colspan="2" style = "border:1px solid; text-align: left;"><b><?php echo e(EF::numberToWords($payment->amount)); ?> only</b></td>
                    </tr>
                         <tr style ="border:1px solid;">
                        <td colspan="2" style = "border:1px solid; text-align: left;"">Subject to the realisation of cheque</td>

                    </tr>
                </tbody>
            </table>
               </div>

                <div class="row clear" style ="padding-top: 13%;">
                <div class="col margin" style="width:67%">
                    <label class= "text-label">Accountant </label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "text-label">Stamp/Signature </label>
                </div>

                </div>
             <div class="row clear">
                <div class="col margin" >
                    <center><label class= "bold-label">Made by <?php echo e($payment->systemUser->name); ?></label></center>
                </div>
            </div>
    </div>




     </div>
        <!-- END CUSTOMER COPY -->

        <!-- ACCOUNT COPY -->
        <div style = "width:33%; border:1px solid; position: absolute; clear: both; left: 35%; top: 0%;">
            <?php if(isset($watermark) && ($watermark === "Reject" || $watermark === "Reversal") ): ?>
            <div class="watermark"><?php echo e($watermark); ?></div>
            <?php endif; ?>
             <div class="main-section">
               <br>
         <?php echo $__env->make('letters.pdf_letter_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
     <br>

            <center> <h5>(Accounts Copy)</h5></center>

                <div class="row">
                <div class="col margin" style="width:67%">
                    <label class= "bold-label">Receipt No: </label><label class="text-label"><?php echo e($payment->receipt_no); ?></label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Date: </label><label class= "text-label"><?php echo e(EF::dateFormat($payment->created_at)); ?></label>
                </div>
            </div>

            <div class="row clear">
                <div class="col margin" style="width:100%">
                    <label class= "bold-label">Received with thanks from: </label><label class="text-label" ><?php echo e(strtoupper($user->name)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Customer Code: </label><label class="text-label" ><?php echo e(strtoupper($user->code)); ?></label>
                </div>
            </div>

                    <div class="row clear">
                <div class="col margin" style="width:63%">
                    <label class= "bold-label">Type: </label><label class="text-label"><?php echo e($payment->mode); ?></label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Cheque #: </label><label class= "text-label"><?php echo e($payment->instrument); ?></label>
                </div>
            </div>

                    <div class="row clear">
                <div class="col margin" style="width:55%">
                     <label class= "bold-label">Narration: </label><label style="font-size: 7pt;" class="text-label"><?php echo e($payment->description); ?><label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Cheque Dated: </label><label class= "text-label"><?php echo e(EF::dateFormat($payment->instrument_date)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Drawn on: </label><label class="text-label" ><?php echo e(strtoupper($payment->drawn_on)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Office Code: </label><label class="text-label" ></label>
                </div>
            </div>
               <div class="row clear" style ="padding:1%;">
            <table style ="text-align: center; width:100%; border: 1px solid; font-size:12px;">
                <thead>
                    <tr>
                        <td style = "width:50%; border:1px solid;"><b>Particulars</b></td>
                        <td style = "width:50%; border:1px solid; text-align:center;"><b>Amount</b></td>
                    </tr>
                </thead>
                <tbody>
                    <tr style ="border:1px;">
                        <td style = "border:1px solid;"><?php echo e($other_info['description']); ?></td>
                        <td style = "border:1px solid;"><?php echo e(EF::numberFormat($payment->amount)); ?></td>


                    </tr>
                      <tr style ="border:1px solid;">
                        <td style = "border:1px solid;"><b>Total Amount Received</b></td>
                        <td style = "border:1px solid;"><?php echo e(EF::numberFormat($payment->amount)); ?></td>


                    </tr>
                       <tr style ="border:1px;">
                        <td colspan="2" style = "border:1px solid; text-align: left;"><b><?php echo e(EF::numberToWords($payment->amount)); ?> only</b></td>
                    </tr>
                         <tr style ="border:1px solid;">
                        <td colspan="2" style = "border:1px solid; text-align: left;"">Subject to the realisation of cheque</td>

                    </tr>
                </tbody>
            </table>
               </div>

                <div class="row clear" style ="padding-top: 13%;">
                <div class="col margin" style="width:67%">
                    <label class= "text-label">Accountant </label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "text-label">Stamp/Signature </label>
                </div>

                </div>
             <div class="row clear">
                <div class="col margin" >
                    <center><label class= "bold-label">Made by <?php echo e($payment->systemUser->name); ?></label></center>
                </div>
            </div>
    </div>





     </div>
        <!-- END ACCOUNT COPY -->


        <!-- OFFICE COPY -->
        <div style = "width:33%; border:1px solid; position: absolute; clear: both; left: 70%; top: 0%;">
            <?php if(isset($watermark) && ($watermark === "Reject" || $watermark === "Reversal") ): ?>
            <div class="watermark"><?php echo e($watermark); ?></div>
            <?php endif; ?>
 <div class="main-section">
               <br>
         <?php echo $__env->make('letters.pdf_letter_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
     <br>

            <center> <h5>(Office Copy)</h5></center>

                <div class="row">
                <div class="col margin" style="width:67%">
                    <label class= "bold-label">Receipt No: </label><label class="text-label"><?php echo e($payment->receipt_no); ?></label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Date: </label><label class= "text-label"><?php echo e(EF::dateFormat($payment->created_at)); ?></label>
                </div>
            </div>

            <div class="row clear">
                <div class="col margin" style="width:100%">
                    <label class= "bold-label">Received with thanks from: </label><label class="text-label" ><?php echo e(strtoupper($user->name)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Customer Code: </label><label class="text-label" ><?php echo e(strtoupper($user->code)); ?></label>
                </div>
            </div>

                    <div class="row clear">
                <div class="col margin" style="width:63%">
                    <label class= "bold-label">Type: </label><label class="text-label"><?php echo e($payment->mode); ?></label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Cheque #: </label><label class= "text-label"><?php echo e($payment->instrument); ?></label>
                </div>
            </div>

                    <div class="row clear">
                <div class="col margin" style="width:55%">
                     <label class= "bold-label">Narration: </label><label style="font-size: 7pt;" class="text-label"><?php echo e($payment->description); ?><label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "bold-label">Cheque Dated: </label><label class= "text-label"><?php echo e(EF::dateFormat($payment->instrument_date)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Drawn on: </label><label class="text-label" ><?php echo e(strtoupper($payment->drawn_on)); ?></label>
                </div>
            </div>
              <div class="row clear">
                <div class="col margin" style="width:70%">
                    <label class= "bold-label">Office Code: </label><label class="text-label" ></label>
                </div>
            </div>
               <div class="row clear" style ="padding:1%;">
            <table style ="text-align: center; width:100%; border: 1px solid; font-size:12px;">
                <thead>
                    <tr>
                        <td style = "width:50%; border:1px solid;"><b>Particulars</b></td>
                        <td style = "width:50%; border:1px solid; text-align:center;"><b>Amount</b></td>
                    </tr>
                </thead>
                <tbody>



                    <tr style ="border:1px;">
                        <td style = "border:1px solid;"><?php echo e($other_info['description']); ?></td>
                        <td style = "border:1px solid;"><?php echo e(EF::numberFormat($payment->amount)); ?></td>


                    </tr>
                      <tr style ="border:1px solid;">
                        <td style = "border:1px solid;"><b>Total Amount Received</b></td>
                        <td style = "border:1px solid;"><?php echo e(EF::numberFormat($payment->amount)); ?></td>


                    </tr>
                       <tr style ="border:1px;">
                        <td colspan="2" style = "border:1px solid; text-align: left;"><b><?php echo e(EF::numberToWords($payment->amount)); ?> only</b></td>
                    </tr>
                         <tr style ="border:1px solid;">
                        <td colspan="2" style = "border:1px solid; text-align: left;"">Subject to the realisation of cheque</td>

                    </tr>
                </tbody>
            </table>
               </div>

                <div class="row clear" style ="padding-top: 13%;">
                <div class="col margin" style="width:67%">
                    <label class= "text-label">Accountant </label>
                </div>
                     <div class="col margin" style="width:65%">
                    <label class= "text-label">Stamp/Signature </label>
                </div>

                </div>
             <div class="row clear">
                <div class="col margin" >
                    <center><label class= "bold-label">Made by <?php echo e($payment->systemUser->name); ?></label></center>
                </div>
            </div>
    </div>





     </div>
        <!-- END OFFICE COPY -->

</div>
</body>

</html>
<?php /**PATH /var/www/skylite/resources/views/documents/payment_receipt.blade.php ENDPATH**/ ?>