Order Summary
Customer name
Cancel Order Date
Cancel Order Total
REFUND Transcation ID /REF. ID
@php
$realamount = $fcorder->getorderinfo->order_total;
@endphp
{{ $user = App\User::find($fcorder->getorderinfo->user_id)->name }}
{{ date('d-m-Y @ h:i A',strtotime($fcorder->created_at)) }}
Order Total : {{ $realamount }}
@if($fcorder->getorderinfo->handlingcharge != 0)
Handling Charge : {{ $fcorder->getorderinfo->handlingcharge }}
@endif
@if($fcorder->amount != $realamount)
Refunded Amount : {{$fcorder->amount}}
@endif
{{ $fcorder->txn_id }}
REFUND Method:
@if($fcorder->getorderinfo->payment_method !='COD' && $fcorder->method_choosen != 'bank')
{{ ucfirst($fcorder->method_choosen) }} ({{ $fcorder->getorderinfo->payment_method }})
@elseif($fcorder->method_choosen == 'bank')
{{ ucfirst($fcorder->method_choosen) }}
@else
No Need for COD Orders
@endif
Cancelation Reason:
{{ $fcorder->comment }}
@if($fcorder->getorderinfo->discount !=0)
Customer Apply {{ $fcorder->getorderinfo->coupon }} on this order.
@endif
Items ({{ count($fcorder->inv_id) }})
@if(is_array($fcorder->inv_id))
@foreach($fcorder->inv_id as $invEx)
@php
$inv = App\InvoiceDownload::findorfail($invEx);
$orivar = App\AddSubVariant::withTrashed()->findorfail($inv->variant_id);
$varcount = count($orivar->main_attr_value);
$i=0;
@endphp
@if($fcorder->getorderinfo->discount != 0)
@if($fcorder->getorderinfo->distype == 'product')
@if($inv->discount !=0 || $inv->discount !='')
{{ ($inv->price*$inv->qty+$inv->tax_amount+$inv->shipping)-$fcorder->getorderinfo->discount }}
{{ $inv->price*$inv->qty+$inv->tax_amount+$inv->shipping }}
@else
{{ $inv->price*$inv->qty+$inv->tax_amount+$inv->shipping }}
@endif
@elseif($fcorder->getorderinfo->distype == 'cart')
{{ ($inv->price*$inv->qty+$inv->tax_amount+$inv->shipping)-$inv->discount }}
{{ $inv->price*$inv->qty+$inv->tax_amount+$inv->shipping }}
@elseif($fcorder->getorderinfo->distype == 'category')
@if($inv->discount !=0 || $inv->discount !='')
{{ ($inv->price*$inv->qty+$inv->tax_amount+$inv->shipping)-$inv->discount }}
{{ $inv->price*$inv->qty+$inv->tax_amount+$inv->shipping }}
@else
{{ ($inv->price*$inv->qty+$inv->tax_amount+$inv->shipping)-$inv->discount }}
@endif
@endif
@else
{{ $inv->price*$inv->qty+$inv->tax_amount+$inv->shipping }}
@endif
@csrf
@endforeach
@endif