@extends('themes.basic.user.layouts.app') @section('title', translate('Transactions')) @section('breadcrumbs', Breadcrumbs::render('user.transactions')) @section('content') @if ($transactions->count() > 0 || request()->input('search') || request()->input('status') || request()->input('type'))
@forelse ($transactions as $trx) @empty @endforelse
{{ translate('ID') }} {{ translate('SubTotal') }} {{ translate('Tax') }} {{ translate('Fees') }} {{ translate('Total') }} {{ translate('Type') }} {{ translate('Status') }} {{ translate('Date') }} {{ translate('Action') }}
{{ $trx->id }} {{ getAmount($trx->amount) }} {{ getAmount($trx->hasTax() ? $trx->tax->amount : 0) }} {{ getAmount($trx->fees) }} {{ getAmount($trx->total) }} {{ $trx->getTypeName() }} @if ($trx->isPending())
{{ $trx->getStatusName() }}
@elseif($trx->isPaid())
{{ $trx->getStatusName() }}
@elseif($trx->isCancelled())
{{ $trx->getStatusName() }}
@endif
{{ dateFormat($trx->created_at) }}
@if ($trx->isPaid()) @endif
{{ translate('No data found') }}
{{ $transactions->links() }} @push('styles_libs') @endpush @push('scripts_libs') @endpush @else

{{ translate('You do not have any transactions') }}

{{ translate('You do not have any transactions currently, when you purchase new items transactions will show up here') }}

@endif @endsection