@php $advert_type_id = $advert['advert_type']; $prod_typeid = $advert['prodsvc_id']; @endphp @foreach($advert['details'] as $key => $detail)
{{ $detail['feed_type_des'] }}
@if(isset($detail['dist_des']))
{{ $detail['dist_des'] }}
@endif @if($advert_type_id != 'BUYER')
{{-- bladeViewValue($model , $id , $value , $column) --}}
@endif
@php if(isset($detail['sold_status_des'])){ $status_description = $detail['sold_status_des']; }else{ $status_description = $detail['purch_status_des']; } @endphp
{{ $status_description }}
{{ $detail['qty_kg'] }}
@if(isset($detail['price_perkg']))
@php $price = ($detail['price_perkg'] == '0.00') ? 'Not given' : number_format($detail['price_perkg'],2); @endphp
{{ $price }}
@endif
@if(isset($detail['havested'])) @if($detail['havested'] == 1) Havest / @endif @if($detail['chopped'] == 1) Chop / @endif @if($detail['loaded'] == 1) Load / @endif @if($detail['transported'] == 1) Transport @endif @endif
{{ $detail['comments'] }}
@if(isset($detail['harvested_date']))
{{ $detail['harvested_date'] }}
@endif @if(isset($detail['expected_date']))
{{ $detail['expected_date'] }}
@endif
@if($advert_type_id == 'SELLER') @if(!empty($detail['image_path']))
@foreach($detail['image_path'] as $imageview) @endforeach
@endif @endif
@endforeach