


<?php $__env->startSection('title'); ?>
Customer Booking Form 
<?php $__env->stopSection(); ?>

<?php $__env->startSection('breadcrumb'); ?>
<ol class="breadcrumb pull-right no-print">
    <li><a href="<?php echo e(route('home')); ?>"><i class="fa fa-dashboard"></i> Home</a></li>
    <?php if (\Illuminate\Support\Facades\Blade::check('permission', 'list-membership')): ?>
    <li ><a href="<?php echo e(route('statement.all')); ?>">Statements</a></li>
    <?php endif; ?>
    <li class="active">Booking Form</li>
</ol>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('css'); ?>

<style type="text/css">
.unit-box{
    border: 3px solid;
    padding: 5px;
    margin-top: 12px;
    margin-bottom: 4px;
}
.cnic-box{
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 1px solid;
    text-align: center;
    line-height: 23px;
    margin-right: -4px;
}
.font-13{
        font-size: 13px !important;
    }
</style>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<?php
    $size= '';

    if($projectType->id == \App\ProjectType::society){

        $size= \App\ProjectType::society_size;
    }

    else
    {
        $size= \App\ProjectType::high_rise_size;
    }

?>

<div class="container-fluid">
    <div class="row printableArea"  id="content" style="text-transform: uppercase;">
        <div class="col-lg-12">
            <div class="white-box border-none mt-95">
                <div class="row">
                    <div class="col-sm-4 col-xs-4">
                        <div class="row" style="margin-top: 4%;">
                            <div class="col-xs-8 col-sm-6">REGISTRATION NO.</div>
                            <div class="col-xs-4 col-sm-6" style="border-bottom: 1px solid"><?php echo e($statement->membership_no); ?></div>
                            <div class="col-xs-12 col-sm-12">
                                <div class="unit-box"><b>UNIT NO.</b> <?php echo e($statement->inventory->unit_number); ?></div>
                            </div>
                            <div class="col-xs-12 col-sm-12">
                                <div class="unit-box"><b>SIZE</b> <?php echo e($statement->inventory->size->name); ?> <?php echo e($size); ?></div>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-4 col-xs-4">
                        <div class="row" style="margin-top: 4%;">
                            <div class="col-xs-8 col-sm-6">APPLICATION NO.</div>
                            <div class="col-xs-4 col-sm-6" style="border-bottom: 1px solid"><?php echo e($statement->membership_no); ?></div>
                            <div class="col-xs-12 col-sm-12">
                                <div class="unit-box"><b>UNIT TYPE</b> <?php echo e($statement->inventory->type->name); ?></div>
                            </div>
                            
                        </div>
                    </div>
                    <div class="col-sm-4 col-xs-4">
                        <span class="book-form">APPLICATION FORM</b></span><br>
                        <div style="height: 180px; width: 150px; border:3px solid;float: right;overflow: hidden;">
                            <img width="150px" height="180px" src="<?php echo e(asset('uploads/'.$statement->customer->img_url)); ?>">
                            
                        </div>
                    </div>
                </div>
            </div>
            <div class="white-box border-none ">
                <div class="row">
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-3 col-sm-2">Name:</div>
                            <div class="col-xs-9 col-sm-10" style="border-bottom: 1px solid"><?php echo e($statement->customer->name); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-4 col-sm-3">Father's/Husband's Name:</div>
                            <div class="col-xs-8 col-sm-9" style="border-bottom: 1px solid"><?php echo e($statement->customer->father_name); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-10 col-xs-10 mt-18">
                        <div class="row">
                            <div class="col-xs-4 col-sm-3">CNIC/Passport No.</div>
                            <div class="col-xs-8 col-sm-6">
                                <?php $c = str_split($statement->customer->cnic, 1);?>
                        <?php for($i =0;$i<count($c) ; $i++) {?>
                            <?php if($i == 5 || $i == 12): ?>
                            <span class="cnic-box">-</span>
                            <?php endif; ?>

                       <span class="cnic-box"><?php echo e($c[$i]); ?></span> 
                        
                    <?php }?>
                                
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row" >
                            <div class="col-xs-3 col-sm-2">Mail Address</div>
                            <div class="col-xs-9 col-sm-10" style="border-bottom: 1px solid"><?php echo e($statement->customer->mailing_address); ?>.</div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-3 col-sm-3">Residential Address</div>
                            <div class="col-xs-9 col-sm-9" style="border-bottom: 1px solid"><?php echo e($statement->customer->permanent_address); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-7 col-xs-7 mt-18">
                        <div class="row">
                            <div class="col-xs-3 col-sm-3">Phone res:</div>
                            <div class="col-xs-9 col-sm-9" style="border-bottom: 1px solid"><?php echo e($statement->customer->phone_number ? $statement->customer->phone_number : '&nbsp;'); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-5 col-xs-5 mt-18">
                        <div class="row">
                            <div class="col-xs-2 col-sm-2">Cell:</div>
                            <div class="col-xs-10 col-sm-10" style="border-bottom: 1px solid"><?php echo e($statement->customer->mobile_no ?  $statement->customer->mobile_no : '&nbsp;'); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-7 col-xs-7 mt-18">
                        <div class="row">
                            <div class="col-xs-3 col-sm-3">Email:</div>
                            <div class="col-xs-9 col-sm-9" style="border-bottom: 1px solid"><?php echo e($statement->customer->email ? $statement->customer->email : '&nbsp;'); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-5 col-xs-5 mt-18">
                        <div class="row">
                            <div class="col-xs-4 col-sm-3">Occupation:</div>
                            <div class="col-xs-8 col-sm-9" style="border-bottom: 1px solid"><?php echo e($statement->customer->occupation ? $statement->customer->occupation : '&nbsp;'); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-3 col-sm-2">NEXT of KIN</div>
                            <div class="col-xs-9 col-sm-10" style="border-bottom: 1px solid"><?php echo e($statement->customer->nominee_name); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-4 col-sm-3">Father's / husband's name:</div>
                            <div class="col-xs-8 col-sm-9" style="border-bottom: 1px solid"><?php echo e($statement->customer->nominee_so_do_wo); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-2 col-sm-2">Relationship</div>
                            <div class="col-xs-10 col-sm-10" style="border-bottom: 1px solid"><?php echo e($statement->customer->nominee_relation); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-2 col-sm-2">Address</div>
                            <div class="col-xs-10 col-sm-10" style="border-bottom: 1px solid">&nbsp;</div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-2 col-sm-2">Phone:</div>
                            <div class="col-xs-10 col-sm-10" style="border-bottom: 1px solid"><?php echo e($statement->customer->nominee_phone_number ? $statement->customer->nominee_phone_number : '&nbsp;'); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-10 col-xs-10 mt-18">
                        <div class="row">
                            <div class="col-xs-4 col-sm-3">CNIC/Passport No.</div>
                            <div class="col-xs-8 col-sm-6">

                                <?php if($statement->customer->nominee_cnic): ?>
                                <?php $c = str_split($statement->customer->nominee_cnic, 1);?>
                        <?php for($i =0;$i<count($c) ; $i++) {?>
                            <?php if($i == 5 || $i == 12): ?>
                            <span class="cnic-box">-</span>
                            <?php endif; ?>



                       <span class="cnic-box"><?php echo e($c[$i]); ?></span> 
                        
                    <?php }?>


                    <?php else: ?>

                    <?php for($i =0;$i<13 ; $i++) {?>
                            <?php if($i == 5 || $i == 12): ?>
                            <span class="cnic-box">-</span>
                            <?php endif; ?>



                       <span class="cnic-box">&nbsp;</span> 
                        
                    <?php }?>


                    <?php endif; ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="white-box border-none ">
                <div class="row">
                    <div class="col-sm-12 col-xs-12">
                        <br>
                        <b style="margin-top: 6%;">Declearation:</b>
                    </div>
                    <div class="col-sm-12 col-xs-12">
                    <p>
                        I / WE CONFIRM THAT THE ABOVE PARTICULARS ARE TRUE TO THE BEST OF MY / OUR KNOWLEDGE AND THAT I / WE AGREED TO THE TERMS & CONDITIONS AS LAID ON THE BACK OF THIS FORM FOR THE PURCHASE OF THE UNIT AT SIGNATURE AND THAT I / WE SHALL PAY THE INSTALLEMNTS AS PER YOUR SCHEDULE OF DEMAND.<br><br><br>
                    </p></div>
                    <div class="col-sm-6 col-xs-6">
                        <span>_________________</span><br>
                        <span>DATE</span>
                    </div>
                    <div class="col-sm-6 col-xs-6">
                        <span>________________________</span><br>
                        <span>Aplicant Signature</span>
                    </div>
                </div>
            </div>
            <br>
            <br><br><br>
             <div class="white-box border-none " >
                <div class="row">
                    <div class="col-sm-12 col-xs-12">
                    <p>
                        <b>ABANDONMENT OF THE PROJECT:</b> THAT IF FOR ANY RESON, THE PROJECT IS ABANDONED, COMPANY SHALL REFUND THE AMOUNT RECEIVED FROM THE ALLOTEE WITHIN THE EARLIEST CONVENIENCE OF THE COMPANY. IT IS HOWEVER, CLEARLY UNDERSTOOD THAT IN SUCH AN EVENTUALITY, THE ALLOTTEES SHALL NOT BE ENTITLED TO ANY CLAIM AS DAMAGE, INSTRESTS OR PROFIT ETC. OF WHATEVER NATURE.
                    </p><br><br></div>
                    <div class="col-sm-12 col-xs-12">
                    <p><b>DECLARATION BY APPLICANT:</b><br>
                        I / WE <u><?php echo e($statement->customer->name); ?></u> S/O, D/O, W/O <u><?php echo e($statement->customer->father_name); ?></u> DO HEREBY DECLARE THAT I / WE HAVE READ/UNDERSTOOD THE TERMS AND CONDITIONS OF BOOKING/ALLOCATION OF THE PROJECT AND ACCEPT THE SAME FUTURE DECLARE THAT I / WE SHALL ABIDE BY ALL THE EXISTING RULES, REGULATIONS, CONDITIONS, REQUIREMENT ETC. OR WHICH MAY BE PRESCRIBED AND APPROVED BY THE COMPANY.
                    </p><br><br></div>
                </div>
            </div>
            <div class="white-box border-none ">
                <div class="row">
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-12 col-sm-12"><b>FOR OFFICE USE ONLY</b></div>
                        </div>
                    </div>
                    <div class="col-sm-7 col-xs-7 mt-18">
                        <div class="row">
                            <div class="col-xs-6 col-sm-6">SHOP/APARTMENT/HOTEL SUITE #:</div>
                            <div class="col-xs-6 col-sm-6" style="border-bottom: 1px solid"><?php echo e($statement->inventory->unit_number); ?></div>
                        </div>
                    </div>

                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-3 col-sm-2">Total Cost RS:</div>
                            <div class="col-xs-9 col-sm-10" style="border-bottom: 1px solid">Rs. <?php echo e(number_format($statement->net_pay)); ?> /-</div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-3 col-sm-2">Cash Amount Rs:</div>
                            <div class="col-xs-9 col-sm-10" style="border-bottom: 1px solid">Rs. <?php echo e(number_format($receipt ? $receipt->amount : 0)); ?> /-</div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18">
                        <div class="row">
                            <div class="col-xs-3 col-sm-2">Cheque/ P.O.No:</div>
                            <div class="col-xs-9 col-sm-10" style="border-bottom: 1px solid"><?php echo e($receipt ? $receipt->cheque_number : '&nbsp;'); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12 mt-18" style="margin-bottom: 70px">
                        <div class="row">
                            <div class="col-xs-3 col-sm-2">DAte:</div>
                            <div class="col-xs-9 col-sm-10" style="border-bottom: 1px solid"><?php echo e(date('d-m-Y',strtotime($receipt ? $receipt->receipt_date : ''))); ?></div>
                        </div>
                    </div>
                    <div class="col-sm-6 col-xs-6">
                        <span>_________________________________________________</span><br>
                        <span>AUTHORISED SIGNATURE FOR DEVELOPERS</span><br>
                        <span>DATE</span>
                    </div>
                    <div class="col-sm-6 col-xs-6">
                        <span>_________________________________________</span><br>
                        <span>READ. UNDERSTOOD & SIGNED.</span><br>
                        <span>DATE</span>
                    </div>
                </div>
            </div>
        </div>
        

        

    </div>
    <div style="display: inline-block;    margin-bottom: 70px;">
       
    <div class="text-right" style="display: inline-block;">
        <button id="print" class="btn btn-default btn-outline" type="button"> <span><i class="fa fa-print"></i> Print</span> </button>
    </div>
    
</div>
</div>




<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>
<script src="<?php echo e(asset('js/jquery.PrintArea.js')); ?>" type="text/JavaScript"></script>
<script>
$(function () {
    $("#print").on("click", function () {
        window.print();
    });
});
</script>
<script>
    $('#example23').DataTable({
        dom: 'Bfrtip',
        buttons: [
            'copy', 'csv', 'excel', 'pdf', 'print'
        ]
    });
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/proje372/akram-city.projecterp.net/resources/views/statement/booking-form(old).blade.php ENDPATH**/ ?>