<div class="checkout-form-header mt-md-0 mt-5 pb-3 pt-4 col-md-12 text-center px-0">
    <div class="form-header-image">
        <img src="<?php echo e(asset('/front/images/emblem.svg')); ?>" width="70" alt="">
    </div>
</div>
<div class="px-md-5 px-2">
    <h3 class="text-center mb-lg-4">Cover Plan Summary</h3>
    <h4 class="text-primary mb-4 bg-black py-2 text-center rounded-lg">Payment Frequency: <?php echo e($packagesType); ?></h4>

    <table class="table table-borderless package-summary-table">
        <tbody>
            <tr class="<?php
            if ($package['id'] == 1 || $package['id'] == 6) {
                echo 'package-header-bg-one';
            } else if ($package['id'] == 2 || $package['id'] == 7) {
                echo 'package-header-bg-two';
            } else if ($package['id'] == 3 || $package['id'] == 8) {
                echo 'package-header-bg-three';
            } else if ($package['id'] == 10 || $package['id'] == 11) {
                echo 'package-header-bg-four';
            } else {
                echo 'package-header-bg-three';
            }
            ?> text-white">
                <td class="font-weight-bold"><?php echo e($package["title"]); ?> Cover Plan</td>
                <td width="50" class="left-border font-weight-bold"><?php echo e(env('CURRENCY_SYMBOL')); ?><?php echo e(numberformat($prices["price"])); ?></td>
            </tr>


            <?php if(count($facilities)>0): ?>
            <?php $__currentLoopData = $facilities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $facility): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

            <?php if($facility->hasPrice==0 || in_array($facility->id,$selectedFacilities)): ?>
            <tr>
                <td class="font-weight-bold"><i class="fas fa-check text-primary"></i> <?php echo e($facility->title); ?></td>
                <td></td>
            </tr>
            <?php endif; ?>

            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>

            <?php if(count($selectedFacilities)==0): ?>
            <tr>
                <td class="font-weight-bold">Call Out Charge <?php echo e($excess->title); ?></td>
                <td></td>
            </tr>
            <?php endif; ?>


            <tr class="bg-light">
                <td class="font-weight-bold">
                    VAT Amount:
                </td>
                <td class="font-weight-bold left-border"> <?php echo e(env('CURRENCY_SYMBOL')); ?><?php echo e(numberformat($prices["vat_amount"])); ?></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
            </tr>
            <tr class="bg-gradiat-color text-white">
                <td class="font-weight-bold ">
                    Total Amount
                </td>
                <td class="font-weight-bold left-border"> <?php echo e(env('CURRENCY_SYMBOL')); ?><?php echo e($prices["total_price"]); ?></td>
            </tr>
        </tbody>
    </table>
    <div class="text-center py-4">
        <button type="button" class="btn back btn-primary bg-black-gradiant btn-lg px-4 border-0 shadow summaryBackButton mr-3"><i class="fas fa-location-arrow pr-2"></i> Back</button>
        <button type="button" class="btn summaryNextButton btn-primary btn-lg bg-black-gradiant border-0 text-white px-4">Next <i class="fas fa-location-arrow pl-2"></i></button>

    </div>
</div><?php /**PATH /home/seolocaj/public_html/homefloltd/resources/views/front/checkout/step3.blade.php ENDPATH**/ ?>