@extends('layouts.default') @push('title', get_phrase('Purchase History')) @push('meta')@endpush @push('css')@endpush @section('content')
@include('frontend.default.student.left_sidebar')

{{ get_phrase('Payment History') }}

@if ($payments->count() > 0)
@foreach ($payments as $payment) @endforeach
{{ get_phrase('Course Name') }} {{ get_phrase('Date') }} {{ get_phrase('Payment Method') }} {{ get_phrase('Price') }} {{ get_phrase('Invoice') }}
{{ $payment->course_title }} {{ date('Y-m-d', strtotime($payment->created_at)) }} {{ ucfirst($payment->payment_type) }} {{ currency($payment->amount) }}
@else
@include('frontend.default.empty')
@endif
@if (count($payments) > 0)
@endif
@endsection @push('js')@endpush