@extends('layouts.admin.app') @section('title',translate('Withdraw Request')) @push('css_or_js') @endpush @section('content')

{{ translate('Restaurant Withdraw Transaction') }}

{{ translate('Withdraw Request Table')}} {{$withdraw_req->total()}}
{{translate('messages.export')}}
{{-- --}} @foreach($withdraw_req as $k=>$wr) {{-- --}} @endforeach
{{ translate('messages.sl') }} {{translate('messages.amount')}}{{translate('messages.note')}}{{ translate('messages.restaurant') }} {{translate('messages.request_time')}} {{translate('messages.status')}} {{translate('messages.action')}}
{{$k+$withdraw_req->firstItem()}} {{$wr['amount']}}{{$wr->__action_note}} @if($wr->vendor && isset($wr->vendor->restaurants[0])) {{ Str::limit($wr->vendor?$wr->vendor->restaurants[0]->name:translate('messages.Restaurant deleted!'), 20, '...') }} @else {{translate('messages.Restaurant deleted!') }} @endif {{date('Y-m-d '.config('timeformat'),strtotime($wr->created_at))}}
@if($wr->approved==0) @elseif($wr->approved==1) @else @endif
@if($wr->vendor) @else {{translate('messages.restaurant').' '.translate('messages.deleted') }} @endif {{--{{translate('messages.Delete')}}
@csrf @method('delete')
--}}
@if(count($withdraw_req) === 0)
public
{{translate('no_data_found')}}
@endif
@endsection @push('script_2') @endpush