관리-도구
편집 파일: f8f95c085fb1a5f03dfacdfa6338804004e13e15.php
<?php $content = content('property.content'); $properties = App\Models\Property::where('status', 1)->latest()->take(8)->get(); ?> <div class="row justify-content-center gy-4"> <?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" aria-label="Plan details 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' : ''); ?>" aria-label="Bookmark"> <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)); ?>" aria-label="Plan details link"><?php echo e(__('Already Invested')); ?></a> <?php else: ?> <a href="<?php echo e(route('investmentproperty.details', $property->id)); ?>" class="invest-card-btn" aria-label="Plan details link"> <i class="bi bi-arrow-up-right"></i> </a> <?php endif; ?> </div> </div> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php /**PATH /home/inprosysltd/public_html/cityscape.inprosysltd.com/core/resources/views/backend/frontend/not_editable/property.blade.php ENDPATH**/ ?>