관리-도구
편집 파일: 705c7f8cd773e4e458dfece0eb0738465cc2b469.php
<?php $content = content('all_properties.content'); $properties = \App\Models\Property::where('status', 1)->paginate(16); ?> <section class="s-pt-80 s-pb-80"> <div class="container"> <div class="property-search-wrapper"> <h2><?php echo e($content->data->title); ?></h2> <div class="d-flex align-items-center gap-3"> <div class="d-flex align-items-center gap-2"> <span class="text-dark"><i class="bi bi-arrow-down-up"></i></span> </div> <button type="button" class="property-search-filter-btn"> <i class="bi bi-filter"></i> <?php echo e(__('Filter')); ?> </button> </div> </div> <form class="property-search-form mt-4" method="GET" action="<?php echo e(route('search')); ?>"> <div class="row gy-3 mb-4"> <div class="col-xl-2"> <select class="form-select" name="order"> <option value="low_to_high"><?php echo e(__('Price Low')); ?></option> <option value="high_to_low"><?php echo e(__('Price High')); ?></option> <option value="all"><?php echo e(__('All')); ?></option> <option value="latest"><?php echo e(__('Newest')); ?></option> </select> </div> <div class="col-xl-4"> <div class="input-icon-field"> <i class="fas fa-map-marker-alt"></i> <input type="text" id="search" name="search" class="form-control" placeholder="Enter Location"> </div> </div> <div class="col-xl-4"> <div class="min-max-field"> <select name="type" id="type" class="form-select"> <option value="0"><?php echo e(__('Min-Max')); ?></option> <option value="1"><?php echo e(__('Fixed')); ?></option> </select> <input type="number" name="amount" class="form-control min-amount-input fixed d-none" placeholder="Amount"> <input type="number" name="min" class="form-control min-amount-input" placeholder="Min Amount" id="min"> <input type="number" name="max" class="form-control max-amount-input" placeholder="Max Amount" id="max"> </div> </div> <div class="col-xl-2"> <button type="submit" class="cmn-btn btn-md w-100"><?php echo e(__('Search')); ?> <i class="fas fa-search"></i></button> </div> </div> </form> <div class="row gy-4 mt-4" id="filter"> <?php $__empty_1 = true; $__currentLoopData = $properties; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $property): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> <?php $property_exist = App\Models\Payment::where('property_id', $property->id) ->where('user_id', Auth::id()) ->where('next_payment_date', '!=', null) ->where('payment_status', 1) ->first(); ?> <div class="col-xl-4 col-md-6"> <div class="invest-card"> <a href="<?php echo e(route('investmentproperty.details', $property->id)); ?>" class="plan-link"></a> <div class="invest-card-thumb"> <img src="<?php echo e(getFile('property', $property->image)); ?>" alt="image"> <?php $wishlist = \App\Models\Wishlist::where('user_id', auth()->id()) ->where('property_id', $property->id) ->first(); ?> <button type="button" data-href="<?php echo e(route('user.bookmark', $property)); ?>" data-bookmark="<?php echo e($wishlist ? true : false); ?>" class="invest-bookmark-btn <?php echo e($wishlist ? 'bookmarked' : ''); ?>"> <i class="far fa-heart first-bookmark"></i> <i class="fas fa-heart second-bookmark"></i> </button> </div> <div class="invest-card-content"> <h4 class="title"><a href="<?php echo e(route('investmentproperty.details', $property->id)); ?>"> <?php echo e(__($property->property_name)); ?></a></h4> <p class="location"><i class="bi bi-geo-alt"></i> <?php echo e(__($property->property->address)); ?> </p> <div class="other-options"> <div class="single-option"> <h6><?php echo e($property->time->name); ?></h6> <p><?php echo e(__('Target Duration')); ?></p> </div> <div class="single-option"> <h6> <?php if($property->amount_type == 0): ?> <span> <?php echo e(number_format($property->minimum_amount, 2) . ' ' . $general->site_currency); ?></span> <?php else: ?> <span> <?php echo e(number_format($property->amount, 2) . ' ' . $general->site_currency); ?></span> <?php endif; ?> </h6> <p><?php echo e(__('Minimum Amount')); ?></p> </div> <div class="single-option"> <h6> <?php if($property->return_for): ?> <?php echo e(__('Period')); ?> <?php else: ?> <?php echo e('Lifetime'); ?> <?php endif; ?> </h6> <p><?php echo e(__('Return For')); ?></p> </div> <div class="single-option"> <h6> <?php if($property->capital_back): ?> <?php echo e(__('Yes')); ?> <?php else: ?> <?php echo e('No'); ?> <?php endif; ?> </h6> <p><?php echo e(__('Capital Back')); ?></p> </div> </div> </div> <div class="invest-card-footer"> <div class="invest-card-footer-inner"> <div class="return-rate"> <p class="mb-0"><?php echo e(__('Return Rate')); ?></p> <h4 class="return-amount mb-0"> <?php echo e(number_format($property->return_interest, 2)); ?> <?php if($property->interest_status == 'percentage'): ?> <?php echo e('%'); ?> <?php else: ?> <?php echo e($general->site_currency); ?> <?php endif; ?> </h4> </div> <div> <?php if($property_exist): ?> <a class="cmn-btn btn-sm" href="<?php echo e(route('investmentproperty.details', $property->id)); ?>"><?php echo e(__('Already Invested')); ?></a> <?php else: ?> <a href="<?php echo e(route('investmentproperty.details', $property->id)); ?>" class="invest-card-btn"> <i class="bi bi-arrow-up-right"></i> </a> <?php endif; ?> </div> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> <div class="col-md-12 text-center mt-5"> <div> <svg xmlns="http://www.w3.org/2000/svg" width="5em" height="5em" viewBox="0 0 24 24"> <g fill="none" stroke="currentColor" stroke-width="1.5"> <path stroke-linecap="round" d="M22 13v-1c0-3.771 0-5.657-1.172-6.828S17.771 4 14 4h-4C6.229 4 4.343 4 3.172 5.172S2 8.229 2 12s0 5.657 1.172 6.828S6.229 20 10 20h3" /> <path stroke-linecap="round" d="M10 16H6m-4-6h20" opacity="0.4" /> <circle cx="18" cy="17" r="3" /> <path stroke-linecap="round" d="m20.5 19.5l1 1" /> </g> </svg> </div> <p class="mt-2"> <?php echo e(__('Sorry No Property Found')); ?> </p> </div> <?php endif; ?> </div> <div class="row mt-4 mb-4"> <?= $properties->links() ?> </div> </div> </section> <div class="modal fade" id="invest" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog" role="document"> <form action="<?php echo e(route('user.investmentproperty.submit')); ?>" method="post"> <?php echo csrf_field(); ?> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title"><?php echo e(__('Invest Now')); ?></h5> <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="container-fluid"> <div class="form-group"> <label><?php echo e(__('Invest Amount')); ?></label> <input type="text" name="amount" class="form-control"> <input type="hidden" name="property_id" class="form-control"> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo e(__('Close')); ?></button> <button type="submit" class="btn cmn-btn"><?php echo e(__('Invest Now')); ?></button> </div> </div> </form> </div> </div> <div class="modal fade" id="bookmark" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <form action="<?php echo e(url()->current()); ?>" method="post"> <?php echo csrf_field(); ?> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title"><?php echo e(__('Bookmarked Property')); ?></h5> <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <p class="bookmark-text"> <?php echo e(__('Are you sure to bookmark this property for future invest ? ')); ?> </p> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary"><?php echo e(__('Bookmark')); ?></button> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo e(__('Close')); ?></button> </div> </div> </form> </div> </div> <div class="modal fade" id="bookmark-remove" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <form action="<?php echo e(url()->current()); ?>" method="post"> <?php echo csrf_field(); ?> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title"><?php echo e(__('Bookmarked Remove')); ?></h5> <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <p class="bookmark-text"><?php echo e(__('Are you sure to remove bookmark ? ')); ?></p> </div> <div class="modal-footer"> <button type="submit" class="btn btn-danger"><?php echo e(__('Remove')); ?></button> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo e(__('Close')); ?></button> </div> </div> </form> </div> </div> <?php /**PATH /home/inprosysltd/public_html/cityscape.inprosysltd.com/core/resources/views/backend/frontend/not_editable/all_property.blade.php ENDPATH**/ ?>