@include('site.header')
@foreach ($products as $row)
@php $url_slug = '/store/' . Str::slug($row->company->city); $url_slug = $url_slug . '/' . Str::slug($row->company->company_name); $company_id = $row->company->user_id; $url_slug = $url_slug . '-' . $company_id; $totalYears = null; if ($row->company->year_of_establishment) { $currentYear = date('Y'); $totalYears = $currentYear - $row->company->year_of_establishment; } $businessType = str_replace( ['[', ']', '"'], '', $row->company->nature_of_business, ); @endphp
@if ($totalYears) {{ $totalYears > 0 ? $totalYears . ' years' : ' ' }} @endif
Business Type: {{ $businessType }}
{{ $row->company->company_name }}
{{ $row->company->city }}
@if ($row->price) Rs {{ $row->price }} @endif
whatsapp enquiry
@endforeach
@include('site.footer')