From:
@if($orders->course_id != NULL)
{{ $orders->courses->user['fname'] }} {{ __('frontstaticword.address') }}: {{ $orders->courses->user['address'] }} @if($orders->courses->user->state_id == !NULL) {{ $orders->courses->user->state['name'] }}, @endif @if($orders->courses->user->country_id == !NULL) {{ $orders->courses->user->country['name'] }} @endif {{ __('frontstaticword.Phone') }}: {{ $orders->courses->user['mobile'] }} {{ __('frontstaticword.Email') }}: {{ $orders->courses->user['email'] }} @else {{ $orders->bundle->user['fname'] }} {{ __('frontstaticword.address') }}: {{ $orders->bundle->user['address'] }} @if($orders->bundle->user->state_id == !NULL) {{ $orders->bundle->user->state['name'] }}, @endif @if($orders->bundle->user->state_id == !NULL) {{ $orders->bundle->user->country['name'] }} @endif {{ __('frontstaticword.Phone') }}: {{ $orders->bundle->user['mobile'] }} {{ __('frontstaticword.Email') }}: {{ $orders->bundle->user['email'] }} @endif |
To:
{{ $orders->user['fname'] }} {{ __('frontstaticword.address') }}: {{ $orders->user['address'] }} @if($orders->user->state_id == !NULL) {{ $orders->user->state['name'] }}, @endif @if($orders->user->country_id == !NULL) {{ $orders->user->country['name'] }} @endif {{ __('frontstaticword.Phone') }}: {{ $orders->user['mobile'] }} {{ __('frontstaticword.Email') }}: {{ $orders->user['email'] }} |
{{ __('frontstaticword.OrderID') }}: {{ $orders['order_id'] }} {{ __('frontstaticword.TransactionID') }}: {{ $orders['transaction_id'] }} {{ __('frontstaticword.PaymentMode') }}: {{ $orders['payment_method'] }} {{ __('frontstaticword.Currency') }}: {{ $orders['currency'] }} {{ __('frontstaticword.PaymentStatus') }}: @if($orders->status ==1) {{ __('frontstaticword.Recieved') }} @else {{ __('frontstaticword.Pending') }} @endif |
---|
{{ __('frontstaticword.Courses') }} | {{ __('frontstaticword.Instructor') }} | {{ __('frontstaticword.Currency') }} | @if($orders->coupon_discount != 0)Coupon Discount | @endif{{ __('frontstaticword.Total') }} | ||
---|---|---|---|---|---|---|
{{ $orders->courses['title'] }} | {{ $orders->courses->user['email'] }} | @else{{ $orders->bundle['title'] }} | {{ $orders->bundle->user['email'] }} | @endif{{ $orders['currency'] }} | @if($orders->coupon_discount != 0)(-) {{ $orders['coupon_discount'] }} | @endif@if($orders->coupon_discount == !NULL) {{ $orders['total_amount'] - $orders['coupon_discount'] }} @else {{ $orders['total_amount'] }} @endif |