
<?php $__env->startSection('content'); ?>
<div class="main-header">
    <div class="admin-header">
        <div class="uk-grid">
            <div class="uk-width-1-2@m uk-text-center uk-text-left@l">
                <h1 class="main-heading"><?php echo e($title); ?></h1>
            </div>
        </div>
    </div>
</div>
<?php echo $__env->make('partials.messages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="uk-margin uk-width-1-1 uk-margin-auto uk-card uk-card-default uk-card-body small-padding">
    <div class="uk-text-center customer-dashboard">
        <h2>Latest Opportunities</h2>
        <div uk-margin>
            <a class="uk-button uk-button-primary buy-request-btn" href="<?php echo e(url('create-buyer-request')); ?>"><i class="fa-regular fa-plus small-right"></i> Add Buy</a> 
            <a class="uk-button uk-button-primary sell-request-btn" href="<?php echo e(url('create-seller-request')); ?>"><i class="fa-regular fa-plus small-right"></i> Add Sell</a>
        </div>
    </div>
    <p>Sell Request</p>
    <div class="uk-grid-match uk-grid-small uk-child-width-1-3@m" uk-grid>
        <?php if(isset($sellerRequest) && count($sellerRequest) > 0): ?>
        <?php $__currentLoopData = $sellerRequest; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $request): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div>
            <div class="seller-request-card">
                <div class="uk-grid-small" uk-grid>
                    <div class="uk-width-1-1">
                        <p class="white-bg">ID <b>#S<?php echo e($loop->iteration); ?></b></p>
                    </div>
                    <div class="uk-width-1-2">
                        <p>Province</p>
                        <h4><?php echo e($request->province); ?></h4>
                    </div>
                    <div class="uk-width-1-2">
                        <p>Location</p>
                        <h4><?php echo e($request->location); ?></h4>
                    </div>
                    <div class="uk-width-1-4">
                        <p>Beds</p>
                        <h4><?php echo e($request->bedrooms); ?></h4>
                    </div>
                    <div class="uk-width-1-4">
                        <p>Baths</p>
                        <h4><?php echo e($request->bathrooms); ?></h4>
                    </div>
                    <div class="uk-width-expand uk-text-left uk-text-center@xl">
                        <p>Type of House</p>
                        <h4><?php echo e($request->type_of_house); ?></h4>
                    </div>
                    <div class="uk-width-1-1">
                        <p>Price Range</p>
                    </div>
                    <div class="uk-width-1-2 uk-margin-remove">
                        <h4><span>Min</span> <?php echo e('$'.$request->min_price_range); ?></p>
                    </div>
                    <div class="uk-width-1-2 uk-margin-remove">
                        <h4><span>Max</span> <?php echo e('$'.$request->max_price_range); ?></p>
                    </div>
                </div>
            </div>
        </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php else: ?>
          <p>No request found.</p>
        <?php endif; ?>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/kelowna/public_html/listingllama.kelowna.website/resources/views/seller_request/index.blade.php ENDPATH**/ ?>