@extends("admin.template.layout") @section("header") @stop @section('content')

@if($chefDetails) Vendor: {{$chefDetails->first_name.' '.$chefDetails->last_name}} @endif

@if($chefDetails) @endif
@php $allStatus = config('global.withdraw_status') @endphp @foreach($allStatus as $key => $val) @if($key !=2) @endif @endforeach @foreach($allStatus as $key => $val) @if($key !=2) @endif @endforeach
Total Delivered Orders Total Delivered Order Amount Total ShareTotal {{$val}}
@if($orders) {{$orders->count}} @else 0 @endif @if($orders) {{number_format($orders->sum,2)}} @else 0 @endif {{number_format($total,2)}} @if(array_key_exists($key,$payStatus)) {{number_format($payStatus[$key],2)}} @else 0 @endif
{{--
--}} @if(!$chef_id)
@endif
@if($chef_id) @endif
# Order ID Customer Vendor Grand Total Admin Share Vendor Share Payment Method Status Created At Action
@endsection @section('script') @endsection