| |
|
|
|
|
|
|
|
|
|
addLoop($__currentLoopData); foreach($__currentLoopData as $listing): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
category)->first()->name;
$image = json_decode($listing->image)[0]??0;
if($type == 'car'){
$brand = App\Models\Amenities::where('id', $listing->brand)->first()->name;
$model = App\Models\Amenities::where('id', $listing->model)->first()->name;
}
// Claimed
if($listing->type == 'beauty'){
$claimStatus = App\Models\ClaimedListing::where('listing_id', $listing->id)->where('listing_type', 'beauty')->first();
} elseif($listing->type == 'hotel'){
$claimStatus = App\Models\ClaimedListing::where('listing_id', $listing->id)->where('listing_type', 'hotel')->first();
} elseif($listing->type == 'car'){
$claimStatus = App\Models\ClaimedListing::where('listing_id', $listing->id)->where('listing_type', 'car')->first();
} elseif($listing->type == 'restaurant'){
$claimStatus = App\Models\ClaimedListing::where('listing_id', $listing->id)->where('listing_type', 'restaurant')->first();
}elseif($listing->type == 'real-estate'){
$claimStatus = App\Models\ClaimedListing::where('listing_id', $listing->id)->where('listing_type', 'real-estate')->first();
}
?>
| |
|
title); ?>
status == 1): ?>
|
|
|
|
price)); ?> |
price)); ?> |
visibility)); ?> |
|
popLoop(); $loop = $__env->getLastLoop(); ?>
make('layouts.no_data_found', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>