@extends('admin.layouts.master') @section('title') {{ translate('Payments - List') }} @endsection @section('content')
{{ translate('Order Lists') }}
{{ formatCurrency($totalPayment, $currency) }}

{{ translate('Total Payment') }}

{{ translate('Package') }}

{{ translate('Monthly Payments') }}
{{ formatCurrency($paymentThisMonth, $currency) }}

{{ translate('Payment this month') }}

{{ formatCurrency($paymentLastMonth, $currency) }}

{{ translate('Payment last month') }}

{{ formatCurrency($paymentThisYear, $currency) }}

{{ translate('Payment this year') }}

{{ formatCurrency($paymentLastYear, $currency) }}

{{ translate('Payment last year') }}

{{--
--}}
@if($permissionForPayments !== null && $permissionForPayments->can_create == '1') {{ translate('Add Order') }} @endif
{{-- --}} @php $a=1; @endphp @foreach ($orders as $order) {{-- --}} @php $a++; @endphp @endforeach
# {{ translate('Member Name') }} {{ translate('Package') }} {{ translate('Payment Method') }} {{ translate('Amount') }} {{ translate('Payment Status') }}Payment Code{{ translate('Purchase Date') }} {{ translate('Action') }}
{{$a}} {{$order->user->name}} {{$order->package->name}} {{$order->payment_method}} {{ formatCurrency($order->amount, $currency) }} {{ $order->payment_status == 1 ? 'Paid' : 'Unpaid' }} 2312-321323 {{ formatDate($order->created_at) }} @if($permissionForPayments !== null && $permissionForPayments->can_edit == '1') @endif

{!! sprintf(translate('Showing %d of %d Results'), $orders->count(), $orders->total()) !!}

{{--

Showing {{ $orders->count() }} of {{ $orders->total() }} Results

--}}
    @foreach($orders->links()->elements[0] as $page => $link)
  • {{ $page }}
  • @endforeach
@endsection @section('scripts') @if(session('success')) @endif {{-- --}} @endsection