@extends('panel.layout.app') @section('title', __('Bank Transactions')) @section('content') @php $currencySymbol = currency()->symbol; @endphp
{{ __('Order ID') }} {{ __('Proof Of Purchase') }} {{ __('Status') }} {{ __('Date') }} {{ __('Info') }} {{ __('Plan') }} / {{ __('Words') }} / {{ __('Images') }} {{ __('Actions') }} @foreach ($bankOrders as $order) {{ __($order->order_id) }}
{{ $order->created_at }} Proof of Purchase @php $badge_type = 'primary'; switch ($order->status) { case 'Waiting': $badge_type = 'secondary'; break; case 'Approved': $badge_type = 'success'; break; case 'Rejected': $badge_type = 'warning'; break; default: $badge_type = 'danger'; break; } @endphp {{ __($order->status) }}

{{ date('j.n.Y', strtotime($order->created_at)) }} {{ date('H:i:s', strtotime($order->created_at)) }}

{{ $order->user->fullName() }}
{{ __($order->type) }} / {{ $order->type == 'subscription' ? __(formatCamelCase(@$order->plan->frequency)) : __('One Time') }}
{{ __('Total') }} : @if (currencyShouldDisplayOnRight($currencySymbol)) {{ $order->price }}{{ $currencySymbol }} @else {{ $currencySymbol }}{{ $order->price }} @endif {{ @$order->plan->name ?? __('Archived Plan') }} / {{ @$order->plan->total_words === '-1' ? __('Unlimited') : @$order->plan->total_words ?? '-' }} / {{ @$order->plan->total_images === '-1' ? __('Unlimited') : @$order->plan->total_images ?? '-' }}
@if ($order->user)

{{ __('User:') }} {{ $order->user->name }}

{{ __('Email:') }} {{ $order->user->email }}

@endif @if ($order->plan)

{{ __('Plan name:') }} {{ $order->plan->name }}

{{ __('Plan price:') }} {{ $currencySymbol }}{{ $order->plan->price }}

@endif

{{ __('Tax Rate:') }} {{ $order->tax_rate }}%

{{ __('Tax:') }} {{ $currencySymbol }}{{ $order->tax_value }}

{{ __('Total:') }} {{ $currencySymbol }}{{ $order->price }}

@if ($app_is_demo) @else @if ($order->role != 'default')
@csrf
{{ __('Cancel') }} {{ __('Save Changes') }}
@endif @endif @endforeach
@endsection