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

@lang('trans.reports')

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