@extends('backend.layouts.app') @section('title') {{ __('orders') }} @endsection @section('content')

{{ __('orders') }}

{{ __('create') }} @if (request('company') || request('provider') || request('plan') || request('sort_by')) @endif
@if (userCan('order.download')) @endif @forelse ($orders as $order) @if(isset($order->company->id)) @endif @empty @endforelse
{{ __('order_and_transaction') }} {{ __('company') }} {{ __('plan') }} {{ __('amount') }} {{ __('payment_method') }} {{ __('created_time') }} {{ __('payment_status') }}{{ __('action') }}

#{{ $order->order_id }}

{{ __('transaction') }}: {{ $order->transaction_id }}

logo

{{ $order->company->user->name }}

{{ $order->company->user->email }}

@if ($order->payment_type == 'per_job_based') {{ ucfirst(Str::replace('_', ' ', $order->payment_type)) }} @else {{ $order->plan->label }} @endif {{ currencyPosition( currencyConversion($order->usd_amount, config('templatecookie.currency', 'USD')) ,false, $current_currency ) }} @if ($order->payment_provider == 'offline') {{ __('offline') }} @if (isset($order->manualPayment) && isset($order->manualPayment->name)) ({{ $order->manualPayment->name }}) @endif @else {{ ucfirst($order->payment_provider) }} @endif {{ formatTime($order->created_at, 'M d, Y') }} @if ($order->payment_status == 'paid') {{ __('paid') }} @else {{ __('unpaid') }}

@endif
{{ __('view_details') }} @if (userCan('order.download'))
@csrf
@endif @if (userCan('order.download'))
@csrf
@endif
@if ($orders->total() > $orders->count())
{{ $orders->links() }}
@endif
@endsection