@extends('layouts.app') @section('title') {{trans('general.payments')}} -@endsection @section('content')

{{trans('general.payments')}}

@if (request()->is('my/payments'))

{{trans('general.my_payments_subtitle')}}

@else

{{trans('general.my_payments_received_subtitle')}}

@endif
@include('includes.cards-settings')
@if ($transactions->count() != 0 && auth()->user()->verified_id == 'yes')
{{trans('general.filter_by')}}
@endif @if ($transactions->count()) @if (session('error_message'))
{{ trans('general.please_complete_all') }} {{ trans('general.billing_information') }}
@endif
@if (request()->is('my/payments')) @endif @if (request()->is('my/payments/received')) @endif @if (request()->is('my/payments')) @endif @foreach ($transactions as $transaction) @if (request()->is('my/payments')) @endif @if (request()->is('my/payments/received')) @endif @if (request()->is('my/payments')) @else {{trans('general.no_available')}} @endif @endif @endforeach
ID{{trans('general.paid_to')}} {{trans('general.payment_gateway')}}{{trans('admin.date')}} {{trans('admin.amount')}} {{trans('admin.type')}}{{trans('general.paid_by')}} {{trans('general.earnings')}}{{trans('admin.status')}} {{trans('general.invoice')}}
{{ str_pad($transaction->id, 4, "0", STR_PAD_LEFT) }}{{ $transaction->subscribed()->username ?? trans('general.no_available')}} {{ $transaction->payment_gateway }}{{ Helper::formatDate($transaction->created_at) }} {{ Helper::amountFormatDecimal($transaction->amount) }} {{ __('general.'.$transaction->type) }} @if (isset($transaction->gift->id) && request()->is('my/payments/received')) @endif {{ $transaction->user()->username ?? trans('general.no_available') }} {{ Helper::amountFormatDecimal($transaction->earning_net_user) }} @if ($transaction->percentage_applied) @endif @if ($transaction->approved == '1') {{trans('general.success')}} @elseif ($transaction->approved == '2') {{trans('general.canceled')}} @if (request()->is('my/payments/received')) @endif @else {{trans('general.pending')}} @endif @if ($transaction->approved == '1') {{trans('general.invoice')}}
@if ($transactions->hasPages()) {{ $transactions->onEachSide(0)->links() }} @endif @else
@if (request()->is('my/payments'))

{{trans('general.not_payment_made')}}

@else

{{trans('general.not_payment_received')}}

@endif
@endif
@endsection