<html>
<head>
</head>
<body style="margin: 0px;">
<div style="border-top: 2px solid #fc085e; float: left; width: 100%; background: #f7f7f7;">


    <div style="float: left; background-color: #2F8831; width: 100%; color: #fff; padding: 5px;">
        <h4 style="line-height: 30px;width: 100%; font-size: 17px; text-align: center; margin: 10px;">Complaint Management System</h4>
        <p style="text-align: center;">You complaint has been registered with following details</p>
    </div>

    <div style="width: 100%; float: left; margin-top: 20px;">
        <table style="width: 100%;">
            <tbody style="line-height: 30px;">
                <?php if(!empty($complain->complainant_name)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Name:</th>
                        <td style="border: 1px solid #ccc;padding:10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->complainant_name); ?></td>
                    </tr>
                <?php endif; ?>

                <?php if(!empty($complain->father_name)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Father's Name:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->father_name); ?></td>
                    </tr>
                <?php endif; ?>

                <?php if(!empty($complain->cnic_no)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">CNIC No:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->cnic_no); ?></td>
                    </tr>
                <?php endif; ?>

                <?php if(!empty($complain->token)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Token No:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->token); ?></td>
                    </tr>
                <?php endif; ?>


                <?php if(!empty($complain->address)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Address:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->address); ?></td>
                    </tr>
                <?php endif; ?>


                <?php if(!empty($complain->email)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Email:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->email); ?></td>
                    </tr>
                <?php endif; ?>


                <?php if(!empty($complain->mobile)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Mobile:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->mobile); ?></td>
                    </tr>
                <?php endif; ?>


                <?php if(!empty($complain->phone)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Phone:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->phone); ?></td>
                    </tr>
                <?php endif; ?>


                <?php if(!empty($complain->case_no)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Case No:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->case_no); ?></td>
                    </tr>
                <?php endif; ?>


                <?php if(!empty($complain->post_name)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Post Name:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->post_name); ?></td>
                    </tr>
                <?php endif; ?>

                <?php if(!empty($complain->Subject)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Subject:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->Subject); ?></td>
                    </tr>
                <?php endif; ?>


                <?php if(!empty($complain->description)): ?>
                    <tr>
                        <th style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d; width: 130px;">Description:</th>
                        <td style="border: 1px solid #ccc; padding:5px 10px; text-align: left; color: #9d9d9d;"><?php echo e($complain->description); ?></td>
                    </tr>
                <?php endif; ?>

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

</div>




</body>
</html>