@if (count($orders) > 0) @foreach ($orders as $order) {{ @$order->id }} {{ @$order->plan->title }} {{ @$order->name }} {{ @$order->email }} {{ @$order->country->currency }} {{ @$order->amount }} @if (@$order->status == "unpaid") {{ @$order->status }} @else {{ @$order->status }} @endif @php $orderURL = null; $orderID = Crypt::encryptString(@$order->id); if($orderID){ $orderURL = env('WEB_SITE_URL', 'https://www.gradding.com/') . 'payment/checkoutPayment/' . $orderID; } @endphp @can('order.copy') @if (!empty(@$order->plan->whatsapp_template_name)) @endif @else @endcan
@can('order.edit') @if (@$order->status == 'unpaid') edit @endif @endcan
@endforeach @else No Order Found! @endif