@section('page-title') {{ $instructor->user->name }} Rates @endsection @section('page-description') Manage instructor lesson rates and pricing @endsection
@if ($errors->any())

Please fix the following errors

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@forelse($rates as $rate)

Lesson Type

{{ $rate->lessonType->lesson_type_code ?? 'N/A' }}

$ {{ number_format($rate->rate ?? 0, 2) }}

From Date

{{ $rate->from_date ? \Carbon\Carbon::parse($rate->from_date)->format('d M Y') : 'N/A' }}

To Date

{{ $rate->to_date ? \Carbon\Carbon::parse($rate->to_date)->format('d M Y') : 'N/A' }}

@csrf @method('DELETE')
@empty

No rates found

@endforelse
@if ($rates->hasPages())
{{ $rates->links() }}
@endif