@extends('admin.layout') @section('content')
{{ __('Listing Title') }} | {{ __('Product Title') }} | {{ __('Name') }} | {{ __('Email ID') }} | {{ __('Actions') }} | |
---|---|---|---|---|---|
@php $product_content = App\Models\Listing\ListingProductContent::where( 'listing_product_id', $message->product_id, ) ->where('language_id', $language->id) ->first(); $listing_content = App\Models\Listing\ListingContent::where([ ['listing_id', @$product_content->listing_id], ['language_id', $language->id], ])->first(); @endphp | @if (!empty($listing_content)) {{ strlen($listing_content->title) > 40 ? mb_substr($listing_content->title, 0, 40, 'utf-8') . '...' : $listing_content->title }} @endif | @if (!empty($product_content)) {{ strlen($product_content->title) > 40 ? mb_substr($product_content->title, 0, 40, 'utf-8') . '...' : $product_content->title }} @endif | {{ $message->name }} | {{ $message->email }} |