@extends('layouts.admin.app') @section('title',translate('messages.Delivery Man Preview')) @push('css_or_js') @endpush @section('content')
{{ translate('messages.order')}} {{ translate('messages.transactions')}}
@php($digital_transaction = \App\Models\OrderTransaction::where('delivery_man_id', $dm->id) ->when($date, function($query)use($date){ return $query->whereDate('created_at', $date); })->paginate(25)) @foreach($digital_transaction as $k=>$dt) @endforeach
{{ translate('messages.sl') }} {{translate('messages.order')}} {{translate('messages.id')}} {{translate('messages.delivery_fee')}} {{translate('messages.earned')}} {{translate('messages.date')}}
{{$k+$digital_transaction->firstItem()}} {{$dt->order_id}} {{$dt->original_delivery_charge}} {{$dt->created_at->format('Y-m-d')}}
@if(!$digital_transaction)
public
{{translate('no_data_found')}}
@endif
{{--
1-15 of 380
--}}
{!!$digital_transaction->links()!!}
@endsection @push('script_2') @endpush