@extends('Admin.layout') @section('content')

@lang('trans.reports')

@if (count($orders) > 0)
@csrf
@endif @php($total = 0)

@lang('trans.orders')

@if(count($orders) > 0) @foreach($orders as $key => $order) @php($total += $order['net_total']) @endforeach @else @endif
# @lang('trans.orderNo') @lang('trans.client') @lang('trans.phone') @lang('trans.netTotal') @lang('trans.paymentMethod') @lang('trans.time')
{{ $loop->iteration }} {{ $order['id'] }} {{ $order->client?->name }} {{ $order->client?->phone }} {{ $order['net_total'] }} {{ Country()->currancy_code }}{{ $order->PaymentMethod['title_' . app()->getLocale()] }} {{ $order['created_at'] }}
@lang('trans.noElements')
@lang('trans.netTotal'): {{ $total }} {{ Country()->currancy_code }}
@endsection