@extends('layouts.back-end.app') @section('title', translate('Withdraw information View')) @section('content')

{{translate('withdraw')}}

{{translate('vendor_withdraw_information')}}

{{translate('amount').':'.' '}}
{{ setCurrencySymbol(amount: usdToDefaultCurrency(amount: $withdrawRequest->amount), currencyCode: getCurrencyCode(type: 'default')) }}
{{translate('request_time').':'.' '}}
{{$withdrawRequest->created_at}}
{{translate('note').':'.' '}}
{{$withdrawRequest->transaction_note}}
@if ($withdrawRequest->approved == 0) @else
@endif
@if($withdrawalMethod) @php($withdrawalMethod = is_array($withdrawalMethod) ? $withdrawalMethod : (is_object($withdrawalMethod) ? (array) $withdrawalMethod : json_decode($withdrawalMethod, true)))

{{ $withdrawalMethod['method_name'].' '.' '.translate('info')}}

@foreach($withdrawalMethod as $key => $method)
{{ ucwords(str_replace('_',' ',$key)).' '.':' }}
{{ $method }}
@endforeach
@else

{{translate('my_bank_info')}}

{{translate('bank_name').' '.':'.' '}}

{{$withdrawRequest?->seller->bank_name ?? translate('no_data_found')}}

{{translate('branch').' '.':'.' '}}
{{$withdrawRequest?->seller->branch ?? translate('no_data_found')}}
{{translate('holder_name').' '.':'.' '}}
{{$withdrawRequest?->seller->holder_name ?? translate('no_data_found')}}
{{translate('account_no').' '.':'.' '}}
{{$withdrawRequest?->seller->account_no ?? translate('no_data_found')}}
@endif @if($withdrawRequest->seller->shop)

{{translate('shop_info')}}

{{translate('vendor').' '.':'.' '}}
{{$withdrawRequest->seller->shop->name}}
{{translate('phone').' '.':'.' '}}
{{$withdrawRequest->seller->shop->contact}}
{{translate('address').' '.':'.' '}}
{{$withdrawRequest->seller->shop->address}}
@endif

{{translate('vendor_info')}}

{{translate('name').' '.':'}}
{{$withdrawRequest->seller->f_name.' '.$withdrawRequest->seller->l_name}}
{{translate('email').' '.':'}}
{{$withdrawRequest->seller->email}}
{{translate('phone').' '.':'}}
{{$withdrawRequest->seller->phone}}
@endsection