@extends('frontend::layouts.master') @section('content')

{{__('frontend.pay_per_view_transactions')}}

@if($payPerViews->isEmpty()) @else @foreach($payPerViews as $ppv) @endforeach @endif
{{__('frontend.date')}} {{__('frontend.content')}} {{__('frontend.type')}} {{__('frontend.expiry_date')}} {{__('frontend.price')}} {{__('frontend.discount')}} {{__('frontend.total')}}
{{ __('frontend.pay_per_view_history_not_found') }}
{{ \Carbon\Carbon::parse($ppv->created_at)->format('d/m/Y') }} @if($ppv->type == 'movie') {{ $ppv->movie->name ?? '-' }} @elseif($ppv->type == 'episode') {{ $ppv->episode->name ?? '-' }} @elseif($ppv->type == 'video') {{ $ppv->video->name ?? '-' }} @else - @endif {{ ucfirst($ppv->type) }} {{ \Carbon\Carbon::parse($ppv->view_expiry_date)->format('d/m/Y') }} {{ Currency::format($ppv->content_price) }} {{ $ppv->discount_percentage }}% {{ Currency::format($ppv->price) }}
@endsection