<style>
    @page  {
        margin-right: 15px;
        margin-left: 15px;
    }

    body {
        margin-right: 15px;
        margin-left: 15px;
    }
</style>
<div
    style="text-align:  center; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;  font-size: 18px; color:#4D4D4D;">
    <div style="width: 100%; padding: 20px; margin: auto;">
        <div style="display: block; width: 100%;">
            <table style="width: 100%; font-size: 18px;  line-height: 2; color: #4D4D4D;">
                <tbody>
                    <tr>
                        <td width="60%">
                            <img src="data:image/png;base64,<?php echo e(base64_encode(file_get_contents('front/images/logo.png'))); ?>"
                                style="margin:0; padding:0;" width="300" alt="">
                            <h3 style="color:#000;">Customer Information</h3>
                            <p style="line-height: 1.5;"><?php echo e($data['Title'] ?? ''); ?>. <?php echo e($data['First_Name']); ?>

                                <?php echo e($data['Last_Name']); ?><br>
                                <?php echo e($data['Phone_Number']); ?><br>
                                <a style="text-decoration: none; color:#4D4D4D ;" href="mailto:<?php echo e($data['Email']); ?>">
                                    <?php echo e($data['Email']); ?></a> <br>
                                <?php echo e($data['Address1']); ?> <?php echo e($data['Address2']); ?><br><?php echo e($data['City']); ?> ,
                                <?php echo e($data['Zip']); ?>

                            </p>
                        </td>
                        <td valign="top" width="40%" style="text-align:right;">
                            <p style="color:#000; font-weight: 700; margin: 0; padding:0; font-size:34px;">INVOICE</p>

                            <p style="line-height: 1.5; font-weight: bold; color:#000; font-size:20px;">

                                <span style="color:#F7941D;">Invoice #<?php echo e($data['Invoice_Number']); ?></span> <br>
                                DATE : <?php echo e($data['Created_Date_Time']); ?>

                            </p>


                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <h3 style="color: #000;  text-align: left; font-weight: bold;">Package</h3>
        <div
            style="font-weight: bold; background-color: #2780E6; color: #fff; font-size: 30px; padding:20px;  text-align: left; border-radius: 30px;">
            <?php echo e($data['Package_Name']); ?> Plan <span
                style="float:right;"><?php echo e($data['CURRENCY']); ?><?php echo e($data['Total_Price']); ?> / <span
                    style="font-size: 16px;"> <?php echo e($data['Plan']); ?></span> </span>
        </div>
        <h3 style="text-align: left;color: #F7941D; font-weight: bold;">What's Covered</h3>
        <table style="width: 100%; font-size: 16px;  line-height: 2; color: #4D4D4D;">
            <tbody>

                <?php for($i = 0; $i < $count; $i++): ?>

                    <tr>
                        <?php echo e($subCount = count($facilities[$i])); ?>


                        <?php for($j = 0; $j < $subCount; $j++): ?>
                            <td>
                                <img height="15px" width="15px"
                                    src="data:image/png;base64,<?php echo e(base64_encode(file_get_contents('front/images/check-mark-png.png'))); ?> ">
                                </span>

                                <?php if($facilities[$i] && $facilities[$i][$j]): ?>
                                    <?php echo e($facilities[$i][$j]['title'] ?? ''); ?>

                                <?php endif; ?>
                            </td>
                        <?php endfor; ?>
                    </tr>

                <?php endfor; ?>


            </tbody>
        </table>

        <table style="width: 100%; font-size: 18px;  line-height: 1.5; color: #4D4D4D; padding-top:30px;">
            <tbody>
                <tr style="font-size: 30px; color:#000;  font-weight: bold; font-size:22px;">
                    <td colspan="2">Net Amount</td>
                    <td style="text-align: right;"><?php echo e($data['CURRENCY']); ?><?php echo e($data['NET_Amount']); ?></td>
                </tr>
                <tr style="font-size: 30px; color:#000; font-weight: bold; font-size:22px;">
                    <td colspan="2">VAT Amount</td>
                    <td style="text-align: right;"><?php echo e($data['CURRENCY']); ?><?php echo e($data['VAT_Amount']); ?></td>
                </tr>

                <tr style="font-size: 30px; color:#F7941D; font-weight: bold; font-size:22px;">
                    <td colspan="2">Total Amount</td>
                    <td style="text-align: right;"><?php echo e($data['CURRENCY']); ?><?php echo e($data['Total_Price']); ?></td>
                </tr>

                <tr style="font-size: 30px; color:#F7941D; font-weight: bold; font-size:22px;">
                    <td colspan="2">&nbsp;</td>
                </tr>

            </tbody>
        </table>

        <p style="color: #000; line-height: 1.5; text-align: left; font-size:16px;">
            © 2023 HomeFlo Ltd. All Rights Reserved. Company Reg No: 12898663. VAT Number: 364048205 <br>
            <span style="color: #F7941D;">Address:</span> Capital Business Centre, 22 Carlton Road, South Croydon, CR2
            0BS
        </p>
    </div>
</div>
<?php /**PATH /home/seolocaj/public_html/homefloltd/resources/views/front/pdf/invoice.blade.php ENDPATH**/ ?>