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)) }}
{{ $realamount }}
@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
@php
$inv = $order->singleorder;
$orivar = $order->singleorder->variant;
if(isset($orivar)){
$varcount = count($orivar->main_attr_value);
}
$i=0;
@endphp