Order Summary
Customer name
Cancel Order Date
Cancel Order Total
REFUND Transcation ID /REF. ID
@php
$realamount =
round($order->singleorder->qty*$order->singleorder->price+$order->singleorder->tax_amount+$order->singleorder->shipping,2);
@endphp
{{ $user = App\User::find($order->order->user_id)->name }}
{{ date('d-m-Y @ h:i A',strtotime($order->created_at)) }}
Order Total: {{ $realamount }}
@if($order->order->handlingcharge != 0)
Handling Charge :
{{ $order->singleorder->handlingcharge }}
@endif
@if($order->amount != $realamount)
Refunded Amount : {{$order->amount}}
@endif
{{ $order->transaction_id }}
REFUND METHOD:
@if($order->order->payment_method !='COD' && $order->method_choosen != 'bank')
{{ ucfirst($order->method_choosen) }} ({{ $order->order->payment_method }})
@elseif($order->method_choosen == 'bank')
{{ ucfirst($order->method_choosen) }}
@else
No Need for COD Orders
@endif
Cancelation Reason:
{{ $order->comment }}
@if($order->method_choosen == 'bank')
@php
$bank = App\Userbank::where('id','=',$order->bank_id)->first();
@endphp
@if(isset($bank))
A/C Holder Name: {{$bank->acname}}
Bank Name: {{ $bank->bankname }}
Account No: {{ $bank->acno }}
IFSC Code: {{ $bank->ifsc }}
@else
User Deleted bank ac
@endif
@endif
@if($order->order->discount != 0)
@if($order->order->distype == 'product')
@if(isset($cpn) && $cpn->pro_id == $order->singleOrder->variant->products->id)
Customer Apply {{ $order->order->coupon }} on this order.
@endif
@elseif($order->order->distype == 'category')
Customer Apply {{ $order->order->coupon }} on this order hence refund amount total is
different.
@elseif($order->order->distype == 'cart')
Customer Apply {{ $order->order->coupon }} on this order hence refund amount total is
different.
@endif
@endif
Items
@php
$inv = $order->singleorder;
$orivar = $order->singleorder->variant;
if(isset($orivar)){
$varcount = count($orivar->main_attr_value);
}
$i=0;
@endphp
@if(isset($orivar))
@if($orivar->variantimages)
}})
@else
 }})
@endif
@if($order->order->discount != 0)
@if($order->order->distype == 'product')
@if(isset($cpn) && $cpn->pro_id == $inv->variant->products->id)
{{ round($realamount-$order->order->discount,2) }}
{{ $realamount }}
@else
{{ $realamount }}
@endif
@elseif($order->order->distype == 'category')
@elseif($order->order->distype == 'cart')
{{ round($realamount-$order->singleOrder->discount,2) }}
{{ $realamount }}
@endif
@else
{{ $realamount }}
@endif
@endif