@extends('admin.layouts.app') @section('content')

{{ $pageTitle }}

@foreach($orders as $order) @endforeach
{{ trans('admin/main.user') }} {{ trans('update.installment_plan') }} {{ trans('update.product') }} {{ trans('admin/main.amount') }} {{ trans('update.overdue_date') }} {{ trans('admin/main.actions') }}
{{ $order->user->full_name }}
{{ $order->user->full_name }}
@if($order->user->mobile)
{{ $order->user->mobile }}
@endif @if($order->user->email)
{{ $order->user->email }}
@endif
{{ $order->selectedInstallment->installment->title }} {{ trans('update.target_types_'.$order->selectedInstallment->installment->target_type) }}
@if(!empty($order->webinar_id)) #{{ $order->webinar_id }}-{{ !empty($order->webinar) ? $order->webinar->title : '' }} {{ trans('update.target_types_courses') }} @elseif(!empty($order->bundle_id)) #{{ $order->bundle_id }}-{{ !empty($order->bundle) ? $order->bundle->title : '' }} {{ trans('update.target_types_bundles') }} @elseif(!empty($order->product_id)) #{{ $order->product_id }}-{{ !empty($order->product) ? $order->product->title : '' }} {{ trans('update.target_types_store_products') }} @elseif(!empty($order->subscribe_id)) {{ trans('admin/main.purchased_subscribe') }} {{ trans('update.target_types_subscription_packages') }} @elseif(!empty($order->registration_package_id)) {{ trans('update.purchased_registration_package') }} {{ trans('update.target_types_registration_packages') }} @else --- @endif @if($order->amount_type == 'percent') {{ $order->amount }}% ({{ handlePrice(($order->getItemPrice() * $order->amount) / 100) }}) @else {{ handlePrice($order->amount) }} @endif {{ dateTimeFormat($order->overdue_date, 'j M Y') }} ({{ dateTimeFormatForHumans($order->overdue_date,true,null,1) }})
@endsection