@extends(theme('layouts.dashboard_master')) @section('title') {{ Settings('site_title') ? Settings('site_title') : 'Infix LMS' }} | {{ _trans('gift.My Gifts') }} @endsection @section('css') @endsection @section('js') @endsection @section('mainContent')

{{ _trans('gift.Gift history') }}

@forelse ($gift_records as $gift_record) @php if(Auth::user()->id == $gift_record->gift_receiver_id && $gift_record->gift_status != 4){ continue; } @endphp @empty @endforelse
{{ _trans('common.SL') }} {{ _trans('gift.Product') }} {{ _trans('gift.Gift At') }} {{ _trans('gift.Gift From') }} {{ _trans('gift.Gift To') }} {{ _trans('gift.Gift Status') }} {{ _trans('gift.Gift Message') }}
{{ @$loop->iteration }} {{ @$gift_record->course->title }} {{date('D d M, h:i a',strtotime($gift_record->gift_send_time))}} {{ @$gift_record->sender->name }} {{ @$gift_record->receiver->name }} {{ @$gift_record->status }}
{{__('common.No data available in the table')}}
{{ @$gift_records->links() }}
@endsection