@php $highestFee = App\Models\TutorCanTeach::max('price'); $lowestFee = App\Models\TutorCanTeach::min('price'); $min_fee = request()->input('min_fee') ?? $lowestFee; $max_fee = request()->input('max_fee') ?? $highestFee; @endphp
@if (request()->has('search')) @endif
  • {{ get_phrase('Categories') }}

      @foreach($categories as $category)
    • has('category') && request()->input('category') == $category->slug) checked @endif>
    • @endforeach
  • {{ get_phrase('Subjects') }}

      @foreach($subjects as $subject)
    • has('subject') && request()->input('subject') == $subject->slug) checked @endif>
    • @endforeach
  • {{ get_phrase('Fee') }}

    {{ get_phrase('Min') }}: ${{ $lowestFee }}

    {{ get_phrase('Max') }}: ${{ $highestFee }}

  • {{ get_phrase('Ratings') }}

      @for ($i = 5; $i >= 1; $i--)
    • has('rating') && request()->input('rating') == $i) checked @endif />
    • @endfor
@push('js') @endpush