@extends('frontend.layouts.app') @section('meta_title', 'Trade-listing-details') @section('content')
@forelse ($product->listing_images as $img)
product-bg zoom-icon
@empty
product-bg zoom-icon
@endforelse
@forelse ($product->listing_images as $img)
product-bg
@empty
product-bg
@endforelse
@if($product->listing_type == 'demand') Demand @elseif($product->listing_type == 'offer') Offer @endif
company-logo-bg

@if($product->is_anonymous) {{ env('ANONYMOUS', 'FoodConn') }} @else {{ $product->vendor->name }} @endif

flag-kuwait-icon

{{ $product->vendor->country->name }}

{{ date('F d, Y', strtotime($product->updated_at)) }}

Listing ID: {{ $product->list_id }}

{{ $product->overview }}

Details
print-icon
@php $and = '&'; @endphp
@if ($product->list_families->isNotEmpty()) @endif @if ($product->list_product->isNotEmpty()) @endif @if ($product->list_origin->isNotEmpty()) @if($product->listing_type == 'demand') @elseif($product->listing_type == 'offer') @endif @endif @if ($product->list_temperature->isNotEmpty()) @if($product->listing_type == 'demand') @elseif($product->listing_type == 'offer') @endif @endif @if ($product->brands != null) @if($product->listing_type == 'demand') @elseif($product->listing_type == 'offer') @endif @endif @if($product->listing_type == 'offer') @if($product->is_export == 1) @else @endif @endif {{-- Available for export --}} @if ($product->specification != null) @if($product->listing_type == 'demand') @elseif($product->listing_type == 'offer') @endif @endif @if($product->listing_type == 'offer') @endif @if($product->listing_type == 'offer') @if ($product->expiry_date != null) @else @endif @endif {{-- Expiry Date: --}} @if($product->listing_type == 'demand') @if ($product->min_shelf_life != null) @else @endif @endif @if($product->unit_measures != null) @endif @if( $product->curency != null) @endif @if ($product->prefer_package_size != null) @if($product->listing_type == 'demand') @elseif($product->listing_type == 'offer') @endif @endif @if($product->listing_type == 'offer' && $product->available_quantity != null) @endif @if($product->listing_type == 'demand' && $product->required_quantity != null) @endif @if($product->listing_type == 'demand' && $product->max_price != null) @endif @if($product->listing_type == 'offer' && $product->minimum_order != null) @endif @if($product->listing_type == 'offer' && $product->price != null) @endif @if ($product->delivery_terms != null) @endif @if($product->listing_type == 'offer' && $product->production_location != null) @endif @if($product->listing_type == 'offer' && $product->offer_valid != null) @endif @if($product->listing_type == 'demand' && $product->supply_sources->isNotEmpty()) @endif
Product Family:
    @foreach ($product->list_families as $item)
  • {{ $item->family->name }}
  • {{-- {{ url("/trade-listings?product_family=".str_replace(' ','+', $item->family->name)."{$and}") }} --}} @endforeach
Product:
    @foreach ($product->list_product as $item)
  • {{ $item->product->name }}
  • {{-- {{ url("/trade-listings?product=".str_replace(' ','+', $item->product->name)."{$and}") }} --}} @endforeach
Preferred Origins:Product Origin:
Required Temperature:Product Temperature:
    @foreach ($product->list_temperature as $item)
  • {{ $item->temperature->name ?? '' }}
  • {{-- {{ url("/trade-listings?product_temperature=".str_replace(' ','+', $item->temperature->name)."{$and}") }} --}} @endforeach
Preferred Brands:Product Brand:

{{ $product->brands }}

Available for Export:

Yes

No

Required Specifications:Product Specifications:

{{ $product->specification }}

Production Date: {{ date('d/m/Y',strtotime($product->production_date)) }}
Expiry Date:{{ date('d/m/Y',strtotime($product->expiry_date)) }}

Not Specified

Minimum Shelf Life:{{ $product->min_shelf_life }}

Not Specified

Unit of Measure (UOM): {{ $product->unit_measures->name}}
Currency: {{ $product->curency->name.' - '.$product->curency->symbol }}
Preferred Packaging Size:Packaging Size:

{{ $product->prefer_package_size }}

Available Quantity (per UOM):

{{ $product->available_quantity }}

Required Quantity (per UOM):

{{ $product->required_quantity }}

Max Price (per UOM):

{{ $product->max_price }}

Minimum Order (per UOM):

{{ $product->minimum_order }}

Price (per UOM):

{{ single_price($product->price) }}

Delivery Terms:

{{ $product->delivery_terms }}

Product Location:

{{ $product->production_location }}

Offer Valid Until:

{{ date('d/m/Y', strtotime($product->offer_valid)) }}

Preferred Supply Source:
@endsection @section('script') @endsection