@if($store)
@if($store->orders) @foreach ($store->orders as $order) @if($order->status != 'waiting') @endif @endforeach @endif {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
# {{ t_('date') }} {{ t_('order price') }} {{ t_('our commission') }} {{ t_('amount deserved') }} {{ t_('status') }}
{{ $loop->iteration }} {{ dates($order->created_at) }} {{ $order->total.' '.t_('R.S') }} %{{ $order->total == 0? 0 : ($order->total - $order->settlement) / $order->total * 100 }} {{ $order->settlement.' '.t_('R.S') }} transaction?->settlement?->status != 'waiting'? 'checked disabled' : '' }} >
{{__('total')}}{{ $presenters->sum('creditor') + $presenters->sum('debtor')}} {{__('rs')}}
{{__('total can pull')}}{{ $presenters->where('status','current')?->sum('creditor') - $presenters->where('status','current')?->sum('debtor')}} {{__('rs')}}
{{__('total hold')}}{{ $presenters->where('status','waiting')?->sum('creditor') - $presenters->where('status','waiting')?->sum('debtor')}} {{__('rs')}}
@else
لا يوجد نتائج
@endif