addLoop($__currentLoopData); foreach($__currentLoopData as $wishlist): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
type == 'car'){
$listing = App\Models\CarListing::where('id', $wishlist->listing_id)->first();
}elseif($wishlist->type == 'beauty'){
$listing = App\Models\BeautyListing::where('id', $wishlist->listing_id)->first();
}elseif($wishlist->type == 'hotel'){
$listing = App\Models\HotelListing::where('id', $wishlist->listing_id)->first();
}elseif($wishlist->type == 'real-estate'){
$listing = App\Models\RealEstateListing::where('id', $wishlist->listing_id)->first();
}elseif($wishlist->type == 'restaurant'){
$listing = App\Models\RestaurantListing::where('id', $wishlist->listing_id)->first();
}else{
$listing = App\Models\CustomListings::where('id', $wishlist->listing_id)->first();
}
?>
|
|
title); ?>
|
type); ?> |
price > 0) ? currency($listing->price):''); ?> |
|
popLoop(); $loop = $__env->getLastLoop(); ?>