{{-- Page Title --}} @lang('store::app.customers.account.downloadable-products.name') {{-- Breadcrumbs --}} @section('breadcrumbs') @endSection

@lang('store::app.customers.account.downloadable-products.name')

{!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.before') !!} @if (! $downloadableLinkPurchased->isEmpty()) {{-- Downloadable Products Information --}}
@foreach ($downloadableLinkPurchased as $item) @endforeach
@lang('store::app.customers.account.downloadable-products.orderId') @lang('store::app.customers.account.downloadable-products.title') @lang('store::app.customers.account.downloadable-products.date') @lang('store::app.customers.account.downloadable-products.status') @lang('store::app.customers.account.downloadable-products.remaining-downloads')
{{ $item->order_id }} @if ($item->status == 'available') {{ $item->product_name }} @else {{ $item->product_name }} @endif {{ $item->created_at }} @switch($item->status) @case('completed') {{ $item->status }} @break @case('pending') {{ $item->status }} @break @case('available') {{ $item->status }} @break @endswitch {{ $item->download_bought }} - {{ $item->download_used }}

{{ $downloadableLinkPurchased->count() }} @lang('store::app.customers.account.downloadable-products.records-found')

@else {{-- Downloadable Empty page --}}

@lang('store::app.customers.account.downloadable-products.empty-product')

@endif {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.after') !!}