@extends('layouts.admin') @section('styles') @endsection @section('content')
@include('includes.admin.form-both')

{{$start_date != '' ? $start_date->format('d-m-Y') : ''}} {{$start_date != '' && $end_date != '' ? 'To' : ''}} {{$end_date != '' ? $end_date->format('d-m-Y') : ''}} {{__('Total Earning')}} : {{$total}}

Current Month Earning : {{$current_month}}

Last 30 Days Earning : {{$last_30_days}}

@include('includes.admin.form-success')
@foreach ($orders as $key => $order) @endforeach
{{ __('#') }} {{ __('Order Number') }} {{ __('Txn ID') }} {{ __('Tax') }} {{ __('Tax Location') }} {{ __('Created At') }}
{{$key+1}} {{$order->order_number}} {{$order->txnId}} {{$order->currency_sign}}{{round($order->tax * $order->currency_value,2)}} {{$order->tax_location}} {{$order->created_at->format('d-m-Y')}}
@endsection @section('scripts') @endsection