@extends('administrator.layout') @section('admintitle', 'Home') @section('content')

{{ __('text.total') }} {{ __('text.product') }}

{{$totalProductCount}}

{{ __('text.total') }} {{ __('text.customer') }}

{{$totalCustomer}}

{{ __('text.total') }} {{ __('text.order') }}

{{$totalOrder}}

{{ __('text.total') }} {{ __('text.earning') }}

{{$totalEarnig}}
@forelse($orders as $index=> $order) @empty @endforelse
Sno. {{ __('text.date') }} {{ __('text.invoice') }} {{ __('text.customer') }} {{ __('text.amount') }} {{ __('text.status') }} {{ __('text.action') }}
{{ $index+1 }} {{ $order->date_added }} {{ $order->invoice_id }} {{ $order->first_name }} {{ $order->last_name }} {{ $symbol }}{{ $order->price }} @if($order->status==1) {{ __('text.complete') }} @else {{ __('text.pending') }} @endif {{ __('text.detail') }}
{{ __('text.no_records_found') }}
@endsection