@extends('layouts.back-end.app') @section('title',\App\CPU\translate('refund_transactions')) @section('content')

{{ \App\CPU\translate('transaction_report')}}

@include('admin-views.report.transaction-report-inline-menu')

{{ \App\CPU\translate('total_transaction')}} {{$refund_transactions->total()}}

@foreach ($refund_transactions as $key=>$refund_transaction) @endforeach
{{\App\CPU\translate('SL')}} {{\App\CPU\translate('product')}} {{\App\CPU\translate('refund_id')}} {{\App\CPU\translate('order_id')}} {{\App\CPU\translate('shop_name')}} {{ \App\CPU\translate('payment_method') }} {{\App\CPU\translate('payment_status')}} {{\App\CPU\translate('paid_by')}} {{\App\CPU\translate('amount')}} {{\App\CPU\translate('transaction_type')}}
{{$refund_transactions->firstItem()+$key}} @if($refund_transaction->order_details->product) {{ isset($refund_transaction->order_details->product->name) ? \Illuminate\Support\Str::limit($refund_transaction->order_details->product->name, 20) : '' }} @else {{\App\CPU\translate('not_found')}} @endif @if ($refund_transaction->refund_id) {{$refund_transaction->refund_id}} @else {{\App\CPU\translate('not_found')}} @endif {{$refund_transaction->order_id}} @if($refund_transaction->order->seller_is == 'seller' && $refund_transaction->order->seller) {{ $refund_transaction->order->seller->shop->name }} @else {{\App\CPU\translate('inhouse')}} @endif {{\App\CPU\translate(str_replace('_',' ',$refund_transaction->payment_method))}} {{\App\CPU\translate(str_replace('_',' ',$refund_transaction->payment_status))}} {{\App\CPU\translate($refund_transaction->paid_by)}} {{\App\CPU\Helpers::currency_converter($refund_transaction->amount)}} {{\App\CPU\translate($refund_transaction->transaction_type == 'Refund' ? 'refunded' : str_replace('_',' ',$refund_transaction->transaction_type))}}
@if(count($refund_transactions)==0)
Image Description

{{ \App\CPU\translate('No_data_to_show')}}

@endif
{{$refund_transactions->links()}}
@endsection