@extends('frontend.layout') @section('pageHeading') @if (!empty($pageHeading)) {{ $pageHeading ? $pageHeading->equipment_page_title : '' }} @endif @endsection @section('metaKeywords') @if (!empty($seoInfo)) {{ $seoInfo ? $seoInfo->meta_keyword_equipment : '' }} @endif @endsection @section('metaDescription') @if (!empty($seoInfo)) {{ $seoInfo->meta_description_equipment }} @endif @endsection @section('content') @includeIf('frontend.partials.breadcrumb', [ 'breadcrumb' => $bgImg->breadcrumb, 'title' => $pageHeading ? $pageHeading->equipment_page_title : '', ])
@if (count($allEquipment) == 0)

{{ __('No Equipment Found') . '!' }}

@else @foreach ($allEquipment as $equipment)
image @if (!empty($equipment->offer)) {{ $equipment->offer . '% ' . __('off') }} @endif
@php $position = $currencyInfo->base_currency_symbol_position; $symbol = $currencyInfo->base_currency_symbol; @endphp
{{ __('Price') }}
@if (!empty($equipment->lowest_price)) {{ __('Starts From') }} @endif
@if (!empty($equipment->lowest_price))

{{ $position == 'left' ? $symbol : '' }}{{ $equipment->lowest_price }}{{ $position == 'right' ? $symbol : '' }}

@endif

{{ strlen($equipment->title) > 25 ? mb_substr($equipment->title, 0, 25, 'UTF-8') . '...' : $equipment->title }}

@if ($equipment->vendor) {{ __('By') }} {{ $vendor = optional($equipment->vendor)->username }} @else {{ __('By') }} {{ __('Admin') }} @endif
@if (!empty($equipment->per_day_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_day_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Day') }} @endif @if (!empty($equipment->per_week_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_week_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Week') }} @endif @if (!empty($equipment->per_month_price)) {{ $position == 'left' ? $symbol : '' }}{{ $equipment->per_month_price }}{{ $position == 'right' ? $symbol : '' }}{{ '/' . __('Month') }} @endif
    @php $features = explode(PHP_EOL, $equipment->features); @endphp @foreach ($features as $feature) @if ($loop->iteration <= 4)
  • {{ $feature }}
  • @endif @endforeach
{{ number_format($equipment->avgRating, 2) }} ({{ $equipment->ratingCount . ' ' . __('rating') }})
{{ __('View') }}
@endforeach {{ $allEquipment->appends([ 'keyword' => request()->input('keyword'), 'sort' => request()->input('sort'), 'category' => request()->input('category'), 'min' => request()->input('min'), 'max' => request()->input('max'), 'dates' => request()->input('dates'), ])->links() }} @endif
{!! showAd(3) !!}
@endsection @section('script') @endsection