<?php $__env->startSection('title', 'Thanks'); ?>
<?php $__env->startSection('content'); ?>
    <div class="validation-page">
        <div class="container text-center">
            <h2>Thanks (Token No: <?php echo e($complain->token); ?>)</h2>
            <p>Your complaint has been registered and you can check the status of your complaint by using <strong style="font-size: 20px;"><?php echo e($complain->token); ?></strong> token number</p>
        </div>
<br>
        <div class="container">
            <div class="row">
                <div class="col-md-8 col-lg-offset-2">
                    <div class="panel panel-default table-panel">
                        <div class="panel-heading">Complainant Details</div>
                        <div class="panel-body">
                            <div class="table-content-box">
                                <table class="table table-bordered table-striped">
                                    <thead>

                                    <?php if(!empty($complain->complainant_name)): ?>
                                        <tr>
                                            <th style="width: 30%;">Complainant Name:</th>
                                            <th style="width: 70%;"><?php echo e($complain->complainant_name); ?></th>
                                        </tr>

                                    <?php endif; ?>

                                    <?php if(!empty($complain->father_name)): ?>
                                        <tr>
                                            <th>Father's Name:</th>
                                            <th><?php echo e($complain->father_name); ?></th>
                                        </tr>

                                    <?php endif; ?>

                                    <?php if(!empty($complain->cnic_no)): ?>
                                        <tr>
                                            <th>CNIC No:</th>
                                            <th><?php echo e($complain->cnic_no); ?></th>
                                        </tr>

                                    <?php endif; ?>


                                    <?php if(!empty($complain->token)): ?>
                                        <tr>
                                            <th>Token No:</th>
                                            <th><?php echo e($complain->token); ?></th>
                                        </tr>

                                    <?php endif; ?>

                                    <?php if(!empty($complain->address)): ?>
                                        <tr>
                                            <th>Address:</th>
                                            <th><?php echo e($complain->address); ?></th>
                                        </tr>
                                    <?php endif; ?>

                                    <?php if(!empty($complain->email)): ?>
                                        <tr>
                                            <th>Email:</th>
                                            <th><?php echo e($complain->email); ?></th>
                                        </tr>
                                    <?php endif; ?>

                                    <?php if(!empty($complain->mobile)): ?>
                                        <tr>
                                            <th>Mobile No:</th>
                                            <th><?php echo e($complain->mobile); ?></th>
                                        </tr>
                                    <?php endif; ?>

                                    <?php if(!empty($complain->phone)): ?>
                                        <tr>
                                            <th>Phone:</th>
                                            <th><?php echo e($complain->phone); ?></th>
                                        </tr>
                                    <?php endif; ?>

                                    <?php if(!empty($complain->case_no)): ?>
                                        <tr>
                                            <th>Case No:</th>
                                            <th><?php echo e($complain->case_no); ?></th>
                                        </tr>
                                    <?php endif; ?>

                                    <?php if(!empty($complain->post_name)): ?>
                                        <tr>
                                            <th>Post Name:</th>
                                            <th><?php echo e($complain->post_name); ?></th>
                                        </tr>
                                    <?php endif; ?>

                                    <?php if(!empty($file_name)): ?>
                                        <tr>
                                            <th>File Name:</th>
                                            <th>
                                                <a href="http://192.168.0.105:8000/uploads/<?php echo e($file_name); ?>" download><?php echo e($file_name); ?></a></th>
                                        </tr>
                                    <?php endif; ?>

                                    <?php if(!empty($complain->Subject)): ?>
                                        <tr>
                                            <th>Subject:</th>
                                            <th><?php echo e($complain->Subject); ?></th>
                                        </tr>
                                    <?php endif; ?>

                                    <?php if(!empty($complain->description)): ?>
                                        <tr>
                                            <th>Description:</th>
                                            <th><?php echo e($complain->description); ?></th>
                                        </tr>
                                    <?php endif; ?>
                                    </thead>
                                    <tbody>

                                    </tbody>
                                </table>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>



<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>