<div class="content">
    <section class="banner-2" id="pageHeaderBanner">
        <div class="container text-center banner-content ">
            <h1 class="text-uppercase common-page-heading page-title-2"><?php echo $current_section ?></h1>
        </div>
    </section>
    <section class="section-content-half">
        <div class="container">
            <div class="half-page-design text-center">
                <div class="block-content"><strong>We provide our delivery service within <?php echo $deliverySettings['radius'] ?> miles radius <!--<span>from our restaurant address. First <?php echo $deliverySettings['freeRadius'] ?> miles is free and next for each of the miles you have to spend <?php echo to_currency($deliverySettings['costPerMile']) ?> more</span>--></strong></div>
            </div>
        </div>
    </section>
    <section class="common-page-bg-no">
        <div class="container">
            <div class="row">
                <div class="col c8">
                    <article class="main">
                        <table class="table opening-time-table">
                            <tr>
                                <th class="text-center">Area</th>
                                <th class="text-center">Minimum Delivery Amount</th>
                                <th class="text-center">Waiting Time</th>
                            </tr>
                            <?php if (!empty($areas))  ?>
                            <?php foreach ($areas as $area): ?>
                                <tr>
                                    <td class="text-center"><?php echo $area->area ?></td>
                                    <td class="text-center"><?php echo to_currency($area->min_order) ?></td>
                                    <td class="text-center"><?php echo $area->waiting_time . ' minutes' ?></td>
                                </tr>
                            <?php endforeach; ?>
                        </table>
                    </article>
                </div>
                <div class="col c4">
                    <div class="v-gap-10"></div>
                    <div class="side">
                        <?php echo $this->load->view('components/opening_time') ?>
                        <div class="v-gap-20"></div>
                        <div class="block"></div>
                        <?php echo $this->load->view('components/offer_discount') ?>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>
