@extends('layouts.admin') @section('page-title') {{__('Orders')}} @endsection @section('breadcrumb')
{{__('Order Id')}} | {{__('Name')}} | {{__('Plan Name')}} | {{__('Price')}} | {{__('Status')}} | {{__('Payment Type')}} | {{__('Date')}} | {{__('Coupon')}} | {{__('Invoice')}} |
---|---|---|---|---|---|---|---|---|
{{$order->order_id}} | {{$order->user_name}} | {{$order->plan_name}} | $ {{number_format($order->price)}} | @if($order->payment_status == 'succeeded') {{ucfirst($order->payment_status)}} @else {{ucfirst($order->payment_status)}} @endif | {{$order->payment_type}} | {{$order->created_at->format('d M Y')}} | {{!empty($order->use_coupon)?$order->use_coupon->coupon_detail->name:'-'}} |
@if(empty($order->receipt))
{{__('Manually plan upgraded by Super Admin')}} @elseif($order->receipt =='free coupon'){{__('Used 100 % discount coupon code.')}} @else {{__('Invoice')}} @endif |