@extends('layouts.backend') @section('css_before') @endsection @section('js_after') @endsection @section('content')

View All {{$pageTitle}}

{{--

Plugin Example

This page showcases how easily you can add a plugin’s JS/CSS assets and init it using custom JS code.

--}}

{{$pageTitle}} Report Table

{{-- --}}
@if ($message = Session::get('success'))
{{ $message }}
@endif @php($i=0) @foreach($order->cursor() as $singleOrder) @endforeach
# Invoice No. Ordered By Ordered On Product Count/Qty Purchase Price Sold Price Profit
{{++$i}} {{ $singleOrder->invoice_no }} {{ $singleOrder->name }}
{{ $singleOrder->mobile }}
{{ $singleOrder->created_date }} {{$singleOrder->total_product}}/{{$singleOrder->total_qty}} {{$singleOrder->total_price}} {{$singleOrder->total_purchase_price}} {{$singleOrder->total_profit}}
Total {{$order->sum('total_product')}}/{{$order->sum('total_qty')}} {{$order->sum('total_price')}} {{$order->get()->sum('total_purchase_price')}} {{$order->get()->sum('total_profit')}}
@endsection